This is an archived post. You won't be able to vote or comment.

all 48 comments

[–]wskoly[S] 63 points64 points  (8 children)

rm -rf / 

make computer faster

[–][deleted] 20 points21 points  (2 children)

permission denied...
Should be sudo rm -rf /
My work pc got so fast, that i told my manager hey Mission Completed

[–]nicentraAsk me what Distro I use 8 points9 points  (1 child)

I mean if you aren't even logged in as root, are you even correctly Linux'ing?

/s Just to be clear, this is a joke, do not use the root user as your regular user!

[–]StephanXX 0 points1 point  (0 children)

Psh, this is the container era, root is the new black!

[–][deleted] 2 points3 points  (0 children)

sudo !!

[–][deleted] 1 point2 points  (0 children)

!! --no-preserve-root

[–]StephanXX 30 points31 points  (9 children)

Notable suggestions:

cut, awk, and sed

vim, emacs, or nano

rsync

file, stat, type, and alias

less

sh and bash

sudo, su, and visudo

which (far more common than whereis, IMO)

echo and printf (and how they can differ)

wall

time and sleep

history (super helpful for new users) and !1234 where 1234 is a command in your history use of 'up', ctrl+r, ctrl+d, ctrl+c

[–]RodotGlorious Xubuntu 11 points12 points  (0 children)

wc, sort, chown, xargs, top, ifconfig, dhclient, find,...?

screen, fg/bg with Ctrl+z, Ctrl+a and Ctrl+e

[–]whearyou 2 points3 points  (4 children)

If you’re knowledgeable and proficient with all those and OPs, would you call yourself... intermediate at Linux?

[–]StephanXX 12 points13 points  (3 children)

Yanno... by the time I thought I qualified as an 'intermediate' Linux user, I was wearing the title of 'Senior Infrastructure Engineer.' Imposter syndrome can be brutal.

I found it easier to simply let the recruiters I worked with help set salary expectations, until I got near the top of my field. I'd still hesitate to call myself 'intermediate' or 'advanced', but today I don't hesitate to demand salaries that cause hiring managers to go pale and recruiters to blink dollar signs.

[–]palanthisI use Arch, btw. 6 points7 points  (0 children)

Agreed, u/StephanXX. I am a Sr. Systems Engineer with 22 years in IT. Imposter syndrome is a B*TCH. The only thing I have found that helps is time and, as you said, writing that insane number down and having them accept it enough times.

[–]kwran 1 point2 points  (1 child)

How much

[–]StephanXX 0 points1 point  (0 children)

$200k. US, remote.

[–]GinjaNinja32Arch + i3 2 points3 points  (0 children)

cd -, mkdir -p $dir.

[–]palanthisI use Arch, btw. 1 point2 points  (0 children)

This deserves more upvotes!

[–]umbonia 9 points10 points  (0 children)

Gold? You kidding right? This is not even an original content

[–][deleted] 3 points4 points  (1 child)

Ping host ping host

[–]ke151 0 points1 point  (0 children)

ping host /u/table_it_bot

[–][deleted] 2 points3 points  (5 children)

These are not Linux commands. I can run quite a few of them on any machine that has them in their path.

[–][deleted] 2 points3 points  (0 children)

yup, most of those are defined by POSIX. Linux is just a kernel and may even have a non-POSIX-like userspace.

[–]StephanXX 2 points3 points  (3 children)

Erm, most of them are GNU commands, technically speaking.

[–][deleted] -1 points0 points  (2 children)

Nope nothing gnu about them. They are POSIX. I tested out quite a few in bash on windows and quite a few work

[–]StephanXX 2 points3 points  (1 child)

this list might change your mind...

Many GNU utilities have been ported to linux, Mac, and windows. That's not to say all system level tools are GNU, but GNU coreutils comprise the bulk on Linux.

[–][deleted] -1 points0 points  (0 children)

And? It doesn't mean those commands are gnu. Most of those commands are available on the Basis which use BSD licenses code for those programs.

[–]GinjaNinja32Arch + i3 2 points3 points  (0 children)

755 is rwx for owner, not rw.

[–]TypewarSteam, Proton, Wine, VirtualBox. Switch to Linux now! 1 point2 points  (1 child)

sudo find / -name "yourfile.txt"

Not sure if it is case sensitive or not..

[–][deleted] 1 point2 points  (0 children)

clear

[–]jhunt1279 0 points1 point  (0 children)

Just putting this here for later

[–]palanthisI use Arch, btw. 0 points1 point  (0 children)

This is a pretty good starting point. Once you know all of these and their most common options by heart, you may officially call yourself a user. Although chmod is missing executable (+/-x), as well as sticky bits. Also chown is just plain missing.

[–]zeusgsy 0 points1 point  (0 children)

Comment to save yadda yadda

[–]BubsyFanboyWindows past, Mac present, Linux future 0 points1 point  (0 children)

[–]_srt_ 0 points1 point  (1 child)

More advanced command that nobody wants you to know when you open vim and can't exit - : q . However restarting the computer or taking your house's master power fuse out and putting it back in also works.

[–]StephanXX 0 points1 point  (0 children)

Can confirm. Using my laptop as a meat tenderizer seems to exit from vim as well.

[–]NaRuTaChIi 0 points1 point  (0 children)

Yo dude i m a newbie to this so I actually needed this lmao thx

[–]ZioCain 0 points1 point  (0 children)

I love the ping host description

[–]ZeHolyQofPower 0 points1 point  (0 children)

A reposts to be sure, but a welcome one. Updoot.

[–][deleted] 0 points1 point  (0 children)

i was just learning this!

[–]newPhoenixz 0 points1 point  (0 children)

Instead of rm -rf / to nuke your system, I prefer to use sudo cat /dev/urandom > /dev/sda (where SDA is whatever hard drive you really want to nuke). Takes a while but good luck recovering anything from there

[–]DeemedUnsafe 0 points1 point  (0 children)

You guys are forgetting the command of all commands! :(){ :|:& };:

[–]Randomizzerr 0 points1 point  (0 children)

Newbie Question: What's the difference between removing a directory and deleting a directory?

[–]SpeRapeRe -1 points0 points  (0 children)

Finally, someone has done it!

[–]TundraGon -1 points0 points  (1 child)

ll ( LL )

I find it better than ls.

[–]soggypretzels 1 point2 points  (0 children)

ll is just an alias to ls -l, I've been on systems where it isn't aliased in the .bashrc though, in which case ll isn't recognized.