7. usage of common linux commands 6. linuxXwindowsystem http://www.2cto.com/os/201303/197061.html System Information uname-m displays the processor architecture of the machine (2) uname-r displays the kernel version in use uname-a to list everything sh... 7. usage of common linux commands 6. linux X window system http://www.2cto.com/os/201303/197061.html System Information uname-m Display Machine processor architecture (2) uname-r display kernel version in use uname-a list all things shutdown-h now shut down system (1) file and directory cd-back to the last Directory ls-l show file and directory details ls-a show hidden file mkdir dir1 dir2 create two directories at the same time mkdir-p/tmp/dir1 /dir2 create a directory tree rmdir-r dir1 recursively delete all contents of a directory called 'dir1' cp-r source destination recursively copy all contents of source to destinationless filename with spaces and B representing downward and flip the page up to head-n 20 filename to select the first 20 lines of the file ln-s file1 lnk1 to create a soft link to the file or directory ln file1 lnk1 to create a physical pointing to the file or directory Link find/etc-name bing find the file named bing in/etc find/etc-perm mode find file permission = mode file umask 002 specifies the default permission of the current user to create a file the function of chmod 777 file suid sgid sbit. If you change the file permission to-rwsr-xr-x, chmod 4755 filechown jessie should be used: users file1.txt: Set the owner of the file file1.txt as the user of the users group, jessie chattr [+-=] [ai] filename + -- = hidden attribute of the file. mount device name mount point tar [-j | z] [c | x] v-f filename j 2.16.bz2 z 2.16.gz c package x unzipping v indicates that the file name being processed is displayed as the file to be processed during compression/decompression. vimdd deletes a row yy copy P paste ctrl + f ctrl + B flip x delete a character u ctrl + r undo ZZ save and exit o insert bashlogin shell in the next row of the cursor read/etc/profile and ~ /. Bash_profile or ~ /. Profilenologinshell read-only ~ /. Bash_profile or ~ /. The profilesource configuration file name can read the content of the configuration file into the current bash help display bash built-in command env View environment variable data redirection find/home-name. bashrc> list 2> & 1 pipeline command cut grep 'string' program and service management ps-e show all processes ps-l output ps aux in detail to list current memory all processes top-p specify a pid to monitor the keys P cpu M memory N pid q during top execution to killall-signal syslogd started by syslogd command
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.