mirror of https://gitee.com/openkylin/docs.git
!6 update en/Development-And-Common-Documents/Linux_Facts20_About_Terminals.md.
Merge pull request !6 from wucaiheng/N/A
This commit is contained in:
commit
22c4fb4802
|
@ -7,7 +7,7 @@ Playing Linux its fun! Haha. Don't believe it. Mark my words and by the end of t
|
|||

|
||||
|
||||
### Command: sl (steam locomotive)
|
||||
You probably know the 'ls' command and use it a lot to see the contents of folders. However, there are times when you might spell it 'sl', so how do we have some fun instead of seeing "command not found"?
|
||||
You might be aware of command ‘ls‘ the list command and use it frequently to view the contents of a folder but because of miss-typing sometimes you would result in ‘sl‘, how about getting a little fun in terminal and not “command not found“.
|
||||
Install sl
|
||||
|
||||

|
||||
|
@ -17,11 +17,11 @@ Output
|
|||

|
||||

|
||||
|
||||
This command will also run when you type 'LS' instead of 'ls'.
|
||||
This command works even when you type ‘LS‘ and not ‘ls‘.
|
||||
|
||||
### Command: telnet
|
||||
|
||||
NOT ALSO! Feh!!! This is not as complicated as it usually is. You are probably familiar with telnet. telnet is a text-based, two-way network protocol. There is nothing to install here. All you need is a Linux system and a connected network.
|
||||
No! No!! it is not as much complex as it seems. You would be familiar with telnet. Telnet is a text-oriented bidirectional network protocol over network. Here is nothing to be installed. What you should have is a Linux box and a working Internet.
|
||||
|
||||

|
||||

|
||||
|
@ -36,25 +36,25 @@ Install fortune
|
|||
|
||||
### Command: rev (flip)
|
||||
|
||||
It will reverse every string passed to it, isn't that fun.
|
||||
It reverse every string given to it, is not it funny.
|
||||
|
||||

|
||||
|
||||
### Command: factor
|
||||
|
||||
It's time to talk a bit about Mathematics, this command outputs all the factors of a given number.
|
||||
Time for some Mathematics, this command output all the possible factors of a given number.
|
||||
|
||||

|
||||
|
||||
### Command: script
|
||||
|
||||
Okay, this is not a command, it's a script, a very interesting script.
|
||||
OK fine this is not a command and a script but it is nice.
|
||||
|
||||

|
||||
|
||||
### Command: Cowsay
|
||||
|
||||
A cowsay that is composed in ASCII at the terminal, this cowsay will say what you want it to say.
|
||||
An ASCII cow in terminal that will say what ever you want.
|
||||
|
||||
Install Cowsay
|
||||
|
||||
|
@ -64,15 +64,15 @@ Output
|
|||
|
||||

|
||||
|
||||
What happens if you redirect the 'fortune command' command to cowsay using a pipe?
|
||||
How about pipelineing ‘fortune command‘, described above with cowsay?
|
||||
|
||||
root@tecmint:~# fortune | cowsay
|
||||
|
||||

|
||||
|
||||
Hint: '|' is the pipe command character. Usually it takes the output of one command as the input of the next command. In the above example the output of 'fortune' is used as the output of the 'cowsay' command. The pipe command is often used in scripting and program writing.
|
||||
Note: ‘|‘ is called pipeline instruction and it is used where the output of one command needs to be the input of another command. In the above example the output of ‘fortune‘ command acts as an input of ‘cowsay‘ command. This pipeline instruction is frequently used in scripting and programming.
|
||||
|
||||
xcowsay is a graphical interface program. It is similar to cowsay only expressed in a graphical way, so to speak, and is the X version of cowsay.
|
||||
xcowsay is a graphical program which response similar to cowsay but in a graphical manner, hence it is X of cowsay.
|
||||
|
||||

|
||||
|
||||
|
@ -82,7 +82,7 @@ Output
|
|||
|
||||

