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.
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.
@@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.
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
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.
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.
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.
@@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
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
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.
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.
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
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'"
@@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).
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
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)
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!
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.
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
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 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.
@@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
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.
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.
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.
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.
I will note that at 6:55 when you suggest checking if hardware acceleration is enabled, the place you checked will show "true" even if it is not functional! On Arch and some other distros, you will have to manually install a package for your platform to enable hardware acceleration. You can then check if it's actually enabled and functional on Firefox's "about:support" page.
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!
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...
@@averagejoey2000 well my first intro was to unix in 92, though i've been rocking slackware linux ever since redhat went non-free, before fedora came out.
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.
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"
You releasing videos is kinda becoming an occasion at this point. I keep checking your channel everytime I open TH-cam to see if there's a new video lmao. So much great content!
@@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 :)
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)
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.
@@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)
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.
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.
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
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.
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
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
@@__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😂
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)
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.
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.
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.
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.
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.
@@halfsourlizard9319of course, but tree is easier to process with your eyes if you want to make sense of a directory structure at a glance, thanks to the output having an actual tree, drawn using ASCII box drawing.
@@subrezon My semi-random cwd has 1559 files it its subdirectories ... and that's a relatively small project. Using eyes and text-visualised structure is only feasible in very small / not very deep dirs. 🤷♀️
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
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
I've been using one I wrote myself called pl. It keeps track of what episode your own when watching offline video series in the terminal and automatically plays the next episode.
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.
Up arrow? Ctrl+R is your friend. Can't remember the flags you used on that last `tar` command? Just hit Ctrl+R and then type tar. If you hit the wrong one, keep hitting Ctrl+R again until you find it.
Before I start watching, here is what I use: Atuin Starship Exa Ripgrep Fd Bat Lazygit Zoxide Nvim Joshuto Bottom Let's see how many of them is in this video.
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.
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,
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.
For the terminal command history, I prefer using hstr, very simple to use, probably not as advanced as atuin but for basic stuff works well; To complement tldr: halp
@@halfsourlizard9319Choosing and installing the versions I want without mucking up the global installation is compelling to me. You also don't need sudo. Plus, I got used to use brew on Mac.
Atuin is also one of the greatest Terry Pratchett references ever. For those who don’t know, Atuin is a giant, space-wandering turtle, holding four hefty elephants on its shell, which in turn hold the disk-world on their backs. I can highly recommend the discworld novels. The farther along you get, the more entertaining they are (you also don’t need to read them in order).
Please do yourself a favor and DON'T install Atuin! My command history is permanently broken now!
8 หลายเดือนก่อน +1
So in case somebody doesn't want to install a database, if you press Ctrl+R and then type something, it will search it kn your command history. It is fast and useful and better than pressing Up 200 times
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
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.
tldr and thefuck are my most used new cli tools. Like another commenter mentioned, if you mistype a command, you can type "fuck" out of frustration at the terminal and it'll try to give the right command! It hasn't made a mistake yet
What I never hear younger unix/linux users talk about (I’m 64 and using unix since 1985) is: the ! Command in vi/vim. It gives you everything of any command line tool inside vi/vim while editing your files. Try getting your head around the endless possibilities here.
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!
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.
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.
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
I CAN'T BELIEVE U DIDN'T MENTION THE 2 MOST IMPORTANT ONES ! 1: A TERMINAL FILE MANAGER: YAZI > RANGER. 2: AN EDITOR: NVIM > VIM. AND I WANT TO ADD 2 MORE THINGS: 1: IT IS WORTH MENTIONING THAT BTOP CAME FROM BPYTOP, BUT BTOP IS FASTER. 2: LSD > EZA BECAUSE BOTH RE WRITTEN IN RUST, BUT LSD USES THE SAME OPTIONS AS LS.
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!
I still prefer nix over brew, I especially like to use nix-shell to only get what I need temporarily. With home-manager it can do most of what chezmoi do as well.
Try out Proton Mail, the secure email that protects your privacy: proton.me/mail/TheLinuxEXP
Soon I'll try. I tested Tutanota/Tutamail but I didn't like user interface. Proton Mail looks good.
I'm a huge Proton Fan. I used most of their apps.
I do use proton, I am still waiting for the drive Linux app.
Proton gave recovery email addresses to authorities. You might as well use gmail
@@user-hl7ic7wc1r source please? might help us out
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.
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.
for real
Picked up my first Linux malware experience, so that was fun.
@@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.
@@ClokworkGremlin Youre not alone, man im tracking down 8 critical vulns in two recent kernel versions
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
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.
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.
And if it's not in the native (deb/rpm) format, using something like Distrobox or Snap is a far superior alternative
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.
Homebrew is a necessity on macs. The search results from their appstore are a mess.
tldr-pages maintainer here. Thanks for featuring us! ✨
(psst, we're always looking for more contributors :P)
tldr single-handedly doubled my command line productivity. I can't thank you all enough for all your amazing work!
@@markcoren2842 heh, glad we could help!
what language is it written in. I am proficient in Rust so perhaps I could help
@@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
@@aronflip4021Did you look at their repo?
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
Ohh, I thought it was Dutch. Good to know!
I'm Algerian and always found funny how the word makes me think of the actual Zelij XD. Thank you for the confirmation.
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 :))
And using brew can seriously break your install. Don't mix package managers because the quickest repair is generally a reinstall
I recommend NCDU, it's more interactible for space usage analysis
I agree
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.
same
diskonaut is also good
Have you tried gdu? It's just _so much faster_
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.
That's what I immediately thought.
Also just typing the keyword "history" gets overlooked.
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
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'"
he already knows this, he told us in a previous vid maybe 1 year ago
mc - Midnight Commander - modern Norton Commander replacement. I cant live without it, saves literally hours a week
1000000% agreed, every distro I install or container I always start with: "sudo apt install htop mc"
I prefer ranger
This
Thanks for the advice.
😲 MC is still around?!
always prefer installing packages via your distro's package manager, if the package is there
Not necessarily. Your distro might have old versions of these, missing useful features
@@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).
i'd rather have old software than broken packages
Use nix instead
@@TheLinuxEXPHomebrew could provide problems with dependencies, which Nix does not. nix-env is a pretty elegant alternative to Homebrew.
Please definitely make more of these "best tools for x"-style recommendation videos, I always find super helpful stuff when you recommend things!
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
Fzf also has the ability to replace the control r search in some shells like zsh which is my favourite way to use it
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.
Midnight Commander. It's hands down the best file manager for terminals. Flexible, powerful, and always there when you need it.
lf (made in go) is better, far better than ranger, far better than nnn and better than midnight commander
vifm is pretty cool also
yazi makes all other terminal file managers obsolete
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
8:26 i personally use ncdu because i find it more easy to read and navigate
love ncdu
Me too ✋
Dua and broot interesting too, but not in repos
Just proposed it, hadn't found your message yet. Yes, ncdu is a lifesaver.
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)
Seems very useful, also the best name for a command xD
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!
@@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,
Alias to drat for a family friendly version
LOL!
alias drat=fuck
Best line in a bash profile so far 😂
Why on earth would you use brew unless you're stuck using a Mac?!?
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.
@@circular_logic6217 If a package isn't in the main Arch repos or the AUR, does it even exist?
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
@@circular_logic6217just use nix
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.
or you could just press CTRL+R under normal bash and... what do you know, the same behavior!
@@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.
@bla1173 except without the fzf search algo
@@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
@@nuligebla1173the advantage of using CTRL+R with fzf is (like the name suggests) fuzzy finding
Zoxide as a replacement or complement for *cd* command.
yes. never going back to cd.
one of the first things I install, I like it so much I've aliased cd to it
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.
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.
oh, yesss, yazi is amazing
Ah, there's something I need to try! (yazi)
And I agree with you about fd !!
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.
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.
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.
I suppose you run whatthefuck for the help page?
I will note that at 6:55 when you suggest checking if hardware acceleration is enabled, the place you checked will show "true" even if it is not functional! On Arch and some other distros, you will have to manually install a package for your platform to enable hardware acceleration. You can then check if it's actually enabled and functional on Firefox's "about:support" page.
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!
Not a separate tool but you can press in ctrl+r in bash to search your command history.
Indeed but you can't see all matches at once. You could grep but the program is just more convenient
How did I not know about this!
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
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...
awk is a favourite, its, great with grep, cat and head or tail when scraping info from a file into a variable.
you're an old school unix guy aren't you
@@averagejoey2000 well my first intro was to unix in 92, though i've been rocking slackware linux ever since redhat went non-free, before fedora came out.
ncdu has a more intuitive UI than dust, I'd recommend that instead.
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.
@@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.
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"
Another fire TLE video🔥
Thanks 🔥
calcure - calendar for your terminal!
Zellij (زليج) is an Arabic word for "tile". It is pronounced the normal way, no need to say "jay" in the end of the word.
You releasing videos is kinda becoming an occasion at this point. I keep checking your channel everytime I open TH-cam to see if there's a new video lmao. So much great content!
Hahaha I try to stick to 2 per week, but I missed on last week as my wisdom teeth were acting up…
@@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 :)
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)
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.
After only using bash for everything, installing fish for the first time was like stepping into the 21st century shell-wise
Add bass to fish, and you can still get system environment variables and a clean way to run POSIX code
Fzf also does command history searching!
In fact, that's what I use it for the most.
FZF has been a great addition! I often use autojump for quickly navigating directories
How does autojump compare to zoxide ? Do you know? I just started to use zoxide with fzf integration recently.
@@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)
@@klmcwhirterzoxide is better
@@klmcwhirter I've used both and they're pretty much identical, zoxide is a bit faster but it's not very noticeable for me
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.
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.
zellij is a moroccan word (darija) that means tile (as in floor or wall tiles)
Ohh Nice!
@@TheLinuxEXP:)
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
@@themedlebi've never heard it used in arabic, that's why i assumed it's a darija word
Bottom (htop alternative), Starship (powerline), Helix (text editor). I'm also using Zellij and Eza, both are great. And all of them are Rust apps :)
starship is slow af
Rust is faster than bash, so in my exp, it's faster than og powerline
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.
Community recommendation videos are gold for Linux nerds. I always want to find new or better utilities i never knew existed
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
Man, ever since I started using bash my life has been getting better and better! I think bash should be installed on every linux computer out there...
tf are you talking about??? it's literally the default on like 99% of distros already. zsh is better though (at least for interactive usage)
@@konstantink07 Woooosh
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).
You should have mentioned that is bad to have two package magnets if you don't know what your doing...
Except nix it,s really strong useful package manager
I'm gonna have to watch this again and take notes :)
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
Zoxide, a smarter cd command. One of the best packages I've ever discovered
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
you might as well set python as your default shell...
Also, use can use "bass" to get closer to POSIX compatibility, and to source bash profiles
Zsh will do this too, but won't break every shell command you know and love
@@__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😂
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)
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.
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.
00:01 glances is a game changer. If you’re the dashboard type, has api capabilities
We need more videos of this format!!!!
first thing I definitely install is a ripgrep and fd-find - replacements for grep and find. They are magnitude faster than default ones.
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!
"battop" best battery info viewer
Gnu parallel. Don't use it often, but when I have to is awesome. Turns what could have been a script to a line of bash
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.
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.
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.
@@arzaroth1944 Oh, you're right! I didn't even realize it was that smart xD
EXCELLENT list and quick reviews! much appreciated! side note - now I'm gonna be busy tonight trialing all these little nuggets of Linux beauty!
*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 !*
A very simple one I use all the time is tree, basically recursive ls that goes inside directories as well.
find exists and produces output that's much easier to process with further commands though.
@@halfsourlizard9319of course, but tree is easier to process with your eyes if you want to make sense of a directory structure at a glance, thanks to the output having an actual tree, drawn using ASCII box drawing.
I use erdtree for that, I find it more exhaustive
@@subrezon My semi-random cwd has 1559 files it its subdirectories ... and that's a relatively small project. Using eyes and text-visualised structure is only feasible in very small / not very deep dirs. 🤷♀️
i usually use `eza --tree` for this, it's much nicer too look at
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!
Wow. Atuin is completely awesome.
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
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.
ranger is a must for me
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
Great video! I hope you do this format (bringing community's suggestions) more often
I've been using one I wrote myself called pl. It keeps track of what episode your own when watching offline video series in the terminal and automatically plays the next episode.
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.
Up arrow? Ctrl+R is your friend. Can't remember the flags you used on that last `tar` command? Just hit Ctrl+R and then type tar. If you hit the wrong one, keep hitting Ctrl+R again until you find it.
Better still, if you use bash or zsh, just integrate fzf into the shell, and fzf will do a fuzzy match against your history.
The one I came across was notify-send, not as powerful as some of them but worth a look at.
Very nice as well!
I use notify-send every single day to notify me after my software is updated (apt, snap, flatpak). Doesn't work flawlessly, but nice as an easy signal
Before I start watching, here is what I use:
Atuin
Starship
Exa
Ripgrep
Fd
Bat
Lazygit
Zoxide
Nvim
Joshuto
Bottom
Let's see how many of them is in this video.
Just Atuin, eza, bat. 😕
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.
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,
Hell yeah. I saw that Neverwinter Nights folder :D
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.
For the terminal command history, I prefer using hstr, very simple to use, probably not as advanced as atuin but for basic stuff works well;
To complement tldr: halp
Wow! I used homebrew on Mac, but didn’t realize I can also install it on Linux! Thanks 🙏
Why would you want to use brew when you could use an actually-competent package manager?!
@@halfsourlizard9319Choosing and installing the versions I want without mucking up the global installation is compelling to me. You also don't need sudo. Plus, I got used to use brew on Mac.
Atuin is also one of the greatest Terry Pratchett references ever. For those who don’t know, Atuin is a giant, space-wandering turtle, holding four hefty elephants on its shell, which in turn hold the disk-world on their backs. I can highly recommend the discworld novels. The farther along you get, the more entertaining they are (you also don’t need to read them in order).
Please do yourself a favor and DON'T install Atuin! My command history is permanently broken now!
So in case somebody doesn't want to install a database, if you press Ctrl+R and then type something, it will search it kn your command history. It is fast and useful and better than pressing Up 200 times
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
better cd -> zoxide
to mount partitions -> bashmount
tmux etc
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.
tldr and thefuck are my most used new cli tools. Like another commenter mentioned, if you mistype a command, you can type "fuck" out of frustration at the terminal and it'll try to give the right command! It hasn't made a mistake yet
What I never hear younger unix/linux users talk about (I’m 64 and using unix since 1985) is: the ! Command in vi/vim. It gives you everything of any command line tool inside vi/vim while editing your files. Try getting your head around the endless possibilities here.
I do that all the time just to get back to the terminal rq for a second just to see something in the back scroll.
What a great video Nick! So many tools that will help manage my linux servers! ❤
Imo one of the most useful ones is jq
It least you nicely deal with JSON from the command line.
There’s yq as well
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!
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.
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.
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
I CAN'T BELIEVE U DIDN'T MENTION THE 2 MOST IMPORTANT ONES !
1: A TERMINAL FILE MANAGER: YAZI > RANGER.
2: AN EDITOR: NVIM > VIM.
AND I WANT TO ADD 2 MORE THINGS:
1: IT IS WORTH MENTIONING THAT BTOP CAME FROM BPYTOP, BUT BTOP IS FASTER.
2: LSD > EZA BECAUSE BOTH RE WRITTEN IN RUST, BUT LSD USES THE SAME OPTIONS AS LS.
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!
5:19 Just press Ctrl+R
I still prefer nix over brew, I especially like to use nix-shell to only get what I need temporarily. With home-manager it can do most of what chezmoi do as well.
no need to use atuin you can use fzf too!