List of Common Unix shell commands

Source: Internet
Author: User

List of Common Unix shell commands
Passwd Change User Password PWD print current directory CD change Directory ls list directory file wildcards *,? Any number of characters and a single character file print out the file type cat display file content PR display file content PG or page a flash one page display file content more once a page display file content clear screen content CP or copy file chown Modify file owner chgrp Modify file group chmod Modify file mode permission RM delete file MV rename file mkdir create directory rmdir Delete directory grep mode match egrep grep find, which is used to extend the regular expression, is used to locate the file and directory> append to the end of the File> redirect, create or overwrite the file | pipeline operator, sort commands together | logical or (OR) & command execution in the Background & logical and (and) date: displays the system Date and Time. Echo writes the string to the standard output. During Sleep execution, the words and rows in the WC computing file are interrupted within the specified number of seconds, number of characters head View File start tail View File end diff compare two files sdiff side by side compare two files (132 characters) spell checker LP, LPR, Enq, qprt print file lpstat system print queue status enable or enable print queue disable or stop print queue Cal display a calendar who display system user information W extended who command whoami display $ LOGNAME or $ the user environment variable Who am I displays the login name, terminal, logon date/time, and logon location F, finger information about login users talk two users perform a split-screen dialog write on a user screen display a message wall display a message on the screen of all login users rwall display a message to remote all users on the host, rsh/remsh, execute a command on the remote host or log on to the DF file system. Statistics on PS. Information about the currently running processes. netstat: network status. vmstat: virtual memory status. iostat display input/output status uname current operating system name and machine information SAR system activity report basename string parameter basic file name Man display online reference manual su switch to another user: super-user cut write the selected character awk resolution character programming language sed for character replacement character language VI start VI editor Emacs start emacs editor

 

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.