[CD]
cd command not only display current state, but also change current state, Cd in Linux is similar to DOS.
#cd /home/wwwroot (into the /home/wwwroot directory)
#cd.. (enter the previous directory)
#cd – (enter the last directory)
#tar CVF a.tar.gz *. *. (packing all the files in the current directory, compressing the file name a.tar.gz)
#tar CVF a.tar.gz /home (packing all files under the folder, compressing it to the file name) Tar tvf a.tar.gz (browse the files in a.tar.gz compression package)
[RM]
rm is the delete command in Linux.
#rm a.tar.gz (delete a.tar.gz, subsequent confirmation, input y)
#rm – R (delete directory by one by one)
#ls (list of directory files)
#ls - L (list files and display details)
#ls It's move mobile, but it has more rename functions.
#mv a.tar.gz /home (a.tar.gz to home directory under the current directory)
#mv a.tar.gz b.tar.gz.
#cp a.tar.g /home (a.tar.gz to home directory under the copy directory, a multiple selection, adding a file name after CP)
#cp – R (copying the entire directory, containing subdirectories) / > Display the current directory of the user.)
#wget (downloaded from the source file)
#ftp (connect FTP)
#passwd (change password)