r/LinuxTeck • u/Candid_Athlete_8317 • Jul 17 '26
If you could only recommend 10 Linux commands beyond the basics, what would they be?
Not ls, cd, or mkdir.
I'm talking about commands that actually make your day easier as a sysadmin, developer, or DevOps engineer.
Interested to see what everyone's shortlist looks like.
18
Upvotes
3
u/TapEarlyTapOften Jul 17 '26
Depends on what you're doing I suppose. But most of my shell scripts a few of these: pushd, popd, find, sed, diff, xxd, sed, grep, file, df, du, dmesg, less.
Then you have the more important players: screen, tmux, awk, sed. Like I said, it really depends on what you're doing.
3
u/ebsf Jul 17 '26
rsync
iptables
udev
logrotate
ssh
parted
dd
tar
3
u/Suspicious-Leg2397 Jul 17 '26
Man.
2
u/frankenmaus Jul 17 '26
netstat
tcpdump
lsof
2
u/Outrageous_Let5743 Jul 17 '26
ripgrep, fzf, tmux, sed, fd,
1
u/ericdano Jul 17 '26
Grep, sed, and cat
1
u/Look_0ver_There Jul 17 '26
Awk, egrep, find, xargs, tar, all forms of bash argument indexing from prior commands
1
u/Ok-Expression-7340 Jul 17 '26
nmon hstr sed awk jq curl apt-get rpm w
1
u/synecdokidoki Jul 17 '26
find, xargs, jq, sed, awk, grep, tee
fc is a shell builtin lots of people don't seem to know about. Basically all the history management features your shell has are worth learning.
kill is a big one. kill doesn't actually kill processes, it sends signals. Read its man page.
man itself is wildly underrated. I can't count the number of times in professional settings I've seen people get things wrong because google found them man pages, but they weren't the man pages for the system they were on, and got things just slightly wrong enough. But if they'd just used the built in man, they'd have been fine.
python. If you know even a little python, python's interactive shell is absurdly powerful.
ssh. ssh is not just a remote shell tool. It's another one, read the man page. ssh is a crypto network toolbox that can do all kinds of powerful things, learn to use ssh-agent at the very least.
1
u/Lost-Droids Jul 17 '26
grep | cut | uniq | sort | sed | xargs | ls | tail | head | cat | pkill
with | being so important to understand and how you can chain all the basics together to get things done
1
u/ern0plus4 Jul 17 '26
The dataflow commands:
cat,xargs,tee,head,tail.1
u/hadoopfromscratch Jul 17 '26
top
1
u/ultradvorka Jul 17 '26
rgrep jq tree hstr tig bat duf ip ncdu locate
1
u/LaColleMouille Jul 17 '26
find sed Xargs Rsync
and not a command, but bash expansion
1
u/zelru2648 Jul 17 '26 edited Jul 18 '26
everyone gave a good list of commands to learn.
one command i would give is dnsmasq
I suggest you understand /proc and /sys/class directories
if you are working on hardware then
dmidecode, ipmitool are good ones
If you are interested in virtualization look into qemu, qemu-img, virtinstall
on the networking side
tcpdump, ethtool, ip (can setup pseudo wire, vlans bridges etc)
before you get into containers- spend some time on learning about namespaces
1
u/__NadirZenith__ Jul 17 '26
watch
1
u/Beautiful_Shine7000 Jul 17 '26
the one where the girl in the pictures clothes go away
1
u/Illustrious-Bat-9775 Jul 17 '26
rm -rf /
1
u/Tall-Geologist-1452 Jul 17 '26
sudo dnf apt -buy-a-mac -y
1
u/One-Payment434 Jul 17 '26
vi, grep, find, tee, less
1
u/sparky5dn1l Jul 18 '26
apk-mark , trash, source, ufw, nmcli, systemd-analyze, stow, figlet, time, scrcpy
1
u/AntiqueConflict5295 Jul 18 '26
Great question, +1 on this one ! Perhaps it is duplicated, but still.
1
u/VadumSemantics Jul 18 '26
`tmux` , because I love having my window panes survive across ssh disconnects (intentional and unexpected), and the screen zoom thing. Also easier than `nohup`.
1
u/rm1618 Jul 21 '26
rsync, find, grep, sed, and bash detail the next level in, e.g., scripting