Linux file system structure:
/usr
/var
/home
/bin, /sbin
/dev
/tmp
/proc, /sys
/boot
programs and libraries for all users (fixed) run-time data
data and programs for each user Important system binaries
device entries
temporary files, writable and readable by everyone pseudo-files for communicating with the kernel files required for booting the operating system
Important Unix Commands
Eike Ritter
There is a command interpreter in the terminal called the shell. When you execute a command, all files are relative to a particular directory For every user there is one directory under /home (called the home directory) where all data and programs for each user are stored.
. .. ~
Important shortcuts: is current directory is parent directory is home directory
Important commands:
cd
ls
ls -a
ls -l
cat
if you want to execute a file in current directory, you need to prefix it with ./
you can redirect the output of a command to a file via > example: ls -l . > dirContent.txt
1