CHAPTER TWO: CLIMBING THE TREE Flashcards
(67 cards)
Directory: /
The root. Start of everything
Directory: /home
Default location for regular users files
Directory: /root
Home folder for root user
Directory: /etc
System settings and configuration files
Directory: /bin
Essential programs used by everyone
Directory: /sbin
Systems used by admins
Directory: /lib
Code libraries used by programs
Directory: /opt
Extra software
Directory: /tmp
Temporary files (cleared often)
Directory: /var
Logs and files that constantly change
Directory: /proc
Info about running processes
Directory: /usr
Shared files and apps for all users
Root user
The superuser who is allowed to do anything on the system. Can install software, add users, manage disk partition’s. /root is the home directory.
Directory separator
In linux root is the forward slash / and also the directory separator or path separator. The first / is the root and after that they become path separators
Current working va parent directories
- Current working directories (.)
- Parent directories (..)
Command: cd
Change directory
Go to root directory with cd
Cd/
Go to your home directory with cd
Cd~
Go back one folder with cd
Cd..
Go back to where you just came from with cd
Cd-
Go back into a specific path with cd
Cd/home/username/desktop
Listing files with is to show more detail
Is-l
Include hidden files with is
Is-a
Combine both more detail and hidden files with is
Is-la