9 AMAZING COMMAND LINE TOOLS for Linux

preview_player
Показать описание


👏 SUPPORT THE CHANNEL:
Get access to a weekly podcast, vote on the next topics I cover, and get your name in the credits:

📹 MORE VIDEOS FROM ME

🏆 FOLLOW ME ELSEWHERE:

📷 GEAR I USE:
*Amazon Links are affiliate codes and generate small commissions to support the channel*

This video is distributed under the Creative Commons Share Alike license.

00:00 Intro
00:33 100$ FREE CREDIT for your Linux or Gaming server
01:30 trash-cli & rmtrash: put files in the trash
03:46 autojump: move quickly to often visited directories
05:31 ranger: terminal file manager
06:32 the fuck: auto-correcting your mistakes
08:12 tldr: actually readable man pages
09:20 caniuse: check which browser supports what
10:24 eDex-UI: full screen terminal dashboard
11:32 espeak-ng: make your computer speak
12:35 gifgen: create gifs from any video file
13:52 And more!
14:33 Get a laptop or desktop that runs Linux out of the box
15:53 Support the channel

Trash-cli & rmtrash:

These let you put files in the trash with the command line, and follow the same options and arguments as the rm command, so you can alias one to the other.

The syntax is really easy, with trash-put to put a file in the trash, trash-list to list all files, trash-restore to restore a file, and trash-empty, well, you guessed what this one does.

Autojump:

This is a tool that lets you super quickly jump into a specific directory, based on the folders you visit the most. Autojump starts maintaining a database of the folders you visit based on your history, the more you visit a folder, the higher it's weight in the database.

Ranger

If the ls command is not enough for your file management needs, you can also use ranger. it's a command line file manager that uses the vim keyboard shortcuts to navigate and interact with files.

TheF*ck

So, the F*ck is a project that will autocorrect your mistakes when you type a command. Let's say you're trying to install a package on Fedora.

It will work with a LOT of different errors, like mistyping an argument, or command, forgetting an argument, and a lot more stupid mistakes.

TLDR

Another super helpful command is TLDR. If you're starting with the command line, or trying to learn a new command, you might find the --help option insufficient, and the man command way too overstuffed with text.

Caniuse

There is an easy way to check which browser supports what, with the "caniuse" command. You probably already know about the caniuse website, but you can also check it through your terminal, by just typing caniuse followed by the property or feature you want to use.

edex-UI

It basically displays a ton of system information, multiple terminals, your filesystem, your network usage, an on screen keyboard for touch users, and more!

espeak-ng

espeak-ng lets you type any sentence you like, and have your computer read it. It supports multiple voices, which you can list with the --voices option, and invoke by adding the argument -v followed by the voice name.

Gifgen

This little tool will let you turn any video file into an animated image, and it lets you specify the framerate, with the -f option, and even select which portion of the video you want to keep, with the -b option to set the beginning time, and the -d option to set the duration.
Рекомендации по теме
Комментарии
Автор

Some great suggestions here! For the "forgetting to type sudo" problem, there is a simple way to do this without an extra package. `sudo !!` will repeat your last command with sudo in front of it. This method is more flexible, too.

atreusduvelll
Автор

Maintainer of tldr-pages here. Thanks for giving us a mention! :D

sbrl
Автор

For me, the biggest one missing is fzf. It makes shell history searching and navigating directories so much easier.

scheimong
Автор

eDex-UI actually seems pretty cool. It's a good shortcut for us to look like hackers in front of our less tech-savvy friends haha

toxiccan
Автор

07:15 you can do sudo !! which will execute the previous command with sudo.

yuu-kun
Автор

You said, you are non dev.
as a power user, with some coding experiences, I've learnt A LOT from this video. plz more of this type.

shahin
Автор

I'd recommend lf (LF ) for those who find ranger slow. Its written in go and much faster, however it requires more configuration than ranger.

aditeya
Автор

I cannot believe you forgot (I think) the most important cli tool, the one you run to show people you use a terminal:

Cmatrix

And for those on windows, I guess you have "cd / && tree /f" (-f for Linux) to get a similar effect.

TazerXI
Автор

You're a machine of video content creation.

clintquasar
Автор

The irony about the rmtrash thing at the beginning as the I always perma-delete from the GUI instead of using Trash, but having an option to trash from the CLI appeals to me XD

christiansilvermoon
Автор

i've never even thought about having a bin for linux, definitely better than just purging files with rm. thanks nick!

Amplifimusic
Автор

I still prefer just using the GUI for most things (kinda funny because I also use swaywm but that's more because of bugs in kde wayland). Autojump and tldr do seem nice though. And I think most dev setups that support old browsers already use caniuse to add fallbacks for old browsers.

maxxiong
Автор

Bat is a must-have for me. Much better than default cat and can also be used as a man pager

matbme
Автор

Very cool, loved frack, tldr and especially eDesk, thanks Nick!

anthonystark
Автор

Two I would recommend are Midnight Commander (text-based two-pane file browser, with built-in text and hex editor, and lots of other stuff), and htop (shows tons of info about running processes and lets you do stuff like change priorities, kill etc)

TiagoTiagoT
Автор

fd - find replacement. Love it's type filtering i.e. fd -e md -x wc -l to line count markdown or fd -t cmake version to find version in cmake files

fasd - same functionality as autojump.. hit tab to expand matching locations or use to prompt

fzf - make your own searchable lists with previews. I.e. ff takes fasd lists and lets me fuzzy find over them. gli does a git log displaying a tree of commits in the bottom and a preview of the changes at the top

Babalas
Автор

The amount i've written "f#$k" when some command returned error is innumerable.
The command better be f4#%king working lol

Great video as always TLE

necrobynerton
Автор

quick tip for Ranger: start Ranger by typing ". ranger" or "source ranger" and when you quit ranger you will be dropped into the directory you left in ranger. Since I use ranger all the time, I just use an alias for it.

daedalus_
Автор

This is well done and documented. I know, you said don't run off and install as the video was going, but I couldn't help it. I like your presentation, and the fact you had the chapters listed as well as the github locations. You are very much appreciated and am glad I subscribed.

Mikey_xx_
Автор

Disliked because no mention of hollywood and cmatrix. How are you going to look cool online without them?

PranjayVarshney