Shutdown-hnow shutdown command reboot restart command pws display current directory cat/etc/shells view all shelltab auto-completion key ctrl + l clear screen ctrl + u delete all characters before the cursor history view command alias... shutdown-h now shutdown command reboot restart command pws display current directory cat/etc/shells view all shell tab auto-completion key ctrl + l clear screen ctrl + u delete all characters before the cursor history view command history alias view alias of System Command alias copy = cp define command alias copy = "rm-I" define command group name unalias remove command alias demo: unalias copy input/output redirection STDIN standard input STDOUT standard output STDERR standard error> output redirection> append output redirection is similar to the push method to the array <Input redirection <2> error output redirection demo: date>/temp. msg outputs the result of date execution to/temp. in the msg file, demo: wall </temp. msg sets temp. msg message to send all user Demos: Command 2> name. err executes the command. how can I add the error information to name. pipeline in err: transmits the output of a command to another command. as the input of another command, this is called pipeline demo: ls-l/etc | moredemo ls-l/etc | grep init | wc-l counts the number of command connectors containing the init keyword in the/etc directory. use; the commands at intervals are executed in sequence & command_one & command_two. if the first command is successfully executed, the second command will be executed. | command_one & command_two if the first command is successfully executed, the second command will not be executed. Otherwise, the second command replacement character will be executed: use the input of one command as the parameter demo of another command: ls-l 'which touch' to find the touch command, and display the detailed information of the command by qqdenghaigui
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