TubeSum ← Transcribe a video

37 Insane Linux Commands You Need to Know in 2025

0h 11m video Published May 22, 2025 Transcribed Aug 5, 2026 N NetworkChuck
Intermediate 5 min read For: Linux users with basic command-line experience looking to enhance their toolkit with modern alternatives.
AI Trust Score 70/100
⚠️ Average / Some Fluff

"Delivers a solid list of 37 commands with demos, though some are basic and the sponsor segment pads the middle."

AI Summary

This video presents 37 advanced Linux commands that enhance productivity and system management, covering disk usage, file management, network diagnostics, and AI integration. The presenter demonstrates each tool with practical examples, emphasizing visual and interactive alternatives to traditional commands.

[00:02]
Introduction to 37 Linux Commands

The video kicks off with a promise of 37 Linux commands, highlighting their power and utility, including visual and interactive tools.

[00:16]
NCDU for Disk Usage

NCDU provides a visual, interactive way to see disk usage, allowing deletion and drill-down into folders, unlike traditional df/du.

[00:29]
Duff and Ripgrep Alternatives

Duff offers a prettier version of df, while ripgrep (with coffee) is a fast Rust-based grep alternative for searching logs, functions, and API keys.

[01:00]
Mosh for Remote Connections

Mosh is an SSH alternative that supports roaming, maintaining connections across network changes, ideal for mobile use.

[01:39]
lshw for Hardware Info

lshw displays comprehensive hardware details, with options to filter by CPU, memory, network, and disks.

[02:03]
MTR for Network Diagnostics

MTR combines ping and traceroute, providing live hop-by-hop latency and packet loss tracking.

[02:20]
FD and FZF for File Management

FD is a faster, colorized find alternative, while FZF enables interactive filtering of lists, useful for history and process management.

[02:47]
Ranger and Zoxide for Navigation

Ranger is a terminal file manager with Vim-like features, and Zoxide learns frequent directories for quick navigation.

[03:11]
Exa for Listing

Exa replaces ls with better color coding, tree view, and icons.

[03:24]
Glances and iotop for Monitoring

Glances is an all-in-one dashboard with web server and API options; iotop shows real-time disk I/O usage by process.

[03:50]
stat and dstat for Details

stat provides detailed file metadata, while dstat combines vmstat, iostat, and netstat for comprehensive system stats.

[04:18]
watch and progress for Monitoring

watch reruns commands at intervals (e.g., nvidia-smi), and progress shows progress of running commands like scp.

[04:56]
dog and termshark for Network

dog is a colorful dig alternative with DNS over TLS, and termshark is a TUI for tshark, allowing interactive packet analysis.

[05:37]
lsof for Ports

lsof -i shows processes using specific ports, useful for identifying what's listening.

[05:52]
ipcalc for Subnetting

ipcalc quickly calculates subnet ranges, masks, and wildcard info from CIDR notation.

[06:20]
Wormhole for File Transfer

Wormhole enables peer-to-peer, end-to-end encrypted file transfers with a simple command.

[06:48]
systemd-analyze for Boot Time

systemd-analyze blame shows which services slow boot, and critical-chain helps identify bottlenecks.

[07:03]
procs and lazydocker

procs is a prettier ps, and lazydocker provides an interactive TUI for Docker management.

[07:18]
rsync and shred

rsync syncs only differences and resumes transfers; shred overwrites files to prevent recovery.

[07:46]
moreutils tools

Moreutils includes ts for timestamps, errno for error codes, ifdata for network info, vidir for editing, and vip for pipeline editing.

[08:15]
unp and jq

unp unpacks any archive by guessing type, and jq is a powerful JSON query tool.

[08:29]
Taskwarrior for Tasks

Taskwarrior is a CLI task manager with add, list, and done commands.

[08:55]
asciinema for Recording

asciinema records terminal sessions to text-based cast files, playable with pause, and can convert to GIF.

[09:53]
Fabric and Ollama for AI

Fabric integrates AI with commands, and Ollama runs local models to generate commands on the fly.

