CS计算机代考程序代写 interpreter file system Linux file system structure:

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 change current directory to
􏰒 ls list all files in directory
􏰒 ls -a list all files in directory including hidden ones (file where names start with .)
􏰒 ls -l list attributes of file or directory as well
􏰒 cat …< filen>liststhecontentoffileuntil
􏰒 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