1761659324_maxresdefault.jpg

I doubt everyone knows all 5, but they are game changers.

Website Guide: https://christitus.com/5-terminal-commands/ .

►► Digital Downloads ➜ https://www.cttstore.com
►► Patreon ➜ https://www.patreon.com/christitustech
►► Twitch ➜ https://www.twitch.tv/christitustech
►► Website and Guides ➜ https://christitus.com

source

29 thoughts on “5 Terminal Commands

  1. Rg, watch, fzf, FD, parallel, xarg, sync, Cron jobs, XSV, sed, ncdu, tee, SSH, tmux, x11 server/client, make, bat

    Newcomer that I'm not quite 100% sure I love, aichat. Provided an API key, it can make calls out to a variety of LLM's from the CLI.

  2. I don't understand why c matrix keeps getting listed as a useful utility… It's always a disappointment to see it using up a slot, that could be reserved for such better commands. Thanks for the list, the others are nice additions.

  3. trash-restore is a bit of a pain to use, since you have to look through the list of files in your trash, find the number, and type it in. It would be much better if you were able to search for it and select it that way. So I aliased it to do exactly that. Put the following line in your .bashrc (also requires fzf to be installed):

    alias trash-restore="trash-restore <<< n | head -n-1 | fzf | awk '{print $1;}' | trash-restore"

  4. You have excellent content and excellent presentation. Listening to your vivacious tone is a tremendous benefit. I am not certain you are aware of it. Great job. Liked. Subscribed.

  5. I am a newbie who didn't know about auto-jump, so I just created a command go-to (gt):
    clear
    saves the current path to a variable (if i specified a dir)
    cd (if i specified a dir)
    pwd
    ls -la

    if I don't specify a dir it just goes clear pwd ls -la

    I always want to know what is in the dirs I go to (and the path is just to make it feel complete, and pretty idk)

    and created a command go-back (gb):
    gt $last_path_variable

    so I can hop back and forward between 2 dirs with minimal effort

    also cheat-cheat (cs) which list a bunch of command that I use a lot in my workflow in order
    I can give it a number to run the command in that position or choose to run them all
    (basic automation but with a cheat-cheat if I need it because I'm not used to this)
    I'm particularly proud of this one despite being simple automation because it makes my life so much easier

  6. Interesting. The only two I found useful were trash-cli (LIFESAVER especially on servers!) and tldr, both of which I already use. Instead of progress I used to prefer pv, but it's extremely rare that I have any use for that these days.

    For collaborating with coworkers I rather like tmux, but that's kind of a niche tool too, probably not super useful for most.

    Still, MUCH better video than 99% of the terminal command vids on YT.

  7. tldr is worth the price of admission. One command I can't live without is 'ag' (the_silver_searcher). I can't go back to regular grep anymore. heh, you could even try 'tldr ag'

  8. nice cli-tools too are : bat as alternative to cat, exa as alternative for ls, gdu as cli-tools for disk usage, micro as alternative for nano

  9. For those installing tldr for the first time, I had to do tldr -u before I was able to use the command, maybe Titus already had the db in his system before he installed tldr because in the video I didnt see him do the tldr -u option. Hope it helps.

  10. Wow, I never knew of tldr, but now that I do it's life changing. I've spent way too much time browsing man pages looking for the simplest commands. Thanks Chris! 👍

    Btw: tldr is packaged as tealdeer in openSUSE.

  11. tldr is really a handy one I didn't know about, though for me on my mint 21 laptop I had to run "tldr -u" after to update the tldr cache otherwise it wouldn't know anything about anything I tried 😀

  12. In addition to progress command, the pv command is also very useful. pv – monitor the progress of data through a pipe. pv could be used to monitor the progress of dd. For example:

    dd if=/path/to/input | pv | dd of=/path/to/output

  13. purge does not clear the entire autojump database. The documentation states: "Removes non-existing directories from the autojump database:" Only directories that no longer exist or can no longer be stat(ed) will be removed. To clear the entire database remove the file listed as "data:" on the "j -s" command. In addition, the behavior of "j pattern" command is not consistent if there are more the one entry in the database containing the pattern.

  14. HI 🙂 Newby but with a working brain. What Linux distro are you using for this video? I have Ubuntu and I run into problems to connect USB things like Android 9, Gopro 9, etc. Thank you.

Comments are closed.