[Reprinted] Interesting commands in Linux

Source: Internet
Author: User

Reprinted: http://www.cnblogs.com/kernel_hcy/archive/2011/05/01/2033928.html

    • Yes: Outputs a string of Y, which can sometimes be used to deal with many y/n selection applications. Output a lot...
    • Banner: Print the character title, that is, use the character to spell out a large word, it is best to maximize the window, otherwise it may not be displayed completely.
    • Ddate: Convert the calendar to another calendar. Today is sweetmorn, The 63rd day of discord in the yold 3173
    • FortunE: Output a sentence, there are many types of content, it is said that there are Tang poetry and Song Ci (there are Tang poetry and Song Ci is fortune-ZH, after installation, fortune will randomly output Tang poetry or EnglishFamous saying.)
    • Cal 9 1752: Print the calendar, but there is a problem with that month, for the following reasons:

Ppop writes
"Sniper wrote in his blog: Today, I accidentally saw an introduction to a historical section of date implied in Linux on a blog. I was curious and tried it according to the methods introduced by others.
Code: Cal 9 1752: September 1752 s m tu w th f S 1 2 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 30 30 found that the last day of March was 14, for the following reasons:
On May 25, February 1582, the Holy See requested to subtract 10 days from October 1582, so October 4, 1852 followed by 15 days.
This is done in Italy, Spain, and other countries. The rest of the Catholic countries soon followed, but the new churches were reluctant to modify it, and Greece and other Orthodox countries were not modified until the beginning of the 20th century.
Reform was implemented in Britain and its colonies (including the United States) in September 1752. In this way, September 2, 1752 is followed by September 14, 1752.
However, in windows, since the date of the computer cannot be adjusted back to that time (1980 before moving forward is 2099), the calendar control of VC is called to write a calendar, 1752
It was normal in September. It seems that this is a history that can only be understood by Linux. "

    • Tac: Concatenate and print files in reverse, print the lines of the file in turn (cat writes them in turn .. Try it)
    • PTx-Produce a permuted index of file contents, to generate an index? Don't know
    • Xev: Print Real-Time X events
    • Xeyes: The one that comes out of your eyes. You have to go to X first.
    • Cowsay/cowthink: Print a calf (or other animals) to speak or imagine. The content can be customized.
    • Factor: Decomposition factor
    • Shred: Overwrite the file so that it can no longer read (the legendary file shredder ..)

These two are funny:

    • Apt-get moo

(__)
(Oo)
/------\/
/|
*/\---/\
~~ ~~
... "Have you mooed today? "...

    • Apt-build moo

(__)~
(Oo )/
_____\/___/
//\//
~ /*/
/___/
*----/\
/\
//
~ ~
... "Have you danced today? Discow! "...
Try the following string:
Aptitude moo
Aptitude-V moo
Aptitude-VV moo
Aptitude-vvv moo
Aptitude-vvvv moo
Aptitude-vvvvv moo
Aptitude-vvvvvv moo
Aptitude-vvvvvvv moo
Aptitude-vvvvvvvvvvvvvvvvvvvv moo

And make love. Turning it into Chinese is not fun.

Some people say that who am I is not interesting enough. Try Who is sb.
Actually, who am is the same as anything else...

Some people say Rm-fr/and dd If =/dev/Zero of =/dev/MEM. This is too bad. Don't try it, especially the root team. Don't try it.

    • Yes: Outputs a string of Y, which can sometimes be used to deal with many y/n selection applications. Output a lot...
    • Banner: Print the character title, that is, use the character to spell out a large word, it is best to maximize the window, otherwise it may not be displayed completely.
    • Ddate: Convert the calendar to another calendar. Today is sweetmorn, The 63rd day of discord in the yold 3173
    • FortunE: There are many types of output words. It is said that there are Tang poetry and Song Ci (fortune-ZH is used for the latter). After the installation, fortune will randomly output Tang poetry and Song Ci or English name .)
    • Cal 9 1752: Print the calendar, but there is a problem with that month, for the following reasons:

Ppop writes
"Sniper wrote in his blog: Today, I accidentally saw an introduction to a historical section of date implied in Linux on a blog. I was curious and tried it according to the methods introduced by others.
Code: Cal 9 1752: September 1752 s m tu w th f S 1 2 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 30 30 found that the last day of March was 14, for the following reasons:
On May 25, February 1582, the Holy See requested to subtract 10 days from October 1582, so October 4, 1852 followed by 15 days.
This is done in Italy, Spain, and other countries. The rest of the Catholic countries soon followed, but the new churches were reluctant to modify it, and Greece and other Orthodox countries were not modified until the beginning of the 20th century.
Reform was implemented in Britain and its colonies (including the United States) in September 1752. In this way, September 2, 1752 is followed by September 14, 1752.
However, in windows, since the date of the computer cannot be adjusted back to that time (1980 before moving forward is 2099), the calendar control of VC is called to write a calendar, 1752
It was normal in September. It seems that this is a history that can only be understood by Linux. "

    • Tac: Concatenate and print files in reverse, print the lines of the file in turn (cat writes them in turn .. Try it)
    • PTx-Produce a permuted index of file contents, to generate an index? Don't know
    • Xev: Print Real-Time X events
    • Xeyes: The one that comes out of your eyes. You have to go to X first.
    • Cowsay/cowthink: Print a calf (or other animals) to speak or imagine. The content can be customized.
    • Factor: Decomposition factor
    • Shred: Overwrite the file so that it can no longer read (the legendary file shredder ..)

These two are funny:

    • Apt-get moo

(__)
(Oo)
/------\/
/|
*/\---/\
~~ ~~
... "Have you mooed today? "...

    • Apt-build moo

(__)~
(Oo )/
_____\/___/
//\//
~ /*/
/___/
*----/\
/\
//
~ ~
... "Have you danced today? Discow! "...
Try the following string:
Aptitude moo
Aptitude-V moo
Aptitude-VV moo
Aptitude-vvv moo
Aptitude-vvvv moo
Aptitude-vvvvv moo
Aptitude-vvvvvv moo
Aptitude-vvvvvvv moo
Aptitude-vvvvvvvvvvvvvvvvvvvv moo

And make love. Turning it into Chinese is not fun.

Some people say that who am I is not interesting enough. Try Who is sb.
Actually, who am is the same as anything else...

Some people say Rm-fr/and dd If =/dev/Zero of =/dev/MEM. This is too bad. Don't try it, especially the root team. Don't try it.

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.