9 AMAZING COMMAND LINE TOOLS for Linux

Published 2022-07-12
Get 100$ credit for your own Linux and gaming server: www.linode.com/linuxexperiment

Grab a brand new laptop or desktop running Linux:www.tuxedocomputers.com/

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

YouTube: youtube.com/channel/UC5UAwBUum7CPN5buc-_N1Fw/join
Patreon: www.patreon.com/thelinuxexperiment

Or, you can donate whatever you want: paypal.me/thelinuxexp?locale.x=fr_FR

📹 MORE VIDEOS FROM ME
Linux news in Shorts format:    / @linuxshorts5136  
Gaming on Linux:    / @thelinuxgamingexperiment1440  
I'm also on ODYSEE: odysee.com/$/invite/@TheLinuxExperiment:e

🏆 FOLLOW ME ELSEWHERE:
Twitter : twitter.com/thelinuxEXP
Mastodon: mastodon.social/web/@thelinuxEXP
Pixelfed: pixelfed.social/TLENick
Discord: discord.gg/xK7ukavWmQ

📷 GEAR I USE:
Sony Alpha A6600 Mirrorless Camera: amzn.to/30zKyn7
Sigma 56mm Fixed Prime Lens: amzn.to/3aRvK5l
Logitech MX Master 3 Mouse: amzn.to/3BVI0Od
Bluetooth Space Grey Mac Keyboard: amzn.to/3jcJETZ
Logitech Brio 4K Webcam: amzn.to/3jgeTh9
LG Curved Ultrawide Monitor: amzn.to/3pcTVDH
Logitech White Speakers: amzn.to/3n6wSb0
Xbox Controller: amzn.to/3BWmIA3
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

Get the GIF from the video: nextcloud.thelinuxexp.com/index.php/s/CKSSmrkyB5EN…

Trash-cli & rmtrash:

github.com/andreafrancia/trash-cli
github.com/PhrozenByte/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:

github.com/wting/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

github.com/ranger/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

github.com/nvbn/thef*ck (replace the "*" by a "u", of course)

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

github.com/tldr-pages/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

github.com/sgentle/caniuse-cmd

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

github.com/GitSquared/edex-ui/blob/master/README.m…

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

github.com/espeak-ng/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

github.com/lukechilds/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 durat

All Comments (21)
  • 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.
  • @sbrl
    Maintainer of tldr-pages here. Thanks for giving us a mention! :D
  • @scheimong
    For me, the biggest one missing is fzf. It makes shell history searching and navigating directories so much easier.
  • @toxiccan175
    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
  • @yuu-kun3461
    07:15 you can do sudo !! which will execute the previous command with sudo.
  • @70shahin
    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.
  • @Amplifimusic
    i've never even thought about having a bin for linux, definitely better than just purging files with rm. thanks nick!
  • @TazerXI
    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.
  • @aditeya1024
    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.
  • 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
  • @maxxiong
    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.
  • @Mikey_xx_
    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.
  • @Babalas
    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
  • @TiagoTiagoT
    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)
  • @matbme
    Bat is a must-have for me. Much better than default cat and can also be used as a man pager
  • I've never heard of any of these commands, and most of them seem incredibly useful. This video instantly got bookmarked, it will definitely come in handy. Thanks!
  • One of the best videos i have ever watched that talked about the cli-tools. Almost all were the tools I needed but didn't even know i needed them. I just love linux. Thanks a lot nick for making this one.