Terminal 2 command question consultation

//file operation

Rename mv move file

Cp copy file

RM-RF/ system/library/extension. Mkext//-RF means recursion and coercion. Be careful when using it. If RM-RF/

Chmod-r 755/system/library/extensions//Change file permissions

Mkdir/user/username/desktop/backup creates a backup folder on the desktop.

Mvdir Directory 1 Directory 2

Rmdir directory name

Pwd displays the path name of the current directory.

More file names display the file contents in a separate screen.

Od -d filename displays the contents of a non-text file.

File name//Displays the file type.

Head -20 filename // displays the first few lines of the file.

Tail-15 filename // displays the last few lines of the file.

Wc filename // Statistics the number of characters, words and lines in the file.

Nl file1> File2 // Add a line number to the file

Ps -e lists all the processes.

Ps |grep com.yshy lists the package names, starting with com.yshy

Cat /proc/9622/status 9622 is pid, which lists the relevant information of this process.

kill -9 30 142 //

Date displays the current date and time of the system.

Cal display calendar

Time a.out // Statistics the execution time of the program.

The history lists several recent commands and their numbers.

Ifconfig // network data

Whoami displays the currently operating user name. ............