12 GREAT command line programs YOU recommended!

  Рет қаралды 222,355

The Linux Experiment

The Linux Experiment

Күн бұрын

Try out Proton Mail, the secure email that protects your privacy: proton.me/mail/TheLinuxEXP
Grab a brand new laptop or desktop running Linux: www.tuxedocomputers.com/en#
👏 SUPPORT THE CHANNEL:
Get access to:
- a Daily Linux News show
- a weekly patroncast for more personal thoughts
- polls on the next topics I cover,
- your name in the credits
KZbin: www.youtube.com/@thelinuxexp/...
Patreon: / thelinuxexperiment
Or, you can donate whatever you want:
paypal.me/thelinuxexp
Liberapay: liberapay.com/TheLinuxExperim...
👕 GET TLE MERCH
Support the channel AND get cool new gear: the-linux-experiment.creator-...
🎙️ LINUX AND OPEN SOURCE NEWS PODCAST:
Listen to the latest Linux and open source news, with more in depth coverage, and ad-free! podcast.thelinuxexp.com
🏆 FOLLOW ME ELSEWHERE:
Website: thelinuxexp.com
Mastodon: mastodon.social/web/@thelinuxEXP
Pixelfed: pixelfed.social/TLENick
PeerTube: tilvids.com/c/thelinuxexperim...
Discord: / discord
Timecodes:
00:00 Intro
00:58 Sponsor: Proton Mail
02:23 Package manager for CLI apps
03:18 Find files easily
04:23 Better terminal history
05:24 Save your dotfiles
06:50 Tweak your battery life
08:26 Analyze disk space usage
09:24 Reboot on a specific OS
10:08 Better system monitor
10:53 Better CAT
11:28 Quick CLI help
12:09 Tiling WM for your terminal
13:15 More legible file list
13:55 Recommend yours!
14:18 Sponsor: Tuxedo Computers
15:19 Support the channel
#Linux #terminal #commandline #linuxcommunity #linuxcommands #linuxcommands
So, our first recommendation will be homebrew, it's sort of a pre-requisite to get a lot of command line utilities that your distro might not have packaged.
You can install homebrew with one command line, and then you can get any CLI utility you want by running brew install, followed by the name of the tool you need.
Our second pick is FZF, for Fuzzy Find. It lets you search files extremely fast using their names, but it can also look through command history, processes, bookmarks, git commits, and more.
ATUIN thing replaces your shell history with a database you can search through super easily. Once it's installed with brew, press the up arrow key or control +r, and you'll get a search interface to look for all your commands.
CHEZMOI lets you manage your dotfiles. It lets you share these config files across devices by syncing them to a got repo, and it can interface with a very large variety of password managers to keep everything safe.
If you use a laptop, and you find Linux's batter life to be a bit subpar, maybe look at POWERTOP.
Just run the command powertop, and you'll see all processes. Using tab, you can navigate to various statistics, but also to the "tunables" screen, which will show you what powertop identifies as a bad configuration for battery life.
If you'd like to tune these, you can rune powertop --auto-tune, and it will change all the settings to what it believes are "good" options for battery life saving, although it might impact the performance.
If you'd like to quickly analyze what uses a lot of disk space on your computer, or on a remote server, you might want to replace the du and df commands with DUST.
If you run a dual boot, and you're facing problems with accessing one of your installed systems, you can force GRUB to reboot into a specific system, just for the next boot, using the grub-reboot command, followed by the number of the grub entry for that system.
If you need to monitor for resource usage on your computer, you might be using top, or htop, but BTOP is a better option. It looks better than htop or top, and it's also more legible.
If you often use the cat command to read a file, maybe try BAT instead. It does the same thing, but it also has syntax highlighting for a bunch of files, and it communicates with git to show modifications in files, with the usual Plus and minuses symbols.
If man is too much for you and is too much reading, and if the --help option isn't enough, why not try TLDR? It gives you an abridged version of the contents of MAN for most of the available programs and commands, and it makes things more legible, and easier to parse at a glance.
If you like to split a terminal or a tty into multiple terminals, ZELLIJ is a nice alternative to things like tmux. It's basically a tiling window manager for your terminal workspace: you can define your own layout, it supports plugins, floating panes, and more.
You can run it by running the zellij command, and then you can create a new pane pressing alt + N, you can move a pane using control +h, or make it floating with Control + P, then W.
If you often use ls to list files in a directory, you might want to take a look at EZA. It does the same job, as in, it lists the contents of a directory, but it does it with way more details, and a more legible interface.

