Differences across different OS Flashcards

1
Q

/

A

The slash / character alone denotes the root of the filesystem tree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

/bin

A

Stands for “binaries” and contains certain fundamental utilities, such as ls or cp, which are generally needed by all users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

/boot

A

Contains all the files that are required for successful booting process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

/dev

A

Stands for “devices”. Contains file representations of peripheral devices and pseudo-devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

/etc

A

Contains system-wide configuration files and system databases. Originally also contained “dangerous maintenance utilities” such as init, but these have typically been moved to /sbin or elsewhere.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

/home

A

Contains the home directories for the users.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

/lib

A

Contains system libraries, and some critical files such as kernel modules or device drivers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

/media

A

Default mount point for removable devices such as USB sticks, media players, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

/mnt

A

Stands for “mount”. Contains filesystem mount points. These are used, for example, if the system uses multiple hard disks or hard disk partitions. It is also often used for remote (network) filesystems, CD-ROM/DVD drives, and so on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

/proc

A

procfs virtual filesystem showing information about processes as files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

/root

A

The home directory for the superuser “root” – that is, the system administrator. This account’s home directory is usually on the initial filesystem, and hence not in /home (which may be a mount point for another filesystem) in case specific maintenance needs to be performed, during which other filesystems are not available. Such a case could occur, for example, if a hard disk drive suffers physical failures and cannot be properly mounted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

/tmp

A

A place for temporary files. Many systems clear this directory upon startup; it might have tmpfs mounted atop it, in which case its contents do not survive a reboot, or it might be explicitly cleared by a startup script at boot time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

/usr

A

Originally the directory holding user home directories,its use has changed. It now holds executables, libraries, and shared resources that are not system critical, like the X Window System, KDE, Perl, etc. However, on some Unix systems, some user accounts may still have a home directory that is a direct subdirectory of /usr, such as the default as in Minix. (on modern systems, these user accounts are often related to server or system use, and not directly used by a person).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

/usr/bin

A

This directory stores all binary programs distributed with the operating system not residing in /bin, /sbin or (rarely) /etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

/usr/include

A

Stores the development headers used throughout the system. Header files are mostly used by the #include directive in C/C++ programming language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

/usr/lib

A

Stores the required libraries and data files for programs stored within /usr or elsewhere

17
Q

/var

A

Stands for “variable”. A place for files that may change often - especially in size, for example e-mail sent to users on the system, or process-ID lock files.

18
Q

/var/log

A

Contains system log files.

19
Q

/var/mail

A

The place where all the incoming mails are stored. Users (other than root) can access their own mail only. Often, this directory is a symbolic link to /var/spool/mail.

20
Q

/var/spool

A

Spool directory. Contains print jobs, mail spools and other queued tasks.

21
Q

/var/tmp

A

A place for temporary files which should be preserved between system reboots.