Linux bash command Summary

Source: Internet
Author: User
Directory operation command:
Ls, tree, PWD, mkdir, rmdir
File Operation command:
Touch, CP, MV, RM, LN, symlinks
File compression and packaging command:
Gzip, Bzip2, tar
Text processing command:
Cat, more, Head, tail, cut, paste, sort, uniq, WC, expand, unexpand, iconv, dos2unix
Information Display command:
Uname, hostname, dmesg, uptime, file, stat, Du, DF, top, free, W, date, Cal, Which, whereis, locale, apropos
Basic network operation commands:
Telnet, ssh, SCP, FTP, lftp, wget.

Command advanced:
1. $ cat mytext
> This is test
>!
2. $ man bash | col-B> bash.txt

Find, sed, awk is very important

Yes: Output a string of Y, which can be used to deal with many y/n selection applications.
BANNER: print the character title, that is, use the character to spell out a big character]
Ddate: Convert the calendar to another calendar. Today is sweetmorn, The 63rd day of discord in the yold 3173
Fortune]
Cal 9 1752: print the calendar, but there is a problem with that month. Ha, there is a ccal with a lunar calendar. I don't know what's going on]
Cal 9 1752 is for historical reasons. The following is an excerpt from Wikipedia.
Gregorian calendar, February 1, with only calendar in Italy, Poland, Spain, and Portugal. The date is skipped for the 10th day. Because the new calendar was promulgated by the Pope, the new nations resisted it. It was not until the 18th century that the British Empire, including England, Scotland, and now the United States, adopted the Gregorian calendar, that is, the second day of the Gregorian calendar, Thursday, and the date skipped 11.
Tac: concatenate and print files in reverse, print the lines of the file in turn
PTx-produce a permuted index of file contents, to generate an index? Don't know
Xev: Print Real-Time X events. [do not get it out. X11 is required]
Xeyes: the one that comes out of the eye. You have to go to X first. [X11 is required]
Factor: Decomposition factor
Shred: overwrite the file so that it can no longer read
Aptitude Moo/apt-get moo-vvvvv: Debian funny

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.