Linux entry command-general Linux technology-Linux technology and application information. For more information, see the following section. Shutdown: halt, reboot, poweroff
Xiao Jie:
Halt stops the system and does not turn off the power supply
Reboot restarts the system.
Power off
Switch to Super User: su
Directory operation: mkdir, rmdir, cd
Xiao Jie:
Mkdir create a new directory
Rmdir Delete directory
Switch cd to the specified directory
Display Directory: pwd, ls
Xiao Jie:
Pwd displays the location of the current directory
Ls displays the content in the current directory
File Editing: vi
Xiao Jie:
In a text editor in linux, common Commands include q (not conservative exit), wq (save and quit), and q! (Force quit without saving)
File Operations: cp, mv, rm
Show file content: cat, more, less, head, tail
Xiao Jie:
Cat displays all file content
More: display the file content on pages. Press the Space key to flip down the page.
Less page display, with the direction key to control up and down pages
Head: displays the file header.
Tail displays the content at the end of a file.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service