Lab: Linux - Explore Directory Structure for Cyber

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

This set of flashcards covers essential concepts from the lecture on the Linux directory structure, focusing on commands, directories, file types, and their functions within the Linux operating system.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

What is the Linux Foundation's Filesystem Hierarchy Standard (FHS)?

It defines a standard set of directories, subdirectories, and files that every Linux system should have, increasing compatibility between systems.

2
New cards

What does the command 'pwd' stand for?

'pwd' stands for 'print working directory', displaying the current directory path in the command line.

3
New cards

What is the significance of the root directory in Linux?

The root directory, denoted as '/', is the topmost level of the Linux directory structure from which all other directories branch off.

4
New cards

What are the three types of Linux files?

  1. General Files, 2. Directory Files, 3. Device Files.
5
New cards

What does the command 'ls -al' do?

Lists all files and directories, including hidden ones, in long format with details such as permissions, ownership, and file sizes.

6
New cards

What color represents directories in Linux?

Blue represents directories.

7
New cards

What is stored in the /etc directory?

Configuration files used by all system programs, which control the behavior of the operating system and applications.

8
New cards

What is the /bin directory used for?

It stores binary executables for basic commands that any user can launch.

9
New cards

What is the difference between the /sbin and /bin directories?

/sbin stores system binaries that can only be run by a privileged user, while /bin stores binaries that any user can execute.

10
New cards

What purpose does the /var directory serve?

The /var directory contains variable files, such as system logs and temporary files generated by applications.

11
New cards

Why should hidden files in Linux begin with a period (.)?

Files that begin with a period are treated as hidden to prevent them from cluttering directory listings.

12
New cards

What does the command 'tree -L 2' display?

A recursive directory listing that shows files and directories up to two levels deep.

13
New cards

What command should a user run to check logged in user history in Linux?

They can check the history in /var/log/wtmp.

14
New cards

What happens to files in the /tmp directory during a reboot?

The contents of /tmp are deleted upon reboot.

15
New cards

What is the use of the /boot directory?

It contains all files needed to boot the Linux operating system, including the kernel and bootloader files.

16
New cards

What is indicated by a file name preceded by a '.' in Linux?

It indicates that the file is hidden.

17
New cards

What role does the /dev directory play in Linux?

/dev contains special files that represent devices used by the system.