Page 1 of 1
Stupidest terminal commands?
Posted: 2018-07-28 13:02
by bedtime
This is just a silly post if anyone cares to join in.
Often when reading tutorials, I see examples of commands used in ways that make little sense or are generally not useful. It was bumping into such a demonstration yesterday that inspired this post...
If you have a command, a command with parameters, or a small script, which is, well, a trifle daft
, please feel free to post it.
Here is mine:
Note: Please do not post commands that would be harmful to the someones system;
all commands should be able to be executed safely!
Re: Stupidest terminal commands?
Posted: 2018-07-28 13:08
by 4D696B65
Using sudo with commands that do not require root privileges. I'm sure we've all seen many of those.
Re: Stupidest terminal commands?
Posted: 2018-07-28 13:14
by bedtime
4D696B65 wrote:Using sudo with commands that do not require root privileges. I'm sure we've all seen many of those.
Lets try to display an example for each.
So, perhaps:
Re: Stupidest terminal commands?
Posted: 2018-07-28 22:46
by ruffwoof
Linux/BSD can show different levels of self awareness
Might show "God does not exist" or "creating God"
But not sexually aware
Don't know how to make love
Re: Stupidest terminal commands?
Posted: 2018-07-29 20:15
by Head_on_a_Stick
I despise superfluous commands, useless use of `cat` is the prime example of this:
Rather than
Or using `echo` & redirection rather than a simple here string (or document), so this:
instead of
Re: Stupidest terminal commands?
Posted: 2018-07-31 12:14
by debiman
i always liked
...but here's a more serious one:
i once tried to set up a caldav server on my kitchen server - radicale, to be precise, with setup instructions.
at some point it instructs me to add a radicale user, with / as home!
... after a while i decided that i don't like radicale so much, so i deleted the radicale user - i used the userdel command with the -f switch (that also removes the home directory).
guess what happened!!!
all my music was on that same partition.
i'm still recovering from that, almost a year later.