The video showcases a curated list of modern Linux commands that significantly improve efficiency and user experience, from disk management to AI-assisted workflows. It encourages viewers to explore these tools and integrate them into daily use.

Mentioned in this Video

Study Flashcards (12)

What does NCDU do?

easy Click to reveal answer

NCDU provides a visual, interactive way to see disk usage, allowing deletion and drill-down into folders.

00:16

What is the advantage of Mosh over SSH?

medium Click to reveal answer

Mosh supports roaming, maintaining connections across network changes like Wi-Fi to cellular.

01:00

What command shows hardware details and can filter by CPU?

medium Click to reveal answer

lshw, with options like -C CPU to show only CPU info.

01:39

What does MTR combine?

easy Click to reveal answer

MTR combines ping and traceroute, providing live hop-by-hop latency and packet loss.

02:03

What is the purpose of Zoxide?

medium Click to reveal answer

Zoxide is a smarter cd that learns frequent and recent directories for quick navigation.

02:59

What does the 'watch' command do?

easy Click to reveal answer

It reruns any command at specified intervals, e.g., every half second.

04:18

What is Termshark?

medium Click to reveal answer

Termshark is a terminal user interface for tshark, allowing interactive packet analysis.

05:11

How does Wormhole transfer files?

medium Click to reveal answer

It uses peer-to-peer, end-to-end encrypted transfer with a simple command.

06:20

What does 'systemd-analyze blame' show?

easy Click to reveal answer

It shows which services take the longest to start during boot.

06:48

What is the purpose of 'shred'?

medium Click to reveal answer

Shred overwrites a file multiple times before deletion to prevent data recovery.

07:46

What does 'unp' do?

medium Click to reveal answer

It unpacks any archive by guessing the type based on the file.

08:15

What is asciinema used for?

medium Click to reveal answer

It records terminal sessions into text-based cast files that can be played back and converted to GIF.

08:55

💡 Key Takeaways

🔧

NCDU visual disk usage

Demonstrates a more intuitive way to manage disk space compared to traditional CLI tools.

00:16
💡

Mosh roaming capability

Highlights a practical solution for maintaining remote connections on the go.

01:00
🔧

Wormhole encrypted transfer

Shows a simple yet secure method for transferring files between systems.

06:20
🔧

asciinema recording

Provides a novel way to share terminal sessions, useful for tutorials and documentation.

08:55
💡

AI-assisted command generation

Illustrates how local AI models can streamline command creation, a forward-looking workflow.

09:53

[00:02] killer. And it can even show you icons. Look at that. I'm using my mouse right now. Such a cool tool. This thing is kind of magic. How amazing is that? It's powerful. I mean, look at that. That's a superpower. 37 Linux commands. You will

[00:16] not believe the last few. Let's go. NCDU. Find out what's taking up so much space on your hard drive. It's like DF and DU, but better because it's visual and interactive. Woohoo. I can delete stuff right here.

[00:29] and even drill down into folders. Duff, the prettier version of DF. It shows you drive usage, but it just looks nicer. RIP Grap GP, but with coffee. Powered by Rust. It can do things like quickly finding errors in

[00:44] your logs. Look how fast that was. Find all your Python functions. That's so nuts. Or files that mention an API key. Seriously, it just makes Gre cry. Now, use Mosh to connect to your remote servers. Why? It's like SSH, but it

[01:00] supports roaming. Lose your connection, go from Wi-Fi to cellular. It keeps you That's killer. So, we'll jump into my remote server at Hostinger, the sponsor of this video. I forgot my password. This is embarrassing. Thankfully, I can

[01:14] management console, change my password. up, it doesn't work cuz I'll need mosh maintains that connection. Thankfully, I can log into Hostinger in my browser

[01:26] terminal. Get that installed and let's try it again. Boom. So, as long as you connection maintained. Now, while we're sitting here in my Hostinger VPS, let me show you another command. This is lshw. This will show me everything I need to

