Skip to content

Instantly share code, notes, and snippets.

Linux Trivia Questions

  1. What command is used to view permissions in a "long listing" format?
    • A. ls -a
    • B. ls -l
    • C. ls -h
    • Correct Answer: B. ls -l
  2. What is the numeric value for the write permission in octal (numeric) mode?
  1. What does the pwd command stand for in Linux?
  • A) password
  • B) print working directory
  • C) pass user directory

Correct Answer: B) print working directory

  1. Which command is used to view the contents of a file one screen at a time, making it ideal for large files?
  • A) cat