9 very funny and useless Linux commands + combinations

…. Needless to say ... really, the commands are GREAT 😀 it doesn't take much introduction, it is best to just start showing them LOL !!!

1st!

I start with the 1st ...

time cat

This command is simply a stopwatch in terminal, that is, they execute it and it will stay there ... suspended, and when they press [Ctrl] + [C] it will show you how long it was from when you ran the command until you pressed [Ctrl] + [C], I show you an example image:

As you can see in the image, it took 5.9 seconds from when I ran it until I stopped it.

2nd!

Now the second 😀

This one made me quite laugh… I find it extremely funny LOL !!!

yes LAUGH !!!

I mean ... they put Yes and followed the text they want, and it will appear immediately in the terminal without stopping…. to exit this loop (cycle) press [Ctrl] + [C].

I leave an example image:

3st!

Let's move on to a command that is quite curious 😀

rev

This command (rev) what it does is simple to understand, the text that we put after executing it, it will show us backwards 😀

That is, if we put:

rev

Linux

It will show us below:

xuniL

I leave an example photo:

4th!

This isn't a dumb command actually ... it's actually quite powerful O_O

factor

This decomposes the number we put into prime factors, do your tests yourself ... but bear in mind that prime numbers and their decomposition into prime factors is (so to speak) the basis for modern encryption processes, internet security , etc. You can read more about RSA on Wikipedia.

I leave you the example photo:

5th!

This more than a single command is a chain of them, almost a script hehe 🙂

I present to you, the multiplication tables:

To see this, in a terminal put the following:

for i in {1..9}; do for j in $ (seq 1 $ i); do echo -ne $ i × $ j = $ ((i * j)) \\ t; done; echo; done

Complex to remember right? … LOL!!!

But hey, we can always make a alias called «bullion tables"(without the quotes) to use it 😉

6th!

Do you know how much the value of Pi? … Yes yes, we all know that it is 3,14 right? ... but ... do you know how much it is exactly?

This command will tell you:

seq -f '4 /% g' 1 2 99999 | paste -sd- + | bc -l

Incredibly useless right? … LOL!!!

Photos:

7th!

This command is just great, I love what it does 😀

figlett

As such it is an application, you must install it first to be able to enjoy it:

apt-get install figlet (for Debian or derivatives like Ubuntu, MintEtc.)

pacman -S figlet (for Arch Linux)

If you use another distro, try installing the package called figlett, is also available for Mageia, openSUSEetc 🙂

What does? ... simple, it shows us the text that we put but with style ASCII, the best way for them to understand is by looking at the example photo:

What is SUPER COOL at? !! 😀

8th!

This one, like the previous one, is an application… and… like the previous one, it's really cool 🙂

Install the package cowsay

And they execute (for example) the following line:

cowsay -f /usr/share/cowsay/cows/eyes.cow DesdeLinux.net

The following will appear:

But this is not the only "image" we can use ... look at this one:

cowsay -f /usr/share/cowsay/cows/dragon.cow DesdeLinux.net

There are lots of them, but I leave you a link with a selection that I made, highly recommended hehehehe 😀

Paste DesdeLinux – Cowboy selection

Any questions about it tell me 😉

9th!

This one is very, very popular: fortune

Like the previous ones you must install it (install package fortune). Once installed, put in a terminal: fortune-s and they will see how a random phrase appears:

But ... the interesting thing that I will bring you is to join the previous command (cowsay) with this (fortune):

cowsay -f "$ (ls / usr / share / cowsay / cows / | sort -R | head -1)" "$ (fortune -s)"

This command will randomly generate combinations, here are some examples:

What is this interesting? 😀

And here is another combination of the commands shown above:

yes «$ (figlet JEJEJEJEJE)»

😀

Anyway ... these are ... I hope you had as much fun reading this post as I did writing it HAHAHA.

A thousand thanks to Adrien for showing these commands in a post from MakeTecheAsier : )

