Cd:
- .. --Switch to upper level directory
- ~--Back to home directory (/home/your login name/)
js|
- -a--displays all files in the specified directory, including the file name. The file that starts with
- -l--Show file details (including file type, permissions, modification time, access time, size, file name ...)
- -h--the file size in a convenient readable form, with the-l parameter
PS (stationary), Top (dynamic):
- -ef--Lists all current process states in standard syntax, such as Ps-ef | grep Tomcat
- aux--is listed in the BSD syntax ......... .................
- -ejh--List Process Tree
- -elf--simultaneous status of outgoing threads
CHOMD:
Brief introduction: Ls-l can display the permissions of the file, for example (-rwxr-xr–), representing the rights of three kinds of users
The first rwx, which represents the permissions of the file owner (read, write, execute), is represented by a binary representation of 111, and represents the 4+2+1=7 in the octal system.
The second r-x, which represents the permissions of other users of the same user group as the file owner (read, execute), is represented by a binary representation of 101, representing the 5=4+0+1 in the octal system
The third R –, which represents the permissions of other users, i.e. (read,,), binary represented as 100, representing octal 4=4+0+0
So the permission bit for this file is 754.
This is also the use of chmod, such as chmod 751 myfile #将该文件权限设定为rwxr-x–x
The Linux commands I use