[01:39] know about the hardware resources in my system. I mean, it shows you everything. But if you want to find out just about the CPU, we can do this. LHW do a tick the CPU, we can do this. LHW do a tick C. Let's say CPU, just the CPU info. AMD

[01:51] epic. We can do the same thing for memory network discs. And by the way, you do get those specs for $6.99 a month. It's a whole home lab in the cloud. Host some

[02:03] practice some Linux commands, and if you use my code network chuck, the price Picture this. Ping and trace route have a baby. That's MTR. And that was weird. This tracks latency and packet loss hop by hop live. It's amazing. FD. It's like

[02:20] find, but it has less letters. Also, it's better. Better default settings insensitive, ignores hidden files and directories, and it has colorized output by default, and it's often faster. FCF or FuzzyFinder, interactive filtering of

[02:34] any list or pipe. We can look through our history, pipe it into FCF, and we powerful when you chain commands together. Doing something crazy like this, so I can easily kill a running process.

[02:47] Ranger is like a gooey file manager, but it's in the terminal. It has some Vim goodness, bulk renames, previews. That's kind of awesome. I don't use CD anymore. I use Z Oxide. It's like CD, but it's more forgiving. It will look at frequent

[02:59] and recently used directories and rank them. Check this out. I'm in the root right now. Normally, I'd have to type in tilda for my home directory to get to downloads. But no, Z has learned me. I can simply type in downloads, and it

[03:11] takes me right there. If I type in ZI and hit enter, it'll actually use FCF to give me a selection of my directories interactive. I don't use ls anymore either. I use Exa. It's got better color coding, tree view built in, and it can

[03:24] even show you icons. Look at that. Glances is your all-in-one stat dashboard. It shows you pretty much everything from a glance. And it has a ton of options. You can run it as a web server, which I could not

[03:36] But it does run an API, so you can monitor your stuff remotely. IO top. See show you a top style list of the processes using the most dis IO. And it's updating in real time. If you want to know every single little detail about

[03:50] a file, look no further than stat often built into your operating system. We'll type it in, look for a file, and it tells you everything from the day it was born. I know number. And if we do -f, it'll show us file system specific

[04:03] information like the ID. Definitely one of the nerdier commands, but still timeline view of exactly what you want to see. CPU, RAM, disk, network, memory. Run it by itself or add some options like top CPU. This combines aspects of

[04:18] VM stat, IO stat, I have stat, and net stat kind of all in one. I use the watch command all the time. It reruns any command every so many seconds you set. second for the

[04:31] Nvidia-smi command, and I can monitor my GPU cuz it's executing that command every half a second. Progress is a powerful command. Watch this. Type it in here. And right now it's showing me the progress of a secure copy happening in

[04:43] one of my T-Mug sessions. See, there it is right here. And I can actually type this in on the other side. Although it's kind of weird on the metrics. It can commands. Progress can also monitor multiple commands at once. Now, we used

[04:56] to use dig for DNS lookups. That's kind of messy. Dog is better. I mean, look at that. It's got some nice colors. Can do DNS over TLS. Although NASA wouldn't let me. You can output it in JSON. It's powerful. Now, you may have heard of TCP

[05:11] dump or even T-shark, but you know what's better? Term Shark. It's essentially a terminal user interface for T-shark. I mean, look how fun this is. I'm using my mouse right now. That's awesome. Let's filter by

[05:25] DNS. Oh my gosh. Is hostinger using Proxmox? Ah, this is fun to see. Let's keep that pcap. We can actually load in that pcap again. and examine

[05:37] it. Such a cool tool. This one might feel basic, but it's very fun. LSOF dash I. And then let's specify a port. Let's say port 22. This will show us the process that owns that port or the one that's using it. Let's check out

[05:52] port 80. Docker is using that one. There's something I've learned 40 times Subnetting. Thankfully, there's a command line tool for that. It's called command line tool for that. It's called IP calc. It's a quick subnet calculator

