12 GREAT command line programs YOU recommended!

Поділитися
Вставка
  • Опубліковано 15 тра 2024
  • 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
    UA-cam: 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.
  • Наука та технологія

КОМЕНТАРІ • 690

  • @TheLinuxEXP
    @TheLinuxEXP  2 місяці тому +54

    Try out Proton Mail, the secure email that protects your privacy: proton.me/mail/TheLinuxEXP

    • @FrankCastiglione
      @FrankCastiglione 2 місяці тому

      Soon I'll try. I tested Tutanota/Tutamail but I didn't like user interface. Proton Mail looks good.

    • @rhalloff
      @rhalloff 2 місяці тому +2

      I'm a huge Proton Fan. I used most of their apps.

    • @guandulin
      @guandulin 2 місяці тому +1

      I do use proton, I am still waiting for the drive Linux app.

    • @user-hl7ic7wc1r
      @user-hl7ic7wc1r 2 місяці тому +4

      Proton gave recovery email addresses to authorities. You might as well use gmail

    • @eb37fnrcty19
      @eb37fnrcty19 2 місяці тому

      @@user-hl7ic7wc1r source please? might help us out

  • @defekT1312
    @defekT1312 2 місяці тому +588

    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 2 місяці тому +9

      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 2 місяці тому +2

      for real

    • @ClokworkGremlin
      @ClokworkGremlin 2 місяці тому

      Picked up my first Linux malware experience, so that was fun.

    • @haplozetetic9519
      @haplozetetic9519 2 місяці тому

      @@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 2 місяці тому

      @@ClokworkGremlin Youre not alone, man im tracking down 8 critical vulns in two recent kernel versions

  • @foji-video
    @foji-video 2 місяці тому +539

    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 2 місяці тому +36

      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 2 місяці тому +14

      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 2 місяці тому +6

      And if it's not in the native (deb/rpm) format, using something like Distrobox or Snap is a far superior alternative

    • @owmylehg7811
      @owmylehg7811 2 місяці тому +7

      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 2 місяці тому

      Homebrew is a necessity on macs. The search results from their appstore are a mess.

  • @sbrl
    @sbrl 2 місяці тому +224

    tldr-pages maintainer here. Thanks for featuring us! ✨
    (psst, we're always looking for more contributors :P)

    • @markcoren2842
      @markcoren2842 2 місяці тому +19

      tldr single-handedly doubled my command line productivity. I can't thank you all enough for all your amazing work!

    • @sbrl
      @sbrl 2 місяці тому

      @@markcoren2842 heh, glad we could help!

    • @aronflip4021
      @aronflip4021 26 днів тому +1

      what language is it written in. I am proficient in Rust so perhaps I could help

    • @sbrl
      @sbrl 25 днів тому

      @@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

  • @nmetal05
    @nmetal05 2 місяці тому +86

    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 2 місяці тому +1

      Ohh, I thought it was Dutch. Good to know!

  • @bennypr0fane
    @bennypr0fane 2 місяці тому +72

    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 2 місяці тому +80

    I recommend NCDU, it's more interactible for space usage analysis

    • @CelsoAndradeDev
      @CelsoAndradeDev 2 місяці тому

      I agree

    • @terryriley6410
      @terryriley6410 2 місяці тому

      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 2 місяці тому

      same

    • @terryriley6410
      @terryriley6410 2 місяці тому

      diskonaut is also good

    • @__mrmino__
      @__mrmino__ Місяць тому +4

      Have you tried gdu? It's just _so much faster_

  • @Alex-ce1ol
    @Alex-ce1ol 2 місяці тому +123

    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 2 місяці тому +1

      That's what I immediately thought.

    • @51n79
      @51n79 2 місяці тому +23

      Also just typing the keyword "history" gets overlooked.

    • @howling-wolf
      @howling-wolf 2 місяці тому

      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 2 місяці тому +14

      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 2 місяці тому +2

      he already knows this, he told us in a previous vid maybe 1 year ago

  • @ivanmaglica264
    @ivanmaglica264 2 місяці тому +59

    mc - Midnight Commander - modern Norton Commander replacement. I cant live without it, saves literally hours a week

    • @zyghom
      @zyghom 2 місяці тому +2

      1000000% agreed, every distro I install or container I always start with: "sudo apt install htop mc"

    • @24hhhhours
      @24hhhhours 2 місяці тому +5

      I prefer ranger

    • @BobOgden1
      @BobOgden1 2 місяці тому

      This

    • @Private-GtngxNMBKvYzXyPq
      @Private-GtngxNMBKvYzXyPq 2 місяці тому

      Thanks for the advice.

    • @Teaman313
      @Teaman313 2 місяці тому +3

      😲 MC is still around?!

  • @barbiefan3874
    @barbiefan3874 2 місяці тому +143

    always prefer installing packages via your distro's package manager, if the package is there

    • @TheLinuxEXP
      @TheLinuxEXP  2 місяці тому +21

      Not necessarily. Your distro might have old versions of these, missing useful features

    • @NameUserOf
      @NameUserOf 2 місяці тому

      @@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 2 місяці тому +73

      i'd rather have old software than broken packages

    • @johannesrodt290
      @johannesrodt290 2 місяці тому +29

      Use nix instead

    • @fabiandrinksmilk6205
      @fabiandrinksmilk6205 2 місяці тому

      @@TheLinuxEXPHomebrew could provide problems with dependencies, which Nix does not. nix-env is a pretty elegant alternative to Homebrew.

  • @taylorhardy902
    @taylorhardy902 2 місяці тому +35

    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 2 місяці тому +2

      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 2 місяці тому

      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.

  • @legitt6093
    @legitt6093 2 місяці тому +11

    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__ Місяць тому +3

      And using brew can seriously break your install. Don't mix package managers because the quickest repair is generally a reinstall

  • @thedoofguy5707
    @thedoofguy5707 2 місяці тому +27

    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 2 місяці тому +1

      lf (made in go) is better, far better than ranger, far better than nnn and better than midnight commander

    • @thichquang1011
      @thichquang1011 2 місяці тому

      vifm is pretty cool also

  • @PanduPoluan
    @PanduPoluan 2 місяці тому +10

    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

  • @Goose.wox.2
    @Goose.wox.2 2 місяці тому +39

    8:26 i personally use ncdu because i find it more easy to read and navigate

    • @hurleyd9828
      @hurleyd9828 2 місяці тому +7

      love ncdu

    • @vighneshmallampally6627
      @vighneshmallampally6627 2 місяці тому +4

      Me too ✋

    • @turanamo
      @turanamo 2 місяці тому +4

      neat! thanks! don't need crappy brew for this, can use default package manager.

    • @oWeRQ666
      @oWeRQ666 2 місяці тому

      Dua and broot interesting too, but not in repos

    • @ordinosaurs
      @ordinosaurs 2 місяці тому

      Just proposed it, hadn't found your message yet. Yes, ncdu is a lifesaver.

  • @halfsourlizard9319
    @halfsourlizard9319 2 місяці тому +48

    Why on earth would you use brew unless you're stuck using a Mac?!?

    • @circular_logic6217
      @circular_logic6217 2 місяці тому +2

      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 2 місяці тому

      @@circular_logic6217 If a package isn't in the main Arch repos or the AUR, does it even exist?

    • @__Brandon__
      @__Brandon__ Місяць тому

      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

  • @collinslagat3458
    @collinslagat3458 2 місяці тому +52

    Zoxide as a replacement or complement for *cd* command.

    • @terryriley6410
      @terryriley6410 2 місяці тому +5

      yes. never going back to cd.

    • @paultapping9510
      @paultapping9510 2 дні тому +1

      one of the first things I install, I like it so much I've aliased cd to it

  • @jaumesinglavalls5486
    @jaumesinglavalls5486 2 місяці тому +65

    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 2 місяці тому

      Seems very useful, also the best name for a command xD

    • @hugofontes5708
      @hugofontes5708 2 місяці тому

      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 2 місяці тому

      @@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 2 місяці тому +3

      Alias to drat for a family friendly version

    • @moarjank
      @moarjank 2 місяці тому +1

      LOL!
      alias drat=fuck
      Best line in a bash profile so far 😂

  • @realname5630
    @realname5630 2 місяці тому +16

    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

  • @Eagledelta3
    @Eagledelta3 2 місяці тому +39

    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 2 місяці тому +6

      or you could just press CTRL+R under normal bash and... what do you know, the same behavior!

    • @opfipip3711
      @opfipip3711 2 місяці тому

      @@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 2 місяці тому

      @bla1173 except without the fzf search algo

    • @dhvcc8182
      @dhvcc8182 2 місяці тому

      @@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 2 місяці тому

      ​@@nuligebla1173the advantage of using CTRL+R with fzf is (like the name suggests) fuzzy finding

  • @bubbles581
    @bubbles581 2 місяці тому +15

    Obviously tetris for terminals (tt) is the only command line app we need.

  • @ferdynandkiepski5026
    @ferdynandkiepski5026 2 місяці тому +10

    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.

  • @timsoft3
    @timsoft3 2 місяці тому +10

    awk is a favourite, its, great with grep, cat and head or tail when scraping info from a file into a variable.

  • @NameUserOf
    @NameUserOf 2 місяці тому +12

    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 2 місяці тому

      oh, yesss, yazi is amazing

    • @PanduPoluan
      @PanduPoluan 2 місяці тому

      Ah, there's something I need to try! (yazi)
      And I agree with you about fd !!

  • @oalfodr
    @oalfodr 2 місяці тому +5

    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...

  • @ErrorMessageNotFound
    @ErrorMessageNotFound 2 місяці тому +5

    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 2 місяці тому

      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.

  • @cameronbosch1213
    @cameronbosch1213 2 місяці тому +13

    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 2 місяці тому

      I suppose you run whatthefuck for the help page?

  • @lritzdorf
    @lritzdorf 2 місяці тому +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"

  • @fan_juggler
    @fan_juggler 2 місяці тому +25

    calcure - calendar for your terminal!

  • @madbradfreeman
    @madbradfreeman 2 місяці тому +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!

  • @MrOrtmeier
    @MrOrtmeier 2 місяці тому +1

    Community recommendation videos are gold for Linux nerds. I always want to find new or better utilities i never knew existed

  • @utahnl
    @utahnl 2 місяці тому +20

    Not a separate tool but you can press in ctrl+r in bash to search your command history.

    • @gavinjones
      @gavinjones 2 місяці тому +1

      Indeed but you can't see all matches at once. You could grep but the program is just more convenient

  • @lundgamingxd5387
    @lundgamingxd5387 2 місяці тому +37

    Another fire TLE video🔥

  • @ArmenManukyan
    @ArmenManukyan 2 місяці тому +12

    ncdu has a more intuitive UI than dust, I'd recommend that instead.

    • @rjhornsby
      @rjhornsby 2 місяці тому +2

      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 2 місяці тому

      ​@@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.

  • @ToadalChaos
    @ToadalChaos 2 місяці тому +3

    Fzf also does command history searching!
    In fact, that's what I use it for the most.

  • @trs5127
    @trs5127 2 місяці тому +9

    You releasing videos is kinda becoming an occasion at this point. I keep checking your channel everytime I open UA-cam to see if there's a new video lmao. So much great content!

    • @TheLinuxEXP
      @TheLinuxEXP  2 місяці тому +1

      Hahaha I try to stick to 2 per week, but I missed on last week as my wisdom teeth were acting up…

    • @trs5127
      @trs5127 2 місяці тому +1

      @@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 :)

  • @seymourtoa
    @seymourtoa 2 місяці тому +1

    EXCELLENT list and quick reviews! much appreciated! side note - now I'm gonna be busy tonight trialing all these little nuggets of Linux beauty!

  • @blainescroggs9268
    @blainescroggs9268 2 місяці тому +2

    I'm gonna have to watch this again and take notes :)

  • @DeathSugar
    @DeathSugar 2 місяці тому +2

    first thing I definitely install is a ripgrep and fd-find - replacements for grep and find. They are magnitude faster than default ones.

  • @lucaggett1603
    @lucaggett1603 2 місяці тому +8

    FZF has been a great addition! I often use autojump for quickly navigating directories

    • @klmcwhirter
      @klmcwhirter 2 місяці тому +2

      How does autojump compare to zoxide ? Do you know? I just started to use zoxide with fzf integration recently.

    • @lucaggett1603
      @lucaggett1603 2 місяці тому

      @@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 2 місяці тому

      ​@@klmcwhirterzoxide is better

    • @lucaggett1603
      @lucaggett1603 2 місяці тому

      @@klmcwhirter I've used both and they're pretty much identical, zoxide is a bit faster but it's not very noticeable for me

  • @Luc484
    @Luc484 2 місяці тому +1

    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 2 місяці тому +1

    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.

  • @zeta_eclipse
    @zeta_eclipse 2 місяці тому +7

    zellij is a moroccan word (darija) that means tile (as in floor or wall tiles)

    • @TheLinuxEXP
      @TheLinuxEXP  2 місяці тому +1

      Ohh Nice!

    • @zeta_eclipse
      @zeta_eclipse 2 місяці тому

      @@TheLinuxEXP:)

    • @themedleb
      @themedleb 2 місяці тому +1

      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 2 місяці тому

      @@themedlebi've never heard it used in arabic, that's why i assumed it's a darija word

  • @mritunjaymusale
    @mritunjaymusale 2 місяці тому +6

    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

  • @theinhumaneme
    @theinhumaneme 2 місяці тому +13

    We need more videos of this format!!!!

  • @rhalloff
    @rhalloff 2 місяці тому

    Great Video!! I have installed several of the recommended apps and I've saved the vid in my saved Linux youtube folder. Thanks!!!

  • @goldskula
    @goldskula 2 місяці тому +4

    ranger is a must for me

  • @amigalemming
    @amigalemming 2 місяці тому

    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.

  • @Kevin-oj2uo
    @Kevin-oj2uo 2 місяці тому +1

    What a great video Nick! So many tools that will help manage my linux servers! ❤

  • @XoaGray
    @XoaGray 2 місяці тому +1

    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.

  • @beardlyinteresting
    @beardlyinteresting 2 місяці тому +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

  • @kirkkork
    @kirkkork 2 місяці тому

    A lot of these are very useful!
    It would be great to find more!

  • @neko6803
    @neko6803 2 місяці тому +4

    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 2 місяці тому

      you might as well set python as your default shell...

    • @moarjank
      @moarjank 2 місяці тому

      Also, use can use "bass" to get closer to POSIX compatibility, and to source bash profiles

    • @__Brandon__
      @__Brandon__ Місяць тому

      Zsh will do this too, but won't break every shell command you know and love

    • @neko6803
      @neko6803 Місяць тому

      @@__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 Місяць тому +1

      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)

  • @Little-bird-told-me
    @Little-bird-told-me 2 місяці тому +1

    *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 !*

  • @johnjohnson7500
    @johnjohnson7500 2 місяці тому

    Those are really great cli Tools! Most of them I have never heard of. Thanks to you and the community.

  • @kkb-graph
    @kkb-graph 2 місяці тому +2

    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)

  • @cry0xen
    @cry0xen 2 місяці тому

    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

  • @drzmuhammed
    @drzmuhammed 2 місяці тому +1

    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.

  • @joecan
    @joecan 2 місяці тому

    This is great vid. please do a part 2!!

  • @JeroenFallsUp
    @JeroenFallsUp 2 місяці тому +4

    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 2 місяці тому +1

      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 2 місяці тому +5

      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 2 місяці тому +1

      @@arzaroth1944 Oh, you're right! I didn't even realize it was that smart xD

  • @Wampa842
    @Wampa842 2 місяці тому +2

    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).

  • @jurgenhaan7652
    @jurgenhaan7652 2 місяці тому

    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.

  • @gavinjones
    @gavinjones 2 місяці тому +2

    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

  • @howling-wolf
    @howling-wolf 2 місяці тому +2

    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

  • @darthkielbasa
    @darthkielbasa 2 місяці тому +1

    00:01 glances is a game changer. If you’re the dashboard type, has api capabilities

  • @Rohinthas
    @Rohinthas 2 місяці тому

    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!

  • @MoPaTography
    @MoPaTography 2 місяці тому +1

    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

  • @subrezon
    @subrezon 2 місяці тому +3

    A very simple one I use all the time is tree, basically recursive ls that goes inside directories as well.

    • @halfsourlizard9319
      @halfsourlizard9319 2 місяці тому +1

      find exists and produces output that's much easier to process with further commands though.

    • @subrezon
      @subrezon 2 місяці тому +2

      ​@@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.

    • @TheSast
      @TheSast 2 місяці тому +1

      I use erdtree for that, I find it more exhaustive

    • @halfsourlizard9319
      @halfsourlizard9319 2 місяці тому

      @@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. 🤷‍♀️

    • @sodiboo
      @sodiboo 2 місяці тому +3

      i usually use `eza --tree` for this, it's much nicer too look at

  • @Drezaem55
    @Drezaem55 2 місяці тому +6

    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 2 місяці тому +2

      After only using bash for everything, installing fish for the first time was like stepping into the 21st century shell-wise

    • @moarjank
      @moarjank 2 місяці тому

      Add bass to fish, and you can still get system environment variables and a clean way to run POSIX code

  • @averagemamil4523
    @averagemamil4523 2 місяці тому +1

    Excellent vid - lots of utils I’ve never even heard of 👍

  • @npaladin2000
    @npaladin2000 2 місяці тому +4

    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,

  • @kuhluhOG
    @kuhluhOG 2 місяці тому +2

    Imo one of the most useful ones is jq
    It least you nicely deal with JSON from the command line.

    • @RevHardt
      @RevHardt 2 місяці тому +1

      There’s yq as well

  • @artim96
    @artim96 2 місяці тому +2

    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.

  • @pmccarthy001
    @pmccarthy001 2 місяці тому +1

    Tab with atuin... glad you mentioned that. I had installed it, but couldn't figure out how to do anything with it besides running the command as-is. Serious case of tldr...

  • @Funny0facer
    @Funny0facer 2 місяці тому

    great video! I will try out some options!

  • @MyurrDurr
    @MyurrDurr 2 місяці тому

    Oo found some really nice utilities to try from this video 💜
    Please do more!

  • @tarcilioneto
    @tarcilioneto 2 місяці тому +1

    Surprised Nala was not in the list. Great video!

  • @anonlegion8331
    @anonlegion8331 2 місяці тому

    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.

  • @gungun974
    @gungun974 2 місяці тому +6

    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.

  • @wtfisgoingon535
    @wtfisgoingon535 2 місяці тому +2

    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 :)

    • @konstantink07
      @konstantink07 2 місяці тому

      starship is slow af

    • @moarjank
      @moarjank 2 місяці тому

      Rust is faster than bash, so in my exp, it's faster than og powerline

  • @alxkw6355
    @alxkw6355 2 місяці тому +2

    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!

  • @FrankDave
    @FrankDave Місяць тому

    i also like fclones and rnr, and many more from the awesome rust list.

  • @trevorford8332
    @trevorford8332 2 місяці тому +4

    The one I came across was notify-send, not as powerful as some of them but worth a look at.

    • @TheLinuxEXP
      @TheLinuxEXP  2 місяці тому +1

      Very nice as well!

    • @tercmd
      @tercmd 2 місяці тому +3

      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

  • @Daktyl198
    @Daktyl198 2 місяці тому

    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.

  • @heindijs
    @heindijs 2 місяці тому +5

    No cowsay? :(
    That's one I've recommended haha

    • @moarjank
      @moarjank 2 місяці тому +1

      "fortune | cowsay" ftw

    • @heindijs
      @heindijs 2 місяці тому

      @@moarjank fortune | cowsay | lolcat :))

    • @moarjank
      @moarjank 2 місяці тому

      @@heindijsfortune | lolcat | cowsay, you mean :)

    • @heindijs
      @heindijs 2 місяці тому +1

      @@moarjankHmm for me it has always only worked in that order, because lolcat is the final 'addition', if I put it before cowsay it will not be rainbow coloured.

  • @calyodelphi124
    @calyodelphi124 2 місяці тому

    I definitely liked this video, and I'm definitely going to check some of these out at some point!

  • @Oharafolk
    @Oharafolk 2 місяці тому

    Great video and great idea, thank you so much Nick!

  • @theeternalsw0rd
    @theeternalsw0rd 2 місяці тому +2

    Good to know about eza as I was using exa and didn't realize it's unmaintained now.

  • @RobShinn
    @RobShinn 2 місяці тому +2

    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.

    • @PanduPoluan
      @PanduPoluan 2 місяці тому

      Better still, if you use bash or zsh, just integrate fzf into the shell, and fzf will do a fuzzy match against your history.

  • @KrishnaDraws
    @KrishnaDraws 2 місяці тому

    Highly useful. I downloaded many of the apps mentioned. Is there a terminal command that will show the last several terminal apps installed? I tend to forget I have them otherwise.

  • @le9038
    @le9038 2 місяці тому +2

    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...

    • @konstantink07
      @konstantink07 2 місяці тому +2

      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)

    • @le9038
      @le9038 2 місяці тому +2

      @@konstantink07 Woooosh

  • @JeffHeon
    @JeffHeon 2 місяці тому +13

    Wow! I used homebrew on Mac, but didn’t realize I can also install it on Linux! Thanks 🙏

    • @halfsourlizard9319
      @halfsourlizard9319 2 місяці тому +8

      Why would you want to use brew when you could use an actually-competent package manager?!

    • @JeffHeon
      @JeffHeon 2 місяці тому

      @@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.

  • @mattig89ch
    @mattig89ch 2 місяці тому

    Yes, please more videos like this. This was great.

  • @neubianx
    @neubianx 2 місяці тому

    Yes, do a part 2!!!

  • @gordug
    @gordug 26 днів тому

    This is genuinely the most informative video I've seen this year. 🎉

  • @CocolinoFan
    @CocolinoFan 2 місяці тому +11

    You should have mentioned that is bad to have two package magnets if you don't know what your doing...

    • @mrpro2264
      @mrpro2264 2 місяці тому

      Except nix it,s really strong useful package manager

  • @z0py
    @z0py 2 місяці тому

    Very interesting video, I would love to see more of them

  • @laesseV
    @laesseV 2 місяці тому +1

    fzf can also search through your command line history with CTRL-R

  • @SeaWasp
    @SeaWasp 2 місяці тому +1

    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

  • @High0Voltage0Games
    @High0Voltage0Games 2 місяці тому +2

    The app Hollywood is always fun

    • @RevHardt
      @RevHardt 2 місяці тому

      Don’t forget cmatrix