Greetings and… do you know any other funny commands? … What are you waiting for, share it with everyone here? 😀


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   stories said

    in debian run in terminal
    apt-get moo
    and the super cow appears

    1.    stories said

      images can be uploaded here:
      [img] http://s9.postimage.org/6lythsg6n/escritorio2.png [/ img]

      [img]http://s9.postimage.org/p2t88lw4v/escritorio003png.png[/img]

      1.    stories said

        the second is to run in the console:
        aptitude moo
        aptitude moo -v
        aptitude moo -vv
        aptitude moo -vvv
        aptitude moo -vvvv
        aptitude moo -vvvvv
        aptitude moo -vvvvvv
        one by one, and see what the system answers you

      2.    stories said

        correction:
        [img] http://s19.postimage.org/ilri7x6rn/escritorio2.png [/ img]
        http://s19.postimage.org/ilri7x6rn/escritorio2.png
        and the second
        [img] http://s19.postimage.org/y8irlakjn/escritorio003png.png [/ img]
        http://s19.postimage.org/y8irlakjn/escritorio003png.png

        1.    Rayonant said

          Just great !! I'll stick with: "Okay, ale, if I give him an Easter egg, will he go away?" xD

          1.    KZKG ^ Gaara said

            HAHA yes, that one is dead haha ​​😀

        2.    Manual of the Source said

          Just in case you didn't know the story, the elephant inside a snake is a reference to The Little Prince, where precisely that same drawing appears. 😉

          1.    KZKG ^ Gaara said

            Well look ... nope, I did not know about this O_O

          2.    elav <° Linux said

            Everything seemed familiar to me hahaha .. Surely some adult thought it was a hat. ¬¬

          3.    Manual of the Source said

            @elav: Older people never understand anything on their own. ¬¬

            1.    elav <° Linux said

              ^^ Who draws me a sheep?


          4.    Courage said

            Your friend we already know who

      3.    KZKG ^ Gaara said

        JAJAJAJAJA very, very good that one, I didn't know him LOL !!!

        1.    stories said

          remember it when in a debian or derivatives you misspell a command and it answers that: This aptitude does not have Super Cow powers.

          1.    phantom said

            hahahahaha, how funny I did not know him, salu2

  2.   Courage said

    Various errors:

    The value of Pi is not something useless, in geometry it is used a lot, so it is useful for a math student

    A prime number cannot be decomposed into other factors due to the fact that it is only divisible between itself and 0

    They are not wanting to annoy because I have been emo for a day.

    1.    Rayonant said

      Man, what is useless is not the PI number but the command itself, what is true is that this is NOT exactly PI because this is an irrational, what is shown there is simply the series truncated in a specific number of decimal places .

      1.    Courage said

        Man, it is necessary to truncate it, if it is not infinite

        1.    KZKG ^ Gaara said

          Nothing is infinite my friend 😀 (except maybe, human stupidity ...)

          1.    Courage said

            I shouldn't have said infinity, but what I mean is that scientists are still taking decimals and they can't find the end.

          2.    Manual of the Source said

            @Courage: I read an interesting anecdote about what you mention: William Shanks, a 20th century English mathematician (who by the way has the same last name as a character in my favorite anime One Piece: P), dedicated 707 years of his life to calculate the exact value of π and got 528 decimal places, but long after his death it was discovered that he had made a mistake in the decimal XNUMX and from there they were all wrong. 😀

            1.    KZKG ^ Gaara said

              If after taking so many decimals ... someone tells me I was wrong .. ¬_¬ ... I kill that someone without thinking twice HAHAHA


          3.    Hugo said

            In mathematics, infinity does exist. In this case, pi has an infinite number of decimals that do not follow any repeating pattern because it is an irrational number. On wikipedia you can see some demos:

            http://en.wikipedia.org/wiki/Proof_that_%CF%80_is_irrational

            1.    KZKG ^ Gaara said

              In mathematics does infinity exist? … Damn, something new is learned every day 😀


            2.    Courage said

              Damn, haven't you ever been to school?


          4.    Manual of the Source said

            KZKG ^ Gaara: The good thing is that he was already dead when it was discovered so he never knew. 😀

            On the other hand, if it had happened to me and they told me, I would have had a heart attack at that moment knowing that I threw 20 years of my life into the trash. : S

            1.    KZKG ^ Gaara said

              HAHAHA yes 😀


          5.    Courage said

            I have shot 17 and here I am.

    2.    ahdezzz said

      Between himself and 1 you mean

      1.    Courage said

        Yes, that, I'm pretty bad at math

    3.    Hannibal said

      Good.

      It seems to me that it is between himself and 1, not 0.

      Greetings.

    4.    frameworks said

      Putting faults tell you that a prime is divided between the, zero and one.

      And the value of pi is not that, it is not exact, there are infinite numbers of which not all are known, but many more are known than there are there.

      And now my question, can you combine the yes command with the rev command?

  3.   taregon said

    I liked the "rev" command, just what I was looking for to make a password generator.

  4.   guzman6001 said

    The post is excellent ... They are not entirely useless ... xD

    I found the cowsay + fortune incredibly cool.

    1.    KZKG ^ Gaara said

      Thank you really thank you ... I tried to contribute my grain to the post by putting enough examples, images ^ _ ^
      Greetings haha

  5.   Manual of the Source said

    Old Arch users already knew about this, not me but when I found it I loved it: a real Pacman on the Arch console. 😀

    You just have to edit the file /etc/pacman.conf and under [options] write ILoveCandy.

    Ready, now try to perform some task with pacman (a sudo pacman -Syu, for example), and they'll see it. 😉

    1.    Manual of the Source said

      By the way, the ILoveCandy It should not have a period, I put it just because it was the end of the sentence. 😛

      1.    Keopety said

        Thanks for the command, it's very cool

    2.    KZKG ^ Gaara said

      Too bad I don't have Arch installed now… I would have liked to try this haha ​​😀
      Thanks for the tip, surely many others will use it 🙂

  6.   vicky said

    It is not a command but in the archlinux aur they told me that there was a package called girldfriend and if you tried to install it you would get a message that said “girlfriend is in conflict with homosexuality. Installation canceled »or something like that. It only worked if you were a man but I was still funny when they told me 😛

    1.    KZKG ^ Gaara said

      Phew I missed this one when I was using Arch hehehehe… it would have been funny to experience it LOL !!!

  7.   stories said

    another very seen, in the terminal execute:
    man woman

    1.    Rayonant said

      Everyone is very curious, in fact when I opened the Mint 10 terminal a sentence always appeared, now I know that what it executes at the beginning is cosway + fortune xD

    2.    diazepam said

      No manual entry for woman (rimshot)

  8.   ren434 said

    Great post, I would have liked to try figlet but I don't have it in repositories, I can only add that fortune has a version with offensive phrases, in mint for example it is called fortune-es-off.

  9.   stories said

    "The last one and we are leaving", although it is not 100% of the topic, a long time ago I saw a twitter-like program, that is, it meets only 140
    http://jsbin.com/egiqul/49

    1.    ren434 said

      LOL!! the funniest thing is the license.

  10.   sieg84 said

    I think the word is encryption.

  11.   hunabku said

    They are very funny, I liked the one with the images
    Greetings!

  12.   kima said

    mmm the post is good but your commands are useless in fact they are the vacuums of the OS to be able to solve the problems of binaries etc.

    1.    KZKG ^ Gaara said

      Hello and welcome 🙂
      I said useless, because few would use these commands, they are not commands like "ls" or "cp" that are used much more frequently, however, I am glad to know that you find them interesting 🙂

      Greetings.

      1.    Courage said

        You can't call something useless like that lightly.

        Social networks seem stupid to me like a cathedral, but that's not why I open an article of the style Social media is a complete asshole, for example.

        1.    KZKG ^ Gaara said

          The title was not put by me, I only translated the article, I put more examples, I explained more, but I kept the title, I left the link in the post 🙂

  13.   rodrigories said

    What Linux platform are you on? can you from ubuntu?

    1.    Courage said

      They are valid for all distros ¬_¬

    2.    KZKG ^ Gaara said

      Yes, it can be used in any distro 🙂

  14.   sieg84 said

    telnet -t vtnt miku.acm.uiuc.edu

  15.   Traveler said

    Thanks for sharing it, it helped me to entertain me for a while

  16.   Alex Atti said

    Very good!!!. how I laughed, excellent post, congratulations!

  17.   zerberos said

    To know the number of pi there is another command that is easier to remember:
    "Pi 33"
    where 33 is the number of digits that the command prints.
    By the way, they don't know any way to do the same with the number e, right?

  18.   eliotime3000 said

    This is what I need to customize my Bash!

  19.   dctons said

    I know I'm late, and I didn't have the time to read all the comments, but you forgot the train….

    aptitude install sl

    and you run it with:
    sl

    regards

  20.   xnmm said

    here is another
    fortune -s | review | cowsay | figlet

  21.   fernando said

    Good. Coming from the future I wrote simply to say something about the little train: it turns out that I put and put sl in the terminal again until it occurred to me to do it without root. Et voiâ came out the aforementioned. Greetings and thanks because the article is entertaining far to enter if you have said or have stopped saying. You don't have to read a bit between the lines and understand why that has been said. For example, I am not at all interested in whether pi has a million figures or 2, simply out of curiosity to expand my culture and to know more, but that does not mean that I say that Pi is not important, quite the opposite.