[06:05] that'll spit out ranges, mask, wildcard info just from using cider. Check this info just from using cider. Check this out. Let's do IP calc for 10.7.8 94 slash. Let's do a weird one. 18. All the info right there. Wormhole

[06:20] peer-to-peer end toend encrypted file transfer. This thing is kind of magic. With one command, I'll start to send my file, put it through a wormhole. It spits out this command. And over here in my hosting or VPS, I input that command

[06:32] in and start to receive. How amazing is that? Oh, by the way, that can be dealing with a firewall. Why is your system starting up so slow? What's figure it out right now. Sorry, that was a lot of energy. With the

[06:48] systemdanalyze command and then add blame at the end, showing you which services take the longest on the last boot up. We can also do critical chain dependencies helping us to understand the bottlenecks caused by sequential

[07:03] initialization. PS I'm not using ps anymore. That was lame. I'm using proxs. It's a prettier, more friendly version of psux. I can sort by CPU. View a tree. Way better than ps. Lazy Docker is

[07:18] a treasure. Check this out. One command. We get an interactive terminal user everything. It's probably my new favorite tool. I love RS sync for file transfers. It's smart, delta only, so it only syncs the differences. It can

[07:33] resume broken transfers and mirrors over SSH. Definitely the best way to copy directories or large files. Did you know that RM doesn't actually remove a file? It just unlinks it from the file system, but it's still there until it gets

[07:46] you'll want to use shred. Shred overwrites a file multiple passes before it deletes, thwarting data recovery. More utils gives us more utils, like this. Use the TS command to add timestamps to anything you're doing. Use

[08:00] error no to find out what error numbers mean. Use if data to look at your network interfaces more simply. You get much cleaner output. Use vidir to edit editor, which seems very dangerous. I'm scared. VIP allows you to insert your

[08:15] command pipeline and edit the data that is being piped between UNP will unpack any archive. I wish I would have found this one way earlier.

[08:29] fun. It actually guesses based on the archive type what the command should be. JQ is the JSON lightsaber. It will query and transform JSON output. I can do amazing oneliners using jq to grab exactly what I want to see. Getting

[08:43] pretty crazy with my output. Task Warrior is task management from the CLI. You really never have to leave. Check this out. We can add a task. List our this out. We can add a task. List our tasks. How cool is that? Mark task

[08:55] done. It told me I have more urgent tasks. I kind of love this. I actually might start using this. Hands down the most amazing command on this list. Ask Cinema or Ask Cinema. You can record your terminal sessions into small

[09:08] your terminal sessions into small textbased cast files. Watch this. textbased cast files. Watch this. I'm

[09:25] stuff. Hit control D to finish. Save it locally and we can play it back. Look at actually in the terminal. You can pause it with the spacebar. Go in here and that's so fun. You can self-host a server that you can upload these

[09:39] command you can use with Aski Cinema. Ask Cinema a another tool they make will convert your command line video into a GIF or a GIF. I'm not sure how to say it anymore. That is amazing. I'm just thinking like when I want to show

[09:53] command line, just make a quick GIF. GIF, send it to them. Fabric. If you're to interact with AI. I've shown it before, but check this out. Combine it with the commands we already know. For example, I might pipe in my history and

[10:08] commands. Look at that. That's a some recommendations, use it to analyze your SIS log. And this I'm still exploring, but the possibilities are endless. Use AI or

[10:21] things like Olama to help you craft commands on the fly. I'm a big fan of Olama because you can run it here locally. Check this out. I'll create a custom Olama agent. Its only job is to help me create commands on the fly. And

[10:33] then I simply run the model and say things like create a command that will find out what is taking up all of my disc space. Look how fast that was. Or

[10:45] tell it to build an inmount command. It's amazing. Which command was miss something cool? Let us know. Share the community. And by the way, have you sure you do hit that like button, subscribe, comment, cuz you got to hack

[11:01] subscribe, comment, cuz you got to hack YouTube today. Ethically, of course.

More from NetworkChuck

View all

⚡ Saved you 0h 11m reading this? Transcribe any YouTube video for free — no signup needed.