Пікірлер: 734
@TheLinuxEXP
@TheLinuxEXP 3 ай бұрын
Try out Proton Mail, the secure email that protects your privacy: proton.me/mail/TheLinuxEXP
@FrankCastiglione
@FrankCastiglione 3 ай бұрын
Soon I'll try. I tested Tutanota/Tutamail but I didn't like user interface. Proton Mail looks good.
@rhalloff
@rhalloff 3 ай бұрын
I'm a huge Proton Fan. I used most of their apps.
@guandulin
@guandulin 3 ай бұрын
I do use proton, I am still waiting for the drive Linux app.
@user-hl7ic7wc1r
@user-hl7ic7wc1r 3 ай бұрын
Proton gave recovery email addresses to authorities. You might as well use gmail
@eb37fnrcty19
@eb37fnrcty19 3 ай бұрын
@@user-hl7ic7wc1r source please? might help us out
@defekT1312
@defekT1312 3 ай бұрын
Just started to watch this and I already want to Say: Yes please more of this. Community recommendations are always the best because it's real life experience and no advertising.
@haplozetetic9519
@haplozetetic9519 3 ай бұрын
Agreed. Learning Linux back in '98 or '99 was a real slog. I missed so many things that would have made it a lot easier much sooner with some suggestions.
@cexeodus
@cexeodus 3 ай бұрын
for real
@ClokworkGremlin
@ClokworkGremlin 3 ай бұрын
Picked up my first Linux malware experience, so that was fun.
@haplozetetic9519
@haplozetetic9519 3 ай бұрын
@@ClokworkGremlin So far, I've been lucky regarding malware (so for as I know). I did, however find someone hacking into my system when I was still new to Linux, but that's to be expected when I was ignorant and ran as root.
@cexeodus
@cexeodus 3 ай бұрын
@@ClokworkGremlin Youre not alone, man im tracking down 8 critical vulns in two recent kernel versions
@foji-video
@foji-video 3 ай бұрын
only use brew if you dont find the package in your repo. Brew can break dependencies, or install non-functional stuff because of different versions. Your own distro package manager has the right versions
@cameronbosch1213
@cameronbosch1213 3 ай бұрын
Correct. I was just about to say that! I know btop (for example), is in the *extra* arch repo. Obviously, if it's available in your distros repos (or even in the AUR on Arch), I'd recommend installing it from there to avoid dependency hell.
@jaumesinglavalls5486
@jaumesinglavalls5486 3 ай бұрын
I only has brew install on mac os, any other os, is not using it, in linux if I don't find the package, simply I build it from code, usually is pretty quick, install some deps, and make build, then add some soft-link into the path, and wala! is there.
@johnandmegh
@johnandmegh 3 ай бұрын
And if it's not in the native (deb/rpm) format, using something like Distrobox or Snap is a far superior alternative
@owmylehg7811
@owmylehg7811 3 ай бұрын
Agreed. Basically all of these were in the Extra repo in Arch. And the few that weren't were in the AUR. A lot of these are super common as well, so you probably won't need brew for any of them.
@Logan5Greye
@Logan5Greye 3 ай бұрын
Homebrew is a necessity on macs. The search results from their appstore are a mess.
@sbrl
@sbrl 3 ай бұрын
tldr-pages maintainer here. Thanks for featuring us! ✨ (psst, we're always looking for more contributors :P)
@markcoren2842
@markcoren2842 3 ай бұрын
tldr single-handedly doubled my command line productivity. I can't thank you all enough for all your amazing work!
@sbrl
@sbrl 3 ай бұрын
@@markcoren2842 heh, glad we could help!
@aronflip4021
@aronflip4021 Ай бұрын
what language is it written in. I am proficient in Rust so perhaps I could help
@sbrl
@sbrl Ай бұрын
@@aronflip4021 Hello! All our pages are in Markdown! We have many clients in many different languages - including a Rust client. We'd love you to help us and/or our community-supported clients out :D
@duckmeat4674
@duckmeat4674 Ай бұрын
​@@aronflip4021Did you look at their repo?
@nmetal05
@nmetal05 3 ай бұрын
zellij is an arabic word which actually means the style of mosaic tilework made from individual tiles ,its very common to be on walls ,floors,and ceilings as decorations in homes ,especially in my hometown Morocco ,so it's definitely a good name choice
@davguev
@davguev 3 ай бұрын
Ohh, I thought it was Dutch. Good to know!
@Alex-ce1ol
@Alex-ce1ol 3 ай бұрын
FYI, you don't need Atuin to search your bash history. Just press CTRL+R and start typing, then press CTRL+R again as needed to cycle through the matches.
@cattom44
@cattom44 3 ай бұрын
That's what I immediately thought.
@51n79
@51n79 3 ай бұрын
Also just typing the keyword "history" gets overlooked.
@howling-wolf
@howling-wolf 3 ай бұрын
I like to use the fzf integration that replaces the standard ctrl+r search with a small window that shows results from your hist based on what you type. Search powered by fzf. Use up/down to move through the list
@wesgould1
@wesgould1 3 ай бұрын
Even better than that... use fzf with control r so you get fuzzy finding with that. No need for atuin at all. # CTRL-/ to toggle small preview window to see the full command # CTRL-Y to copy the command into clipboard using pbcopy export FZF_CTRL_R_OPTS=" --preview 'echo {}' --preview-window up:3:hidden:wrap --bind 'ctrl-/:toggle-preview' --bind 'ctrl-y:execute-silent(echo -n {2..} | pbcopy)+abort' --color header:italic --header 'Press CTRL-Y to copy command into clipboard'"
@OffGridAussiePrepper
@OffGridAussiePrepper 3 ай бұрын
he already knows this, he told us in a previous vid maybe 1 year ago
@bennypr0fane
@bennypr0fane 3 ай бұрын
Please definitely make more of these "best tools for x"-style recommendation videos, I always find super helpful stuff when you recommend things!
@ShiziKroc
@ShiziKroc 3 ай бұрын
I recommend NCDU, it's more interactible for space usage analysis
@CelsoAndradeDev
@CelsoAndradeDev 3 ай бұрын
I agree
@terryriley6410
@terryriley6410 3 ай бұрын
diskonaut is also pretty good and it has a progressive display that updates a filegraph while scanning where ncdu only shows the results when it's finished with scanning.
@breno_6888
@breno_6888 3 ай бұрын
same
@terryriley6410
@terryriley6410 3 ай бұрын
diskonaut is also good
@__mrmino__
@__mrmino__ 2 ай бұрын
Have you tried gdu? It's just _so much faster_
@barbiefan3874
@barbiefan3874 3 ай бұрын
always prefer installing packages via your distro's package manager, if the package is there
@TheLinuxEXP
@TheLinuxEXP 3 ай бұрын
Not necessarily. Your distro might have old versions of these, missing useful features
@NameUserOf
@NameUserOf 3 ай бұрын
@@TheLinuxEXP git release versions. For most of the tools they have nice install explanation and those tools aren't huge like LibreOffice so compiling them is pretty fast. Trusting Homebrew is like trusting PPA, not a very good thing. I also support the idea of trusting repos from distro and if you absolutely need something fresh then next stop would be the devs themselves(usually git, sometimes they already have binaries as well).
@OPguy10
@OPguy10 3 ай бұрын
i'd rather have old software than broken packages
@johannesrodt290
@johannesrodt290 3 ай бұрын
Use nix instead
@fabiandrinksmilk6205
@fabiandrinksmilk6205 3 ай бұрын
@@TheLinuxEXPHomebrew could provide problems with dependencies, which Nix does not. nix-env is a pretty elegant alternative to Homebrew.
@ivanmaglica264
@ivanmaglica264 3 ай бұрын
mc - Midnight Commander - modern Norton Commander replacement. I cant live without it, saves literally hours a week
@zyghom
@zyghom 3 ай бұрын
1000000% agreed, every distro I install or container I always start with: "sudo apt install htop mc"
@24hhhhours
@24hhhhours 3 ай бұрын
I prefer ranger
@BobOgden1
@BobOgden1 3 ай бұрын
This
@Private-GtngxNMBKvYzXyPq
@Private-GtngxNMBKvYzXyPq 3 ай бұрын
Thanks for the advice.
@Teaman313
@Teaman313 3 ай бұрын
😲 MC is still around?!
@legitt6093
@legitt6093 3 ай бұрын
If you're using an Arch-based distro, you can find all of the mentioned programs in the regular (not AUR) repos (also, no need for Homebrew :))
@__Brandon__
@__Brandon__ 2 ай бұрын
And using brew can seriously break your install. Don't mix package managers because the quickest repair is generally a reinstall
@taylorhardy902
@taylorhardy902 3 ай бұрын
You can press control-r to reverse search your bash history in vanilla bash and if you press control-r again it will go to the next result
@JamesFirth-v
@JamesFirth-v 3 ай бұрын
Fzf also has the ability to replace the control r search in some shells like zsh which is my favourite way to use it
@NostraDavid2
@NostraDavid2 3 ай бұрын
Fzf enables me to choose a branch in git, instead of having to do a git branch -a first. Don't have the command by hand, otherwise I would've shared.
@Goose.wox.2
@Goose.wox.2 3 ай бұрын
8:26 i personally use ncdu because i find it more easy to read and navigate
@hurleyd9828
@hurleyd9828 3 ай бұрын
love ncdu
@vighneshmallampally6627
@vighneshmallampally6627 3 ай бұрын
Me too ✋
@turanamo
@turanamo 3 ай бұрын
neat! thanks! don't need crappy brew for this, can use default package manager.
@oWeRQ666
@oWeRQ666 3 ай бұрын
Dua and broot interesting too, but not in repos
@ordinosaurs
@ordinosaurs 3 ай бұрын
Just proposed it, hadn't found your message yet. Yes, ncdu is a lifesaver.
@collinslagat3458
@collinslagat3458 3 ай бұрын
Zoxide as a replacement or complement for *cd* command.
@terryriley6410
@terryriley6410 3 ай бұрын
yes. never going back to cd.
@paultapping9510
@paultapping9510 Ай бұрын
one of the first things I install, I like it so much I've aliased cd to it
@thedoofguy5707
@thedoofguy5707 3 ай бұрын
Midnight Commander. It's hands down the best file manager for terminals. Flexible, powerful, and always there when you need it.
@gg-gn3re
@gg-gn3re 3 ай бұрын
lf (made in go) is better, far better than ranger, far better than nnn and better than midnight commander
@thichquang1011
@thichquang1011 3 ай бұрын
vifm is pretty cool also
@PanduPoluan
@PanduPoluan 3 ай бұрын
Ahh I see that CLI tools I use have been mentioned: btop, eza, bat ... What's not mentioned: - rg (ripgrep = faster grep alternative) - fd (faster file finder) - ncdu (an alternative to dust) - iftop (network traffic monitoring) - zsh + oh-my-zsh
@bubbles581
@bubbles581 3 ай бұрын
Obviously tetris for terminals (tt) is the only command line app we need.
@changingmyselff
@changingmyselff 3 ай бұрын
vitetris is also quite good
@halfsourlizard9319
@halfsourlizard9319 3 ай бұрын
Why on earth would you use brew unless you're stuck using a Mac?!?
@circular_logic6217
@circular_logic6217 3 ай бұрын
For me it's pragmatism, if I can't get it on a native package or Flatpak etc then I prefer Brew over a repo clone. That way I can update these tools more easily than a clone. In addition, a lot of the post-install scrips automate away all the readme steps so you save a little bit of time.
@halfsourlizard9319
@halfsourlizard9319 3 ай бұрын
@@circular_logic6217 If a package isn't in the main Arch repos or the AUR, does it even exist?
@__Brandon__
@__Brandon__ 2 ай бұрын
But for something like btop it doesn't make sense. All of the dependencies get installed with brew and your system package manager doesn't know about it. Later it can causes dependency conflicts that are pretty hard to fix. Generally it's just easier to start over if you break yourself by using two package managers at the same time
@Eagledelta3
@Eagledelta3 3 ай бұрын
Just as a heads up - FZF is available in most, if not all, distros. So you can just install it from there. Also, like atuin, FZF can search your command history with CTRL+R.
@nuligebla1173
@nuligebla1173 3 ай бұрын
or you could just press CTRL+R under normal bash and... what do you know, the same behavior!
@opfipip3711
@opfipip3711 3 ай бұрын
@@nuligebla1173 fzf + CTRL+R is sooo much better than bashs default CTRL+R. It sorts results sensibly, ignores typos and shows you a couple of results at once. Especially together with setting up your history to grow indefinity, it can be incredibly useful to find "that command pipeline using a tool that was named somewhat like ... that i used to auto-sort my music collection a few years ago" in a few secs.
@sethmclean8334
@sethmclean8334 3 ай бұрын
@bla1173 except without the fzf search algo
@dhvcc8182
@dhvcc8182 3 ай бұрын
@@nuligebla1173 not the same at all, fzf search does fuzzy finding from wherever in the command, while default makes you type out the start of the command perfectly, plus I don't remember a way of easily going through similar commands in a search (very usefull with docker/kubectl), been using only for history search for a long time. Although I use quite a lot of commands from this video - fzf is the most needed one for me personally
@pesopes
@pesopes 3 ай бұрын
​@@nuligebla1173the advantage of using CTRL+R with fzf is (like the name suggests) fuzzy finding
@oalfodr
@oalfodr 3 ай бұрын
I loved the format of this video. I knew about all of the mentioned programs (apart from shell history search one that is not even appealing to me since fzf does that already), but I welcome the opportunity to find about new tools in some of the next episodes. Some of my favorite tools are: nvim, rsync, lf - file manager, jq - JSON procesor, ffmpeg, imagemagick, neomutt, awk...
@jaumesinglavalls5486
@jaumesinglavalls5486 3 ай бұрын
One tool, I use a lot is call thefuck, I think I didn't get time to see the form to add it, (and pretty sure it won't be in this video if it had) thefuck is a command that allows you rectify your last command, if you ever writed bim when you wished to write vim, run fuck, and he will propose you the correct command. (Not allways works, but in general I love it and use it every day)
@TheNotSoChibiRobo
@TheNotSoChibiRobo 3 ай бұрын
Seems very useful, also the best name for a command xD
@hugofontes5708
@hugofontes5708 3 ай бұрын
caught my interest but how is it different from just pressing up and editing the last command I sent? EDIT: looked it up, it actually makes the correction for you to confirm and suggests a list in case it ambiguity. Added!
@jaumesinglavalls5486
@jaumesinglavalls5486 3 ай бұрын
@@hugofontes5708 well, when he detects it well, you avoid the editing, I use it usually to transform the git push to git push -u origin xxx,
@daveyhodge
@daveyhodge 3 ай бұрын
Alias to drat for a family friendly version
@moarjank
@moarjank 3 ай бұрын
LOL! alias drat=fuck Best line in a bash profile so far 😂
@timsoft3
@timsoft3 3 ай бұрын
awk is a favourite, its, great with grep, cat and head or tail when scraping info from a file into a variable.
@ferdynandkiepski5026
@ferdynandkiepski5026 3 ай бұрын
It wasn't mentioned in the video but you can use fd-find by sharkdp to replace find. It is faster, the normal command for it is fd, and it's behaviour is slightly different (i prefer it) but can be set to be identical with the proper options. You can use it for the input into fzf, to make it faster.
@realname5630
@realname5630 3 ай бұрын
I'd like to suggest a video idea about terminal keyboard shortcuts like ctrl+c, ctrl+d etc, and also a video about different shells like zsh
@fan_juggler
@fan_juggler 3 ай бұрын
calcure - calendar for your terminal!
@ErrorMessageNotFound
@ErrorMessageNotFound 3 ай бұрын
s-tui is a command line tool I use pretty often. It's a front-end for stress but also a very detailed cpu monitor. It shows core utilization, temperatures, power, frequency etc. Very useful stuff.
@ErrorMessageNotFound
@ErrorMessageNotFound 3 ай бұрын
You can stress your cpu in various ways, check if it's performing like it's supposed to, see if your cooling is adequate, etc.
@utahnl
@utahnl 3 ай бұрын
Not a separate tool but you can press in ctrl+r in bash to search your command history.
@gavinjones
@gavinjones 3 ай бұрын
Indeed but you can't see all matches at once. You could grep but the program is just more convenient
@NameUserOf
@NameUserOf 3 ай бұрын
yazi - file manager. Very quick and development is alive and fast as well. fd(fd-find) - find replacement, most of the time much faster and easier to use.
@changingmyselff
@changingmyselff 3 ай бұрын
oh, yesss, yazi is amazing
@PanduPoluan
@PanduPoluan 3 ай бұрын
Ah, there's something I need to try! (yazi) And I agree with you about fd !!
@madbradfreeman
@madbradfreeman 3 ай бұрын
Absolutely I second tldr. Extremely handy for reminding you of the options people actually use. My favorite terminal is Terminator. It's quick, customizable, and easy to splitscreen. Oh, and ddate, of course. Thanks for the tips!
@ArmenManukyan
@ArmenManukyan 3 ай бұрын
ncdu has a more intuitive UI than dust, I'd recommend that instead.
@rjhornsby
@rjhornsby 3 ай бұрын
Watching the video, it took me a confused minute to understand why dust’s tree representation was inverted. I think it’s because of the sort by size - but I dunno. Visually it still seems less intuitive.
@HappyCheeryChap
@HappyCheeryChap 3 ай бұрын
​@@rjhornsby yeah i think because you're usually more interested in finding the big stuff... So this saves you from having to scroll up to see them.
@lundgamingxd5387
@lundgamingxd5387 3 ай бұрын
Another fire TLE video🔥
@TheLinuxEXP
@TheLinuxEXP 3 ай бұрын
Thanks 🔥
@cameronbosch1213
@cameronbosch1213 3 ай бұрын
For me, btop is a great utility, as is nmtui for setting up network connections without a DE for systems that don't have a graphical app for this purpose, like ones that use tiling Wayland compositors or window managers.
@PaulG.x
@PaulG.x 3 ай бұрын
I suppose you run whatthefuck for the help page?
@themedleb
@themedleb 3 ай бұрын
Zellij (زليج) is an Arabic word for "tile". It is pronounced the normal way, no need to say "jay" in the end of the word.
@seymourtoa
@seymourtoa 3 ай бұрын
EXCELLENT list and quick reviews! much appreciated! side note - now I'm gonna be busy tonight trialing all these little nuggets of Linux beauty!
@MrOrtmeier
@MrOrtmeier 3 ай бұрын
Community recommendation videos are gold for Linux nerds. I always want to find new or better utilities i never knew existed
@Luc484
@Luc484 3 ай бұрын
I use the command line everyday but still I found some interesting things I did not know in your presentation. Excellent work! I really liked it!
@haplozetetic9519
@haplozetetic9519 3 ай бұрын
tlp works with Powertop. From Debian 12's description in Synaptic: TLP is a feature-rich command-line utility, saving laptop battery power without the need to delve deeper into technical details. TLP’s default settings are already optimized for battery life and implement Powertop’s recommendations out of the box. Moreover TLP is highly customizable to fulfill specific user requirements. Settings are organized into two profiles, allowing to adjust between savings and performance independently for battery (BAT) and AC operation. In addition TLP can enable or disable Bluetooth, NFC, Wi-Fi and WWAN radio devices on boot. For ThinkPads and selected other laptops it provides a unified way to configure charge thresholds and recalibrate the battery.
@ToadalChaos
@ToadalChaos 3 ай бұрын
Fzf also does command history searching! In fact, that's what I use it for the most.
@lritzdorf
@lritzdorf 3 ай бұрын
In a similar vein to grub-reboot, you can easily reboot to your BIOS/UEFI on systemd distros (i.e. almost all of them). The relevant command is "systemctl reboot --firmware"
@trs5127
@trs5127 3 ай бұрын
You releasing videos is kinda becoming an occasion at this point. I keep checking your channel everytime I open KZbin to see if there's a new video lmao. So much great content!
@TheLinuxEXP
@TheLinuxEXP 3 ай бұрын
Hahaha I try to stick to 2 per week, but I missed on last week as my wisdom teeth were acting up…
@trs5127
@trs5127 3 ай бұрын
@@TheLinuxEXP hey man, thanks for the reply. And chill out about the schedule. Health above everything else. I know that whenever the video does come out, it's gonna be a banger :)
@RenderingUser
@RenderingUser 3 ай бұрын
"battop" best battery info viewer
@Kevin-oj2uo
@Kevin-oj2uo 3 ай бұрын
What a great video Nick! So many tools that will help manage my linux servers! ❤
@MoPaTography
@MoPaTography 3 ай бұрын
You can also rerun commands by typing exclamation mark and number you see when you type the history command. Eg !45 will re run command 45 in the history output
@amigalemming
@amigalemming 3 ай бұрын
Terminal history: I am used to type a prefix of an old command line and then cycle through all commands in history with that prefix using PageUp and PageDown. Works after enabling the corresponding settings in /etc/inputrc. Was the default in SuSE.
@XoaGray
@XoaGray 3 ай бұрын
I've been using BTOP for years, but hadn't heard of any of the other programs here, so I'm all for seeing more command line tools. It's often something that's just forgotten nowadays.
@rhalloff
@rhalloff 3 ай бұрын
Great Video!! I have installed several of the recommended apps and I've saved the vid in my saved Linux youtube folder. Thanks!!!
@cry0xen
@cry0xen 3 ай бұрын
We need more of this kind of videos. its like a summary of linux community preferences. I only knew half of them and some of them are great tool. heck I thought homebrew only works on mac
@goldskula
@goldskula 3 ай бұрын
ranger is a must for me
@blainescroggs9268
@blainescroggs9268 3 ай бұрын
I'm gonna have to watch this again and take notes :)
@kirkkork
@kirkkork 3 ай бұрын
A lot of these are very useful! It would be great to find more!
@lucaggett1603
@lucaggett1603 3 ай бұрын
FZF has been a great addition! I often use autojump for quickly navigating directories
@klmcwhirter
@klmcwhirter 3 ай бұрын
How does autojump compare to zoxide ? Do you know? I just started to use zoxide with fzf integration recently.
@lucaggett1603
@lucaggett1603 3 ай бұрын
@@klmcwhirter I've not tried zoxide, but I looked at the docs a while ago and it seems it is pretty much the same as autojump in terms of functioniality (at least for my usecase)
@konstantink07
@konstantink07 3 ай бұрын
​@@klmcwhirterzoxide is better
@lucaggett1603
@lucaggett1603 3 ай бұрын
@@klmcwhirter I've used both and they're pretty much identical, zoxide is a bit faster but it's not very noticeable for me
@tarcilioneto
@tarcilioneto 3 ай бұрын
Surprised Nala was not in the list. Great video!
@theinhumaneme
@theinhumaneme 3 ай бұрын
We need more videos of this format!!!!
@johnjohnson7500
@johnjohnson7500 3 ай бұрын
Those are really great cli Tools! Most of them I have never heard of. Thanks to you and the community.
@Little-bird-told-me
@Little-bird-told-me 3 ай бұрын
*Just when I thought I knew a lot about Linux, you broke my myth and I am glad you did. Thank you and more of it please !*
@Rohinthas
@Rohinthas 3 ай бұрын
I REALLY like these kinds of videos! I specifically saved this one for later because I wanted to pay full attention. Might not be the best for the algorithm though... but I absolutely appreciate this type of content! I did not know about eza for example and its the exact tool I need!
@jurgenhaan7652
@jurgenhaan7652 3 ай бұрын
My most used console based tools on a daily basis would be the following: htop - top replacement (but not as cluttered as btop) screen - mainly used to keep long running processes in the background on servers ipython - just for writing code snippets quickly grep | awk | sed - for general string manipulation in pipes vim - text editor git | tig - interfacing with git repos midnight commander - NC like file manager flatpak - jailed package manager find - finding stuff and doing stuff to it ssh - duh. remote access, socks proxies, piped file transfers, etc. So still rather vanilla when tools are concerned. Even though I know there are some improved tools or anything, I do like to use the defaults so I can go at any system without having to install custom stuff.
@prvulm
@prvulm 27 күн бұрын
This! Those new fancy tools are nice to have on own system but when you ssh into customer sles or rhel that maybe dont even have internet access for security reasons, not that much.
@howling-wolf
@howling-wolf 3 ай бұрын
If you already have fzf installed you can configure it ro replace ctrl+r search with a small window similar to the other tool you showed. But it still uses the shell history file. Very simple, very lightweight and blazingly fast
@zeta_eclipse
@zeta_eclipse 3 ай бұрын
zellij is a moroccan word (darija) that means tile (as in floor or wall tiles)
@TheLinuxEXP
@TheLinuxEXP 3 ай бұрын
Ohh Nice!
@zeta_eclipse
@zeta_eclipse 3 ай бұрын
@@TheLinuxEXP:)
@themedleb
@themedleb 3 ай бұрын
We can say that Zellij (زليج) is Arabic, It is known in Morocco, Algeria, Tunisia and Al-Andalus (old Spain). Reference: en.wikipedia.org/wiki/Zellij Man3rf ch7al wasel zellij had liamat hhh
@zeta_eclipse
@zeta_eclipse 3 ай бұрын
@@themedlebi've never heard it used in arabic, that's why i assumed it's a darija word
@DeathSugar
@DeathSugar 3 ай бұрын
first thing I definitely install is a ripgrep and fd-find - replacements for grep and find. They are magnitude faster than default ones.
@averagemamil4523
@averagemamil4523 3 ай бұрын
Excellent vid - lots of utils I’ve never even heard of 👍
@Daktyl198
@Daktyl198 3 ай бұрын
Probably my favorite command line utility is the text editor “micro”. It doesn’t try to be anything it’s not. It’s a simple text editor, with familiar keybinds unlike Nano.
@drzmuhammed
@drzmuhammed 3 ай бұрын
fzf atuin dust btop are new additions to my bucket.... we need more videos like this.... these are the grass root level.. and make us productive...... I basically use derived output from commands of core packages to display in waybar. Use calcurse , Ranger , atool, nmtui, top etc... basically trying to live in a terminal with some flatpak app for my study related stuffs.
@darthkielbasa
@darthkielbasa 3 ай бұрын
00:01 glances is a game changer. If you’re the dashboard type, has api capabilities
@kkb-graph
@kkb-graph 3 ай бұрын
Thanks for the Atuin! I'd recommend ncdu instead of dust, as it is much more powerful. What else I could recommend: diff-so-fancy, fswatch, httping, jenv, lnav, lynis, micro, mtr BTW, I use both htop and btop - each is better for its own use case Sure, please make such videos regularly - that is the most practically useful content for most of us)
@Wampa842
@Wampa842 3 ай бұрын
My top 3 most used tools are tldr, LF (TUI file explorer), and sshuttle (routing traffic through an SSH tunnel - a poor man's VPN).
@Funny0facer
@Funny0facer 3 ай бұрын
great video! I will try out some options!
@JeroenFallsUp
@JeroenFallsUp 3 ай бұрын
You mention using bat as a replacement for cat, but as someone that actually uses cat to concatenate files I wonder if that would work at all with bat seeing all the fancy stuff on the screen.
@lordkekz4
@lordkekz4 3 ай бұрын
You can configure bat's syntax highlighting, line numbering etc. in a config and via commandline parameters. But you can still just use cat in these cases, and bat for syntax highlighting and such. It complements cat more than replacing it.
@arzaroth1944
@arzaroth1944 3 ай бұрын
I seem to recall that bat detects when piped or redirected and in such cases behaves like cat. I haven't checked in a long time but since I aliased bat as cat years ago and didn't run into this conundrum I'm fairly certain of this.
@lordkekz4
@lordkekz4 3 ай бұрын
@@arzaroth1944 Oh, you're right! I didn't even realize it was that smart xD
@artim96
@artim96 3 ай бұрын
dust looks interesting. Another du alternative I found was gdu. Kinda a go-written interactive version of du. You can navigate thorugh directories starting from the directory you passed to the command and if so desired delete files and directories from it. And it seems to be a little bit faster than du on slow hardware for some reason.
@Drezaem55
@Drezaem55 3 ай бұрын
Another suggestion: fish. Might not be for everyone, but the completion suggestions are so good and your up arrow behaves as you'd want unlike when using zsh-autosuggestions. The coloring is also really good and it's got most popular colorscheme's so all the colors integrate nicely into the rest of your terminal. Bad thing is: it's not posix compliant, so your bashrc/zshrc isn't 1:1 to fish config, though converting is very easy.
@IllllIIllllI
@IllllIIllllI 3 ай бұрын
After only using bash for everything, installing fish for the first time was like stepping into the 21st century shell-wise
@moarjank
@moarjank 3 ай бұрын
Add bass to fish, and you can still get system environment variables and a clean way to run POSIX code
@MyurrDurr
@MyurrDurr 3 ай бұрын
Oo found some really nice utilities to try from this video 💜 Please do more!
@joecan
@joecan 3 ай бұрын
This is great vid. please do a part 2!!
@mritunjaymusale
@mritunjaymusale 3 ай бұрын
What about rsync? I think it's better than cp command and it's more reliable and robust when paired with COW file system like ZFS
@gordug
@gordug Ай бұрын
This is genuinely the most informative video I've seen this year. 🎉
@ordinosaurs
@ordinosaurs 3 ай бұрын
There's ncdu, a cli command that replaces du without the visual confusion of dust. Fast, simple, and incredbly useful. Can't live without it.
@Diablokiller999
@Diablokiller999 3 ай бұрын
At least 2-3 CLI tools I will install on our embedded devices to make maintenance a lot easier, thanks! The Login logo looked familiar to me, wasn't sure you use a Tuxedo notebook until the sponsor part :D Tuxedo is part of Schenker (XMG), so really high quality german manufacturer that offers completely customizable hardware (even with watercooling in laptops!) and I love Tuxedo OS as an out-of-the-box working alternative to Debian/Ubuntu. Works perfectly, amazing build quality and performance and good support as well!
@beardlyinteresting
@beardlyinteresting 3 ай бұрын
Do people not know about ctrl+r? It let's you do a search of your command history, not as feature rich as atuin I'm sure but should come standard in most shells
@cxob2134
@cxob2134 3 күн бұрын
my favorite terminal programs are: Ranger: A terminal file manager, best way to navigate directories FAST MOC: terminal music player, that just works, no fuss.
@mattig89ch
@mattig89ch 3 ай бұрын
Yes, please more videos like this. This was great.
@gungun974
@gungun974 3 ай бұрын
Why use homebrew when you can just install Nix and have a better package manager that can install pretty much everything and do cool thing. Also I don't like homebrew on my mac since it slow, very slow and break some time. Great program but I wouldn't recommend it outside of Mac.
@kebugcheck
@kebugcheck 3 ай бұрын
I don't think people would mind if you did a top 100 list too.
@Dude29
@Dude29 3 ай бұрын
Great selection!
@vx4nc
@vx4nc 18 күн бұрын
Definitely more episodes like this one, thanks.
@gavinjones
@gavinjones 3 ай бұрын
Hstr is pretty similar to atuin which i usually use. nnn or n is also good command which lets you navigate folders with arrow keys. Some people mentioned midnight commander which is much more feature packed Thefuck is useful if you want to fix previous commands mistake. I have it aliased to oof to avoid showing that if someone else sees me type it lol
@laesseV
@laesseV 3 ай бұрын
fzf can also search through your command line history with CTRL-R
@alxkw6355
@alxkw6355 3 ай бұрын
Powertop is as well very usefull for home servers. If you have one running 24/7. 10 to 15Watts shaved off of the idle power draw is always good!
@neko6803
@neko6803 3 ай бұрын
POSIX-Stans will hate me: Fish as my shell of choice for dailydriving has recommendations from your entire shell history that get shown and altered while you type the command
@konstantink07
@konstantink07 3 ай бұрын
you might as well set python as your default shell...
@moarjank
@moarjank 3 ай бұрын
Also, use can use "bass" to get closer to POSIX compatibility, and to source bash profiles
@__Brandon__
@__Brandon__ 2 ай бұрын
Zsh will do this too, but won't break every shell command you know and love
@neko6803
@neko6803 2 ай бұрын
@@__Brandon__ there is always that one guy who will recommend Z-Shell when someone else talks about fish... do you folks not realize that others like me run fish partly to spite and troll you? Also, some people are just not in the mood of writing their own config or testing 6 million different ones to fin the features they like. You could make bash do 90% of what fish offers out of the box too but where is the point of trial-and-error-ing a custom config for whatever shell if i could just use fish and know it works the way i want it to? It makes smart suggestions, colours commands in a way that improves readability and it does so without me having to configure it. I can update my system all other stuff that i need the CLI too works just as well in fish with the same commands as if i was running bash, ash or zsh. Scripting in Fish, yes, thats differently but out of the box, neither bash or zsh work as well as fish. Especially for users unfamiliar with reading CLI-Text... "But muh Posixcompliancy 😭😭😭" - I do not CARE about posix, i once wrote an Archinstallerscript in Powershell just because i wanted to send it to someone who i knew would be offended upon seeing it😂
@moarjank
@moarjank 2 ай бұрын
If worried about compatibility, bass is great. (I used to be an avid zsh user, but it's soo overbearing to configure. fish just works, and has better syntax anyway)
@npaladin2000
@npaladin2000 3 ай бұрын
I tend to prefer ncdu over dust...not as pretty but pretty enough. It also has a 1:1 clone for Windows called gdu, which I just alias to ncdu there for less confusion,
@howling-wolf
@howling-wolf 3 ай бұрын
instead of dust, i like to use ncdu. It analyzes all files beforehand and allows you to navigate the filesystem with arrow keys. It is a great tool to dinf the dirs that eat ur drive space.
@nikolaikiselev253
@nikolaikiselev253 3 ай бұрын
Please more like that. Half I knew, but btop I didn't. It's cool!
@chyldstudios
@chyldstudios 3 ай бұрын
add "fd" and "ripgrep" and "hexyl" to your list.
@TheLinuxEXP
@TheLinuxEXP 3 ай бұрын
They were on the recommendations as well, yeah!
@novaTopFlex
@novaTopFlex 23 күн бұрын
btop is not the only utility with the said interface, just the C++ version of it. Also developed by “aristocratos” and available in various repositories are the “bashtop” (for Bash) and “bpytop” (for Python) commands.
@olzabi_go
@olzabi_go 2 күн бұрын
From this video, I found out the existing of Atuin (lvl up terminal history) and tldr. Thanks.
@Oharafolk
@Oharafolk 3 ай бұрын
Great video and great idea, thank you so much Nick!
@SDWNJ
@SDWNJ 3 ай бұрын
I didn't know about grub-reboot. I wonder when that was added. OS/2 used to have a feature where if you had both OS/2 and PCDOS installed you had a command line program that could reboot and load the opposite OS from the one you were currently booted into. I remember wishing Linux had something like that when I first started using it back in the 90s.
@jamesbond_007
@jamesbond_007 2 күн бұрын
Of course, typing ^R and then doing an incremental search through your history is already built-in to bash. To search again if you didn't find what you wanted, type ^R again while in ^R mode to find the previous occurrence of your search string. And, since it's incremental, the search automatically updates when you add or remove (or change) characters. [This is in response to Atuin]
@theeternalsw0rd
@theeternalsw0rd 3 ай бұрын
Good to know about eza as I was using exa and didn't realize it's unmaintained now.
@3osufdh4rfg
@3osufdh4rfg 3 ай бұрын
Same.
@bluesquare23
@bluesquare23 Ай бұрын
Same
@zyghom
@zyghom 3 ай бұрын
tldr is my pick out of all of them - perfect
@anonlegion8331
@anonlegion8331 3 ай бұрын
What a great video man! Keep it up. Also can you give us some insights on Warp AI which is available on Linux on future videos!? Thank you.
@therealsunnyk
@therealsunnyk 3 ай бұрын
I've used most of the tools here, and the only one which really stuck is bat. It's got all the things you need from a cat replacement but very few downsides. Almost every other tool is not a drop-in replacement, so you'll need the tool it "replaces". The obvious exception is fzf, which I don't tend to use / need but I know a lot of people who do.
11 Cool Command Line Programs You Need to See
13:24
ThioJoe
Рет қаралды 115 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 402 М.
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 34 МЛН
Backstage 🤫 tutorial #elsarca #tiktok
00:13
Elsa Arca
Рет қаралды 40 МЛН
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 18 МЛН
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 26 МЛН
Ranking Linux Distributions for 2024: a tier list for my use case !
20:35
The Linux Experiment
Рет қаралды 456 М.
The Linux Experience
31:00
Bog
Рет қаралды 188 М.
MUST KNOW bashrc customizations to boost productivity in Linux
13:38
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 225 М.
What would an ENSH*TTIFIED Linux distro look like?
12:48
The Linux Experiment
Рет қаралды 114 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 909 М.
zoxide has forever improved the way I navigate in the terminal.
9:53
Dreams of Autonomy
Рет қаралды 406 М.
LINUX KERNEL variants explained: Zen, Xanmod, TKG, RealTime, Liquorix...
17:32
The Linux Experiment
Рет қаралды 60 М.
7 Essential Command Line Tools (2022)
9:12
Tech Craft
Рет қаралды 193 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 18 МЛН
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 5 МЛН
Mem VPN - в Apple Store
0:30
AndroHack
Рет қаралды 114 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 39 МЛН