Linux command line Funny No limit

Source: Internet
Author: User

linux command line funny No Limit1. Linux"SL"command Line although"SL"Represents the"steam engine Head", but it is used to remind the command line that"ls"Hit the"SL". Let's see what happens when we run this command in the system. First, when we install it, we want to set it to not appear with standard Linux. With"Apt-get"It is easy to complete the installation. sudo apt-GetInstall SL Most of the installation requires sudo privileges. When the installation is complete, enter it at the command prompt."SL". $SL we saw the animated steam engine head from the right side of the screen to the left. The locomotive is drawn with ASCLL characters. Here's my machine: Is it harder than we normally do with the Linux command line? I think the Linux users who are immersed in the work must smile when they see this unexpected animation and realize that their input is wrong. Even this simple command line can provide specific options. Synopsissl [-Alfe]  DESCRIPTIONSL displays animations aimed to correct users who accidentally enter SL instead of LS. SL stands forSteam locomotive.options-A accident seems to happen. You'll feel pity for people who cry for help.-L shows little one.-F It flies.-e allow interrupt by CTRL +C. can also use $alia ls=SL gives a man a prank. 2. Linux"Yes"command Here is a command that prints the input string until the end of the process. In the event that the user does not specify any input string, the default command is"y". The command will run like this: $yes Mylinuxbookmylinuxbookmylinuxbookmylinuxbookmylinuxbookmylinuxbookmylinuxbookmylinuxbookmylinuxbookmylinuxbookmylinuxbook Mylinuxbookmylinuxbookmylinuxbook^for C $"Ctrl + C"ends the foreground run process. It's weird, isn't it? Why do we want the command to print the string all the time in the process? Although this is a silly way to run, it is not necessarily useless. We can use a specific script in the"Yes"command, in these scripts, we can reply with repeated actions. For example, we can operate on a set of files, and Linux asks us to confirm the file. We can use"Yes"command to reply automatically. 3. Linux"Rev"the command was very simple, but I found the command very interesting. It reverses the input string one line after the other. "Rev"The name of the command originates from the English reverse. You can enter in the command indicator"Rev"then press ENTER $rev The terminal will prompt us to provide a string through standard input. Then we can see the output at the same time behind each line. For example, we enter"Mylinuxbook"then press ENTER. Mylinuxbookkoobxunilym in order to return to the command prompt, you can use"Ctrl + C". We see the inverted string appearing directly on the next line. We can then enter the next string we want to invert, and then press ENTER to get the standard output. $ revgoogleelgooglinux isfunnuf si xunil^the C $ command can also be entered as a file, which reverses all the strings in the file and then formats the output as standard output. $ cat Strings.txtmylinuxbooklinux isSo much fun!Happy birthday$ Rev Strings.txtkoobxunilym!nuf hcum os si xunilyadhtrib yppah4. Linux"Fortune"The command Fortune command is used as a fortune cookie on the same command line. When we run this command, we randomly find a proverb or a message. The first thing to do is to install it $sudo apt-Getinstall fortune After the installation is complete, we run this command in the following way: $ fortuneyou has the power to influence all with whom you comeinchContact . So, relying on this command, Linux can be like a fortune teller. 5. Linux"Figlet"Command This command will be capitalized to display the string we entered in the title bar, the display effect is composed of ASCII characters. Because it is not a standard setting, you should install this feature first. $sudo Apt-Getinstall Figlet It's really interesting to see the string become like this on the terminal. $ figlet Mylinuxbook You can try to use"Figlet"Add a title bar to the script header or source code. 6. Linux"Toilet"command I don't know where the name of this command originated. But it does have a colorful command. Like Figlet, it displays text as a title bar, but it works better. First, install: $sudo apt-Getinstall toilet And then try this simple command: $toilet the Mylinuxbook input effect is as follows: It is more artistic than the effect of the Figlet command. However, it can also add colors. We can run the following command to see the color: $toilet-F mono12-F metal Mylinuxbook effects such as:7. Linux"Cowsay"the Command Cowsay command is an interesting command. It uses ASCII characters to depict cows, sheep, and many other animals. But not every Linux distribution has this command. Install this command by using the following command: $sudo apt-GetInstall Cowsay Now, run the command and give a message string in the command. $cowsay"Linux is fun"We see an interesting image: Basically, we'll see a bull tell us what we've entered. Although only the cow in this command, but in fact, it can also have the effect of sheep. $cowsay-F Sheep"I too Love Linux"The effect is only used'-L can see all the animals it can provide. Input:$cowsay-The following information will pop up: Cow filesinch/usr/cowsay/cows:apt Beavis.zen Bong Bud-frogs Bunny Calvin cheese Cock cower daemondefaultDragon Dragon-and-cow Duck Elephant elephant-inch-snake Eyes flaming-sheepghostbusters GNU Head-inchHellokitty Kiss Kitty Koala Kosh luke-Koalamech-and-cow Meow milk Moofasa moose mutilated Pony pony-smaller ren sheepskeleton snowman sodomized-sheep Stegosaurus Stimpy SuSE three-eyes Turkeyturtle Tux Unipony unipony-smaller Vader vader-Koala www Therefore, we can use'- F'Enter any animal in the above information. To make it more interesting, you can let Cowsay say fortune information, such as input: $fortune|Cowsay, the following effect appears:8. Linux"Cmatrix"command This command will generate a matrix-style animation effect that consists of ASCII characters in the terminal. Install First: $sudo apt-GetInstall Cmatrix now running: Cmatrix comes out cool: with"Ctrl + C"end, generate animation. 9. Linux"Oneko"Command This command is the best play. We all know that."the cat and the mouse"animation, this command will remind us of their chase game. With this line of command, we can see the effect of a cat chasing a mouse (mouse pointer). Install First: $sudo apt-GetInstall Oneko Run this command, we enter: Oneko and then you can see that no matter where the mouse pointer is placed, Tom will chase the cat. The following is, however, insufficient to show the dynamic effect: Even if we switch the application, the cat will not leave the mouse. It is not even limited to terminals. When you want to turn this off, just use CTRL in the terminal.+c end the process.

The Linux command line is playful without limits

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.