|
||||
|
||||
cowthink is another command. Run "cowthink Linux is sooo funny" to see how it differs from cowsay.
|
||||
cowthink is another command just run “cowthink Linux is sooo funny” and see the difference in output of cowsay and cowthink.
|
||||
|
||||

|
||||
|
||||
|
@ -92,7 +92,7 @@ Output
|
|||
|
||||
### Command: yes
|
||||
|
||||
yes is a very interesting and useful command, especially for scripters and system administrators, to automatically generate predefined responses or pass them to the terminal.
|
||||
It is funny but useful as well, specially in scripts and for System Administrators where an automated predefined response can be passed to terminal or generated.
|
||||
|
||||

|
||||
|
||||
|
@ -100,8 +100,7 @@ Tip: (it doesn't stop until you press ctrl+c)
|
|||
|
||||
### Command: toilet
|
||||
|
||||
What? Are you kidding me! Of course not, but for sure the name of this command is so screwed up that I don't know where it came from.
|
||||
|
||||
what? Are u kidding, huhh no! Definitely not, but for sure this command name itself is too funny, and I don’t know from where this command gets it’s name.
|
||||
Install toilets
|
||||
|
||||
! [](https://www.ubuntukylin.com/upload/images/tl19.png)
|
||||
|
@ -110,15 +109,15 @@ Output
|
|||
|
||||

|
||||
|
||||
This command even provides some color and font formatting.
|
||||
It even offers some kind of color and fonts style.
|
||||
|
||||

|
||||
|
||||
Tip: Figlet is another command that produces a similar effect as toilet.
|
||||
Note: Figlet is another command that more or less provide such kind of effect in terminal.
|
||||
|
||||
### Command: cmatrix
|
||||
|
||||
You probably watched the Hollywood movie 'The Matrix' and reveled in the ability given to Neo to see anything in the matrix, or maybe you have a vivid picture of a desktop similar to 'Hacker' in mind.
|
||||
You might have seen Hollywood movie ‘matrix‘ and would be fascinated with power, Neo was provided with, to see anything and everything in matrix or you might think of an animation that looks alike Hacker‘s desktop.
|
||||
|
||||
Install cmatrix
|
||||
|
||||
|
@ -130,7 +129,7 @@ Output
|
|||
|
||||
### Command: oneko
|
||||
|
||||
If you are convinced that the Linux mouse pointer will always be the same black or white color and not at all vivid, you are wrong. "oneko" is a package that will make a "Jerry" your mouse pointer attached to your mouse.
|
||||
OK so you believe that mouse pointer of Linux is the same silly black/white pointer where no animation lies then I fear you could be wrong. “oneko“ is a package that will attach a “Jerry“ with you mouse pointer and moves along with you pointer.
|
||||
|
||||
Install oneko
|
||||
|
||||
|
@ -142,29 +141,29 @@ Output
|
|||
|
||||

|
||||
|
||||
Hint: When you close the terminal with oneko running, Jerry will disappear as well, and will not come back when you restart the terminal. You can add this program to the startup options and continue using it.
|
||||
Note: Once you close the terminal from which oneko was run, jerry will disappear, nor will start at start-up. You can add the application to start up and continue enjoying.
|
||||
|
||||
### Fork bomb
|
||||
|
||||
This is a very poorly written piece of code. You are responsible for the consequences of running this command. It will multiply exponentially until all system resources are used or the system hangs (to see the power of this command you can try it once, but at your own risk, remember to close and save all other programs and files before running it).
|
||||
This is a very nasty piece of code. Run this at your own risk. This actually is a fork bomb which exponentially multiplies itself till all the system resource is utilized and the system hangs. (To check the power of above code you should try it once, but all at your own risk, close and save all other programs and file before running fork bomb).
|
||||
|
||||

|
||||
|
||||
### Command: while
|
||||
|
||||
The "while" command below is a script that gives you the date and file in color until you press the break key (ctrl+c). Copy and paste this command into your terminal.
|
||||
The below “while” command is a script which provides you with colored date and file till you interrupt (ctrl + c). Just copy and paste the below code in terminal.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Hint: The above script will produce similar output with the following modifications but it's still a bit different, so try it in your terminal.
|
||||
Note: The above script when modified with following command, will gives similar output but with a little difference, check it in your terminal.
|
||||
|
||||

|
||||
|
||||
### Command: espeak
|
||||
|
||||
Turn up the volume of your multimedia speakers, then copy this command to your terminal and see how you react when you hear the voice of God.
|
||||
Just Turn the Knob of your multimedia speaker to full before pasting this command in your terminal and let us know how you felt listening the god’s voice.
|
||||
|
||||
Install espeak
|
||||
|
||||
|
@ -176,7 +175,7 @@ Output
|
|||
|
||||
### Command: aafire
|
||||
|
||||
How about setting fire to your terminal. Type this "aafire" into your terminal without any quotes and see the magic. Press any key to middle finger the program.
|
||||
How about fire in your terminal. Just type “aafire” in the terminal, without quotes and see the magic. Press any key to interrupt the program.
|
||||
|
||||
Install aafire
|
||||
|
||||
|
@ -191,7 +190,7 @@ Output
|
|||
|
||||
### Command: bb
|
||||
|
||||
First install "apt-get install bb", then type in "bb" and see what happens.
|
||||
First install “apt-get insatll bb” and then, type “bb” in terminal and see what happens.
|
||||
|
||||

|
||||
|
||||
|
@ -199,40 +198,40 @@ First install "apt-get install bb", then type in "bb" and see what happens.
|
|||
|
||||
### Command: url
|
||||
|
||||
Wouldn't it be cool to change your twitter status in front of your friends using the command line. Replace username, password and "your status message" with your username, password and your desired status respectively.
|
||||
Won’t it be an awesome feeling for you if you can update you twitter status from command line in front of your friend and they seems impressed. OK just replace username, passwordand your status message with your’s username, password and “your status message“.
|
||||
|
||||

|
||||
|
||||
### ASCIIquarium
|
||||
|
||||
Want to get an aquarium in the terminal that, how?
|
||||
How it will be to get an aquarium in terminal.
|
||||
|
||||

|
||||
|
||||
### Install ASCIIquarium
|
||||
|
||||
Download and install ASCIIquarium.
|
||||
Now Download and Install ASCIIquarium.
|
||||
|
||||

|
||||
|
||||
Finally, run "asciiquarium" or "/usr/local/bin/asciiquarium" in the terminal, without quotes, and the magic will unfold before your eyes.
|
||||
And finally run “asciiquarium” or “/usr/local/bin/asciiquarium“ in terminal without quotes and be a part of magic that will be taking place in front of your eyes.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
### Command: funny manpages
|
||||
First install "apt-get install funny-manpages" and then run the following command from the manpages manual. Some of the
|
||||
First install “apt-get install funny-manpages” and then run man pages for the commands below. Some of them may be 18+, run at your own risk, they all are too funny.
|
||||
|
||||

|
||||
|
||||
### Linux Tweaks
|
||||
It's time to do some optimization
|
||||
It is time for you to have some one liner tweaks.
|
||||
|
||||

|
||||
|
||||
Linux is always sexy: who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep (if you know what I mean, sweat!)
|
||||
Linux is sexy: who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep (If you know what i mean)
|
||||
|
||||
There are some other commands that just don't work on all systems, so they are not covered in this article. For example, dog , filter, banner
|
||||
There are certain other but these don’t work on all the system and hence not included in this article. Some of them are man dog , filter, banner, etc.
|
||||
|
||||
Have fun, you can say thank you to me later :)
|
||||
Have fun, you can say me thanks later :) yup your comment is highly appreciated which encourages us write more. Tell us which command you liked the most. Stay tuned i will be back soon with another article worth reading.
|
Loading…
Reference in New Issue