Linux Directories and Commands Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Under which directory would you expect to find nonessential program files?

  • /sbin
  • /boot
  • /usr (correct)
  • /bin

Under which directory would you expect to find log files?

  • /usr
  • /run
  • /var (correct)
  • /proc

Which of the following directories would typically not be mounted on its own dedicated device?

  • /boot
  • /usr
  • /home
  • /etc (correct)

Which of the following commands would give the most accurate overview of mounted disk devices (without showing much information about mounted system devices as well)?

<p>df -hT (C)</p> Signup and view all the answers

Which command enables you to show all files in the current directory so that the newest files are listed last?

<p>ls -lrt (C)</p> Signup and view all the answers

Flashcards are hidden until you start studying

Study Notes

File System Organization

  • Nonessential program files are typically found in the /usr/share directory.
  • Log files are typically found in the /var/log directory.

Mounted Disk Devices

  • The /var directory would typically not be mounted on its own dedicated device.
  • The df command provides the most accurate overview of mounted disk devices, excluding mounted system devices.
  • The ls -r command is used to list all files in the current directory, with the newest files listed last.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

Use Quizgecko on...
Browser
Browser