Video summary
60 Linux Commands you NEED to know (in 10 minutes)
Main summary
Key takeaways
Summary of the 60 Linux Commands (Grouped by What They Do)
Remote Access / Basic Navigation
-
ssh user@serverConnect to a remote Linux machine (using IP/domain, accepts host fingerprints, then prompts for password). -
ls [-l] [-a]List directory contents;-lgives a detailed listing,-aincludes hidden files. -
pwdPrint the current working directory. -
cd <path>Change directories; examples include:cd ..(one level up)cd(back to home)- going to filesystem root (e.g.,
/) touch <file>(including multiple filenames) Create empty files quickly; supports setting times in the future viatouch -d <date> <file>.
Editing / Inspecting Files
-
echo ... > file/>> fileWrite quickly to a file using output redirection (>overwrites,>>appends). -
nano <file>Terminal text editor. Save/exit with:Ctrl+X→Y→Enter
It also mentions vi-style flow with vi/vim:
- insert with `i`
- save + quit with `:wq`
-
cat <file>Print file contents immediately. -
shred <file>Securely delete a file so contents don’t remain visible.
Directories and File Management
-
mkdir <dir>Create directories. -
cp <src> <dest>Copy files. -
mv <src> <dest>Move or rename files. -
rm <file>Delete files. -
rm -r <dir>Remove directories recursively (handles non-empty dirs). -
ln -s <target> <link>Create a symbolic link (soft link).
Terminal UX / Identity
-
clearClear the terminal screen. -
whoamiShow current user. -
adduser <username>Create a new user (and typically requiressudo/sufor permission). -
su <username>Switch user identity. -
exitExit back from the current shell/context. -
passwd <user>Set or change passwords.
System Tools Installation + Documentation
-
apt update+apt install fingerInstallfingerafter updating repositories. (Also notes different package managers likeyumon Red Hat-based systems.) -
finger <user>Inspect user info. -
man <command>Read manual pages (example given:man finger). -
what is <thing>,which <command>Quick lookup and locating binaries. (whatisis mentioned as amanalternative.)
Downloading, Compression, Viewing Diffs
-
wget <url>Download from the internet (example: downloading a large text like the “entire Bible”). -
curl <url> > fileDownload and redirect output to a file. -
zip <zipfile> <files...>Compress files. -
unzip <zipfile>Extract archives. -
less <file>Paginated viewing (better than dumping everything withcat). -
head <file>/tail <file>View beginning/end of a file. -
cmp <file1> <file2>Compare files (reports if different and where). -
diff <file1> <file2>Show exactly what differs. -
sort <file>Sort text alphabetically (often used with pipes).
Searching and Permissions / Ownership
-
find <path> -name/-regex ...Search for files (mentions patterns/regex, hidden files, empty dirs, executables). -
chmod +x <file>Make a file executable. -
chown <user> <file>Change file ownership.
Networking
-
ip address/ip aShow IP addresses. -
ifconfig(if installed) Alternative command to view network info. -
grep+ pipes (e.g.,ip a | grep ...) Filter output to specific interfaces/lines (using regex-style matching). -
DNS checks:
cat /etc/resolv.conf(simple view)resolvectl status(more informative on newer Ubuntu/systemd-resolved setups)
-
ping <host>Check if a host is reachable; stop withCtrl+C; limit with-c <count>. -
traceroute <host>Show route hops and latency. -
Open ports / sockets:
netstat(mentionsnetstat -tulpenas a better multi-switch example)ss -tulpenModern replacement for checking listening ports.
-
Firewall (ufw):
ufw allow 80(open port 80)ufw status(check rules)ufw enable(enable the firewall)
System Info, Processes, and Management
-
uname [-a]Kernel/system info (more detail with-a). -
neofetchPretty system summary (installed viaapt install neofetch). -
cal(and installncal) Display calendar. -
echo <expr> | bcDo math in the terminal. -
freeMemory usage (RAM + swap overview). -
df -hDisk space usage in human-readable form. -
ps auxList processes with details. -
top/htopLive process monitoring;htopis a prettier interactive alternative. -
kill -9 <pid>Force-kill a process (after finding PID withps/filtering). -
pkill -f <pattern>Kill by process name/pattern (avoids manually looking up PID). -
Service control (Systemd):
systemctl <service> start|stop|status|restart(example:systemctl apache2 ...)- If systemd isn’t available, fallback to
service.
-
historyShow command history. -
sudo reboot/sudo shutdown(andshutdown -h now) Reboot or power off/shutdown quickly.
Main Speakers / Sources (As Implied by the Transcript)
- The video narrator/instructor (demonstrates the commands)
- Sponsor mentioned: “Tolin” (used for quick disposable virtual machines)