Thank you for sharing this with us. Please, do keep making videos like this about apps for the command line. New to Linux, so stuff like this helps. And, I'd never find these myself.
Some great suggestions here! For the "forgetting to type sudo" problem, there is a simple way to do this without an extra package. `sudo !!` will repeat your last command with sudo in front of it. This method is more flexible, too.
fzf is the greatest tool. I even wrote a script to use my default text editor micro to piggy back onto fzf and use fzf window panes. The fastest and most efficiently simple notes I ever used with the help of fzf.
I'm a little tipsy, but for some reason I didn't see the !! And parsed it as "do sudo" which reminded me of IOS CLI where I refuse to leave config mode because I'm lazy as frack and I just "do" stuff Ex. " Do show run"
Ooo yeah I like ranger but it is really slow. Before I gave up and dual boot into manjaro, I was using WSL and ranger was chronically slow, especially since there wasn't a nice way to xdg without manually setting up a xsvr and routing the network and setting up custom firewall settings
fd - find replacement. Love it's type filtering i.e. fd -e md -x wc -l to line count markdown or fd -t cmake version to find version in cmake files fasd - same functionality as autojump.. hit tab to expand matching locations or use to prompt fzf - make your own searchable lists with previews. I.e. ff takes fasd lists and lets me fuzzy find over them. gli does a git log displaying a tree of commits in the bottom and a preview of the changes at the top
I cannot believe you forgot (I think) the most important cli tool, the one you run to show people you use a terminal: Cmatrix And for those on windows, I guess you have "cd / && tree /f" (-f for Linux) to get a similar effect.
The irony about the rmtrash thing at the beginning as the I always perma-delete from the GUI instead of using Trash, but having an option to trash from the CLI appeals to me XD
3:15 It may not just be in your ~/.bashrc file. If you use bash for your shell, basically most people, it will be there. If you use zsh or fish, it will be in their respective file (~/.zshrc or ~/.config/fish/config.fish) Edit: or use the "alias" command, that may not work after a reboot Edit 2: added files for fish/zsh. Also there are ways to find out what shell you are using. By default it is most likely bash, but you can check if you use an app like Konsole (KDE) or GNOME Terminal within their settings, as something like "shell" or "startup script"
@@aqua-bery There is a way to set it to always work iirc. edit: just remembered that is what he talked about in the video, buy setting it in ~/.bashrc or ~/.zshrc. Forgot the command didn't work after a reboot
quick tip for Ranger: start Ranger by typing ". ranger" or "source ranger" and when you quit ranger you will be dropped into the directory you left in ranger. Since I use ranger all the time, I just use an alias for it.
I still prefer just using the GUI for most things (kinda funny because I also use swaywm but that's more because of bugs in kde wayland). Autojump and tldr do seem nice though. And I think most dev setups that support old browsers already use caniuse to add fallbacks for old browsers.
Two I would recommend are Midnight Commander (text-based two-pane file browser, with built-in text and hex editor, and lots of other stuff), and htop (shows tons of info about running processes and lets you do stuff like change priorities, kill etc)
One of the best videos i have ever watched that talked about the cli-tools. Almost all were the tools I needed but didn't even know i needed them. I just love linux. Thanks a lot nick for making this one.
Two I'd recommend are locate and find. You could spend an entire video on just find. I often use it to match files in massive directories with -maxdepth 1 and I'll use -print0 to pipe it to xargs -0. Quite useful for a lot of daily tasks I do. Also try fullscreening your terminal and use mpv --vo=tct or --vo=caca on a video of your choice, you won't be disappointed.
I'd recommend fd over find, I "find" finds syntax to be way too confusing for some reason, if I do "fd whatever" it just recursively searches everything respecting .gitignore, which is almost always what I want
@@morristgh Yeah, they are for a lot of people, though I avoid them in lieu of making lists and then running commands later after I've made sure every entry is sane.
| mpv --vo=tct or --vo=caca on a video Can I do ao for audio only? I assumed your vo stood for video only, but haven't tested it yet. I've been using mpv --no-video to listen to playlists and albums.
4:33 ik there are a lot of people who dont like fish(the fish shell), but it has this epic feature that lets you jump to an old command faster with up arrow key, just type a few initial characters of the long-command on the terminal and hit the up arrow, it will filter and show the previous commands based of the characters you entered, quite handy when i look up for that one long ffmpeg command
oh, that's what I need! So, is or the equivalent for fish? For bash_history, I learned I could organize it for later use - to keep notes - by using markdown headers - like other config files seem to. I keep music playlists, install notes, encryption notes, etc. that way. But, I've been wanting a better way to search it - using the terminal.
Just to share some of my favorites, I've got two productive ones and a timewaster for y'all: - youtube-dl (or one of its forks), for when you want to watch videos on a long road trip with bad internet - pass - the project is called passwordstore (because just googling "pass" would probably not bring up the right site), and it's basically a gpg-encrypted, local password manager. There's even frontends like passmenu or rofi-pass if you're using dmenu or rofi, respectively, browser plugins for Firefox and Chrome, and ports for Android, iOS and Windows (though I have no experience with the latter two, the Android app works great) - cmatrix… it's just neat :)
Woo! Callout for ranger. I love ranger. I probably spent an entire week playing around with Midnight Commander, lfm, etc. Before finding Ranger. I had just gotten into vim and learned how it works (I'm trying to convince myself to learn emacs as well atm) and I fell in love with Ranger's vim-style controls.
And when you want to use whatever is on the X clipboard at the moment on the command line, shellscript, etc. you can use xclip -o. Awesome little tool! For instance, instead of paging through pages and more pages of a large log file to copy portions of it and paste it on a report or something, you can simply get it directly with xclip and some smart thinking: sed -n '/begin_string/,/end_string/p' | xclip
I've never heard of any of these commands, and most of them seem incredibly useful. This video instantly got bookmarked, it will definitely come in handy. Thanks!
If your only mistake is forgetting that type "sudo" before a command, you can just type "sudo !!" then hit enter, and it runs the previous command with sudo. For other mistakes, though, that does look like an interesting tool.
I don't think I'll start using the trashcan anytime soon. I've lived without using it for more than 10 years now. And I haven't made too many mistakes by deleting files I didn't mean to destroy forever. Thank you anyway, the number of useful commands in Gnu/Linux cli still amazes me.
One classical tool that I love is the file manager Midnight Commander (mc). Also I wound recommend the editor joe which is very fast, and useful for editing config files, etc [In my opinion much easier to use than vim, and more feature complete than nano, with excelent support for very large files, and the shell xonsh which is based in Ipython, and can run a superset of Python with a shell-like syntax (the best of both words!).
This is well done and documented. I know, you said don't run off and install as the video was going, but I couldn't help it. I like your presentation, and the fact you had the chapters listed as well as the github locations. You are very much appreciated and am glad I subscribed.
1- there is "Gio" from GTK Team, i think that it's included in ubuntu Recomendations (that you may already know): jq - json processor (great to consume api responses) xdotool - fake mouse/keyboard input scrcpy - mirror phone screen micro - an intuitive text editor
micro is really good. but, if nano is configured correctly (it took me hours to get right), it is almost as good as micro or even better. I wish someone would fork nano to make it this way without all of the hard labor.
I just found out about tldr which is a great time saver for me since I tend to forget command syntax pretty often and reading man pages is time consuming. Thanks!
My personal pref, Vim ,vifm but range has recently become my fancy , zathura (technically not cli, but its suckless and keyboard based), gomuks as my matrix client, ffmpeg
I love the trash talk in this video. Using trash-cli myself since months and can recommend it. Little warning for some: Do not alias trash-cli to rm. You might get into the habbits of deleting with rm more easily. And when you do that on a system without trash-cli and alias, then those files are gone. Try to learn the new command instead.
vim is actually a pretty powerful tool. Everyone knows it can edit files, but did you know you can split the view into many tiling views and start a terminal in them? You can also try to edit a directory and it will bring up a kind of file manager.
There are a handful of tools that I tend to use heavily. One is mc (Midnight Commander), a file/archive manager and sftp client with a decent text editor. Another is multitail, a tail command on steroids that lets you split the screen into several subwindows, automatically repeat commands, colorize things via regex, etc. Nice for creating text dashboards in a terminal. A third is elinks, a text-based web browser that displays tables in a legible manner. Sure, you need old school HTML, but HTML 4.01 transitional is still my friend for simple pages.
among those i use the most : Zellij (like tmux, but more practical for new users), distrobox, kakoune, ffmpeg, and distro specific stuff (mostly xtools, a series of tools around xbps to get extra info, like locate which packages contains a file at a given location, which files a package contains, read manpage from not yet installed package, etc)
one other cmd line tool i love is fdupes, which makes it easy to find and delete any duplicate files stored on my HDDs. saved me literally over 2 tb of space from duplicate files i hadn't found manually;
ncdu is my personal fav as a replacement for 'TreeSize' you might know from Windows. It shows the disk usage of a folder with the ability to browser trough and the the size for each one
"remove that check if you're not afraid" 20yrs ago I would have, but 20yrs ago I ran everything as admin and fuck around n find out was my way of life.
One of the things I disliked about Linux when I began to learn it is just how much effort it took to do basic things - so much typing, reading, and manual work. Thanks for sharing these awesome tools!
Yes, you have to learn the basic's by reading and viewing video's. But it's worth it at the end. Been a Linux user for the past 19 years. Last version of Windows I touch was Windows XP.
Thefuck is so magical when working with git. Usually you have to research for a master‘s study to find the correct command you need in that situation but fuck just works, always
duf (pretty df) bat (cat with code highlighting) ncdu (du alternative with useful large file search) btop (attractive system monitor) Are some great cli tools, that I've come across
Another very useful teaching moment that you can bet I downloaded, and Many Thanks!. It's been 40 years since I used Unix on a VT-100 terminal, and brother do you bring back old memories. Now if I could just have Intel AEdit running again.....
The only command (among those in the video) that I ever used is espeak. With it, I made a talking clock (I just added a task to say the time every hour to cron), as well as a talking network printer. I took an old laser printer, built a single board computer inside it, and made it available over the network. Since the computer had an audio output, I added a small speaker and amplifier so that it would speak the IP address when turned on. This way I could be sure that the system booted up, connected to the network and I can go to this IP if I need to reconfigure something.
date +%R | espeak-ng hostname -I | tr . \ | espeak-ng (optionally add -v your_language) hostname -I prints IP address (works in debian/ubuntu, not in manjaro) tr replaces dots with spaces ( \ means space)
Instead of pressing the arrow key hundreds of times, just press ctrk+r and search for what you wanted. You can navigate by pressing ctrl+r again or ctrl+shift+r to go back. You can use esc to edit the command or enter to run it
@@karnalunea1122 i briefly tested cntrl+R and it only went back a few times. its a good tip (thank you), but rather limited still. I think bash needs to be updated to become more modern.
I use Vifm instead of Ranger. Two pane file manager with the ability to open multiple files for renaming directly in Vim. Other actions are also supported.
Just to add a recommendation for your sponsor, Tuxedo, I have one and it is awesome - never looked back. An no I don't work for them, but it was the first Linux out the box laptop I've ever owned, I had them add a virtual machine with WIN10 in but have never used it! 🙂
Great Video Nick! Another suggestion for file manager could be mc (Midnight Commander), I use it on my servers and personally I think is one of the most powerful command line tools, it's almost on par with a GUI File Manager. I'm installing the frack ASAP, made me laugh but looks super useful as well as the other tools
I know this is a CLI focused video, but autojump should be added to every single file browser. Just give an option to select how many "favorites" to be shown in the file tree. Users like my wife and my kids and parents would really benefit.
Hey! Just wondering if there are any good options for voice assistants or voice activated macros on Linux. I'd love to be able to open programs or run certain commands hands-free.
youtube-dl is an awesome tool, not just to download from YT. Works on heaps of sites where some browser plug-ins just won't work. And not just for Linux either 😉
@@Tachi107 I can normally block ads with browser plugins. It's just some sites you can't download videos from (like IView) with any plugins. Youtuve-dl seems to catch them all
True you have to set it up to do so. By installing rifle and scope and a few other's things. Ranger site tells all or look for ranger file manager tips and tricks and of course YT videos.
7:10 just a little hint - do you know that you you can do sudo !! instead of all that magic of history, cursor, etc? And yes, you can even create alias for this :)
The same after you setup ranger with rifle and scope. And add a few other things; img2txt, w3mimgdisplay, ueberzug, convert, rsvg-convert, ffmpeg, ffmpegthumbnailer, imagemagick, highlight, atool, 7z, w3m, pdftotext, calibre, epub-thumbnailer, and much more.
6:32 oh Nick! In some rare cases, the word "frack" can just be the mildest word I use in a serious of loud words reminding of an ancient voodoo spell or a multistorey building. Surprisingly, this method can actually help with finding the solution, but shouldn't be used in those "sensitive" places. Especially around the kids 😁😆😂.
inxi -xxxW to check for the weather in an area. inxi -xxxw to check for the weather in YOUR [current physical-location] area. (The comment is-not finished yet. I'll edit it as soon as I can).
One I use for downloads is aria2c. I suppose there are plenty of cli downloaders, but this is my personal favorite given its speed, versatility, and simplicity (it can get complicated if you what you're doing, but simply typing the command with a link will work for a simple download)
@@Tachi107 well, aria2c has a parallel downloads feature. I haven't run comprehensive tests with it, it does seem to make downloads faster. My understanding is it simultaneously maintains two connections which result in faster download speeds. The idea that each individual connection has a capped speed limit, so using multiple connections makes things faster. If you don't use the feature, I'm not sure if there is a difference in download speed.
@@Tachi107 Well, I think it'll depend on which site you're downloading from. If nothing else, I'd say try it and see what happens. It may not work for all downloads, but on websites with a low cap for download speed, it might still help. But honestly, the real reason I use aria2 is just because of it's features, that and its syntax makes more sense to me than something like curl or wget (not that they're bad, but I prefer aria2).
* aria2c : A download manager. If you want to pause & resume, download torrents, download using parallel connections, It's great. * scrcpy: If you do Android development or simply want to use Android phone without looking away from the Computer screen, scrcpy is great. Also phone don't have any performance hit. * neovim ( distributions like AstroNvim, SpaceVim etc ) : Great if you are a developer and you're running a dev build project that just eats up your RAM to the point VSCode or Other IDE isn't going to cut it. These distributions have mouse support, all pre-configured, Takes about few MB + Your LSP( Language Server Protocol that does type hinting and realtime auto completion suggestions ) * fish: It's friendly shell, just typing 'fish_config' will open up a web browser to see all configs & change themes and all the auto completion features. Handy if you are a developer who don't heavily rely on writing bash scripts.
I have to admit, I spend most of my time taking at the nerdy things cli users do, perfectly content with my gui and it's Fisher Price complexity, but that gif making command might just pull me in
Get 100$ credit for your own Linux and gaming server: www.linode.com/linuxexperiment
Why are you crying about censorship? Censorship is great, isn't it?
I recommend ffmpeg. With it, you can, for example: compress all the videos in a folder so that they take up little space.
Thank you for sharing this with us. Please, do keep making videos like this about apps for the command line. New to Linux, so stuff like this helps. And, I'd never find these myself.
Some great suggestions here! For the "forgetting to type sudo" problem, there is a simple way to do this without an extra package. `sudo !!` will repeat your last command with sudo in front of it. This method is more flexible, too.
`Alt+S` for Fish shell users.
yes, but thef*ck will catch the spelling mistakes too
I always had that functionality with pressing 2x ESC, but I don't know if it's from a script or zsh.
@@alepharcane99 fair enough! I might try it out for that. For me, the usefulness will rely on how good it is at predicting what I want I guess 😀
@@atreusduvelll600 i'm afraid of using that, tbh. Don't know if a can convince it that i wasn't typing "sudo rm -rf /"
Maintainer of tldr-pages here. Thanks for giving us a mention! :D
Thanks guys very useful
great tool
nice job
Thank you for your efforts on tldr!
Thank you very much for this useful tool! I use it all the time!
For me, the biggest one missing is fzf. It makes shell history searching and navigating directories so much easier.
I use fzf with neovim only
fzf is the greatest tool. I even wrote a script to use my default text editor micro to piggy back onto fzf and use fzf window panes. The fastest and most efficiently simple notes I ever used with the help of fzf.
07:15 you can do sudo !! which will execute the previous command with sudo.
Yeah, there's that too!
Ik right!? Way easier!
I'm a little tipsy, but for some reason I didn't see the !! And parsed it as "do sudo" which reminded me of IOS CLI where I refuse to leave config mode because I'm lazy as frack and I just "do" stuff
Ex. " Do show run"
i've never even thought about having a bin for linux, definitely better than just purging files with rm. thanks nick!
Yeah, it's very much safer!
Not sure what GNOME does, but KDE does delete to bin if you hit delete.
@@maxxiong Gnome does too, but we're talking about deleting file in the cli, not a gui
@@maxxiong yeah i think most gui file managers do, but i mean with rm in the terminal
rm? Use shred.
You're a machine of video content creation.
I try to do 3 per week!
@@TheLinuxEXP That's why it feels I watch it everyday. Great work, thanks!
eDex-UI actually seems pretty cool. It's a good shortcut for us to look like hackers in front of our less tech-savvy friends haha
It's electron-js the chromium in disguise & kids love it and can crash it in 15 mins somehow.
Opening up a terminal is enough lol, if I open a terminal around others they always think I’m hacking 😂😂
@@koevoet7288 He is a hacker!!!
People go "Oh my goaddd!!! He will steal our money!!!"
You get arrested till they find someone with knowledge.
@@akza0729 luckily that hasn’t happened to me yet 😂😂
try cool-retro-term
I'd recommend lf (LF ) for those who find ranger slow. Its written in go and much faster, however it requires more configuration than ranger.
Ooo yeah I like ranger but it is really slow. Before I gave up and dual boot into manjaro, I was using WSL and ranger was chronically slow, especially since there wasn't a nice way to xdg without manually setting up a xsvr and routing the network and setting up custom firewall settings
fd - find replacement. Love it's type filtering i.e. fd -e md -x wc -l to line count markdown or fd -t cmake version to find version in cmake files
fasd - same functionality as autojump.. hit tab to expand matching locations or use to prompt
fzf - make your own searchable lists with previews. I.e. ff takes fasd lists and lets me fuzzy find over them. gli does a git log displaying a tree of commits in the bottom and a preview of the changes at the top
I cannot believe you forgot (I think) the most important cli tool, the one you run to show people you use a terminal:
Cmatrix
And for those on windows, I guess you have "cd / && tree /f" (-f for Linux) to get a similar effect.
This can only be used at night and in a black hoodie
@@soupborsh8707 in a dark room, typing really fast
The most fundamental CLI tool ever!
You should check out Hollywood ;)
The irony about the rmtrash thing at the beginning as the I always perma-delete from the GUI instead of using Trash, but having an option to trash from the CLI appeals to me XD
3:15
It may not just be in your ~/.bashrc file. If you use bash for your shell, basically most people, it will be there. If you use zsh or fish, it will be in their respective file (~/.zshrc or ~/.config/fish/config.fish)
Edit: or use the "alias" command, that may not work after a reboot
Edit 2: added files for fish/zsh. Also there are ways to find out what shell you are using. By default it is most likely bash, but you can check if you use an app like Konsole (KDE) or GNOME Terminal within their settings, as something like "shell" or "startup script"
True!
Doesn't the alias command only last as long as you don't reboot?
@@aqua-bery There is a way to set it to always work iirc.
edit: just remembered that is what he talked about in the video, buy setting it in ~/.bashrc or ~/.zshrc. Forgot the command didn't work after a reboot
If add the 'alias' to the .bashrc file, it is permanent even after reboot. I have a lot alias in my.bashrc and have no issues with them.
quick tip for Ranger: start Ranger by typing ". ranger" or "source ranger" and when you quit ranger you will be dropped into the directory you left in ranger. Since I use ranger all the time, I just use an alias for it.
Very nice!
you can achieve the same effect by leaving ranger by typing 'S' instead of 'q'
for others - a space after the period then ranger to get there.
only if I keep that terminal window open, though, it seems
I still prefer just using the GUI for most things (kinda funny because I also use swaywm but that's more because of bugs in kde wayland). Autojump and tldr do seem nice though. And I think most dev setups that support old browsers already use caniuse to add fallbacks for old browsers.
I like WM for their Tiling feature. But for me the fonts and scaling just feels off. Oneday, maybe GNOME will have native tiling.
@@akza0729 You know you can change the font right? And waybar exists for a better top bar.
@@maxxiong Yup. But fonts and their aliased rendering when scaled feels off.
KDE is full of bugs. they focused too much on form over function. its also bloated as hell.
Two I would recommend are Midnight Commander (text-based two-pane file browser, with built-in text and hex editor, and lots of other stuff), and htop (shows tons of info about running processes and lets you do stuff like change priorities, kill etc)
Man I was about to suggest that :stuck_out_tongue:
btop is also nice.
Very cool, loved frack, tldr and especially eDesk, thanks Nick!
One of the best videos i have ever watched that talked about the cli-tools. Almost all were the tools I needed but didn't even know i needed them. I just love linux.
Thanks a lot nick for making this one.
Two I'd recommend are locate and find. You could spend an entire video on just find. I often use it to match files in massive directories with -maxdepth 1 and I'll use -print0 to pipe it to xargs -0. Quite useful for a lot of daily tasks I do. Also try fullscreening your terminal and use mpv --vo=tct or --vo=caca on a video of your choice, you won't be disappointed.
find also has -exec and -execdir which are super helpful (for me at least)
I'd recommend fd over find, I "find" finds syntax to be way too confusing for some reason, if I do "fd whatever" it just recursively searches everything respecting .gitignore, which is almost always what I want
@@tefkah Never heard of fd, though I've found that once you learn enough find syntax to make it useful it's incredibly so.
@@morristgh Yeah, they are for a lot of people, though I avoid them in lieu of making lists and then running commands later after I've made sure every entry is sane.
| mpv --vo=tct or --vo=caca on a video
Can I do ao for audio only? I assumed your vo stood for video only, but haven't tested it yet.
I've been using
mpv --no-video
to listen to playlists and albums.
Bat is a must-have for me. Much better than default cat and can also be used as a man pager
Noted!
4:33
ik there are a lot of people who dont like fish(the fish shell), but it has this epic feature that lets you jump to an old command faster with up arrow key, just type a few initial characters of the long-command on the terminal and hit the up arrow, it will filter and show the previous commands based of the characters you entered, quite handy when i look up for that one long ffmpeg command
oh, that's what I need! So, is or the equivalent for fish?
For bash_history, I learned I could organize it for later use - to keep notes - by using markdown headers - like other config files seem to. I keep music playlists, install notes, encryption notes, etc. that way. But, I've been wanting a better way to search it - using the terminal.
@@genkiferal7178 idk look it up~
you may find some good stuffs~
Sort of like CTRL+R and typing a word you remember from a previous command
The amount i've written "f#$k" when some command returned error is innumerable.
The command better be f4#%king working lol
Great video as always TLE
I used to type it even before installing it, simply because of annoyance. Great if it actually works.
Just to share some of my favorites, I've got two productive ones and a timewaster for y'all:
- youtube-dl (or one of its forks), for when you want to watch videos on a long road trip with bad internet
- pass - the project is called passwordstore (because just googling "pass" would probably not bring up the right site), and it's basically a gpg-encrypted, local password manager. There's even frontends like passmenu or rofi-pass if you're using dmenu or rofi, respectively, browser plugins for Firefox and Chrome, and ports for Android, iOS and Windows (though I have no experience with the latter two, the Android app works great)
- cmatrix… it's just neat :)
Oh yeah, youtube-dl is great!
You said, you are non dev.
as a power user, with some coding experiences, I've learnt A LOT from this video. plz more of this type.
Disliked because no mention of hollywood and cmatrix. How are you going to look cool online without them?
Woo! Callout for ranger. I love ranger. I probably spent an entire week playing around with Midnight Commander, lfm, etc. Before finding Ranger. I had just gotten into vim and learned how it works (I'm trying to convince myself to learn emacs as well atm) and I fell in love with Ranger's vim-style controls.
I like xclip - it allows copying command output to system clipboard:
some-command | xclip -sel clip
For brevity I alias it to just "clip".
Nice!!
And when you want to use whatever is on the X clipboard at the moment on the command line, shellscript, etc. you can use xclip -o. Awesome little tool! For instance, instead of paging through pages and more pages of a large log file to copy portions of it and paste it on a report or something, you can simply get it directly with xclip and some smart thinking: sed -n '/begin_string/,/end_string/p' | xclip
The trash-cli has been a very useful tool for me. Great video as usual.
Thanks!
I've never heard of any of these commands, and most of them seem incredibly useful. This video instantly got bookmarked, it will definitely come in handy. Thanks!
Thank you :)
If your only mistake is forgetting that type "sudo" before a command, you can just type "sudo !!" then hit enter, and it runs the previous command with sudo.
For other mistakes, though, that does look like an interesting tool.
two command line tools I always add to my systems are mc (Midnight Commander) and htop
I don't think I'll start using the trashcan anytime soon. I've lived without using it for more than 10 years now. And I haven't made too many mistakes by deleting files I didn't mean to destroy forever. Thank you anyway, the number of useful commands in Gnu/Linux cli still amazes me.
One classical tool that I love is the file manager Midnight Commander (mc). Also I wound recommend the editor joe which is very fast, and useful for editing config files, etc [In my opinion much easier to use than vim, and more feature complete than nano, with excelent support for very large files, and the shell xonsh which is based in Ipython, and can run a superset of Python with a shell-like syntax (the best of both words!).
Another fantastic tool that I forgot to mention is lftp (ftp client).
I tend to live in mc and its internal editor. 🙂
This is well done and documented. I know, you said don't run off and install as the video was going, but I couldn't help it. I like your presentation, and the fact you had the chapters listed as well as the github locations. You are very much appreciated and am glad I subscribed.
1- there is "Gio" from GTK Team, i think that it's included in ubuntu
Recomendations (that you may already know):
jq - json processor (great to consume api responses)
xdotool - fake mouse/keyboard input
scrcpy - mirror phone screen
micro - an intuitive text editor
micro is really good. but, if nano is configured correctly (it took me hours to get right), it is almost as good as micro or even better.
I wish someone would fork nano to make it this way without all of the hard labor.
A tip I use constantly: `sudo !!` will execute the last command with sudo
For me, the auto jump was a huge timesaver. Nick, Thanks for high lighting this little helper. Cheers.
I just found out about tldr which is a great time saver for me since I tend to forget command syntax pretty often and reading man pages is time consuming. Thanks!
"Can't resist the pull and power of command line"
A Linux user in his purest form
My personal pref, Vim ,vifm but range has recently become my fancy , zathura (technically not cli, but its suckless and keyboard based), gomuks as my matrix client, ffmpeg
I love the trash talk in this video.
Using trash-cli myself since months and can recommend it. Little warning for some: Do not alias trash-cli to rm. You might get into the habbits of deleting with rm more easily. And when you do that on a system without trash-cli and alias, then those files are gone. Try to learn the new command instead.
vim is actually a pretty powerful tool.
Everyone knows it can edit files, but did you know you can split the view into many tiling views and start a terminal in them?
You can also try to edit a directory and it will bring up a kind of file manager.
So like emacs except vim. (joke)
There are a handful of tools that I tend to use heavily. One is mc (Midnight Commander), a file/archive manager and sftp client with a decent text editor. Another is multitail, a tail command on steroids that lets you split the screen into several subwindows, automatically repeat commands, colorize things via regex, etc. Nice for creating text dashboards in a terminal. A third is elinks, a text-based web browser that displays tables in a legible manner. Sure, you need old school HTML, but HTML 4.01 transitional is still my friend for simple pages.
among those i use the most : Zellij (like tmux, but more practical for new users), distrobox, kakoune, ffmpeg, and distro specific stuff (mostly xtools, a series of tools around xbps to get extra info, like locate which packages contains a file at a given location, which files a package contains, read manpage from not yet installed package, etc)
one other cmd line tool i love is fdupes, which makes it easy to find and delete any duplicate files stored on my HDDs. saved me literally over 2 tb of space from duplicate files i hadn't found manually;
4:46 I usually use CTRL+R and search for the directory... I will consider that one, though
ncdu is my personal fav as a replacement for 'TreeSize' you might know from Windows.
It shows the disk usage of a folder with the ability to browser trough and the the size for each one
"remove that check if you're not afraid" 20yrs ago I would have, but 20yrs ago I ran everything as admin and fuck around n find out was my way of life.
One of the things I disliked about Linux when I began to learn it is just how much effort it took to do basic things - so much typing, reading, and manual work. Thanks for sharing these awesome tools!
Yes, you have to learn the basic's by reading and viewing video's. But it's worth it at the end. Been a Linux user for the past 19 years. Last version of Windows I touch was Windows XP.
Thanks!
Thefuck is so magical when working with git.
Usually you have to research for a master‘s study to find the correct command you need in that situation but fuck just works, always
Hey Nick, it's me!
I learned recently that creating a sudo alias with a trailing space allows sudo access to the invoking user’s aliases.
duf (pretty df)
bat (cat with code highlighting)
ncdu (du alternative with useful large file search)
btop (attractive system monitor)
Are some great cli tools, that I've come across
`bat` is nice.
Great video. TLDR is amazing.
Awesome backgeound. So natural and cozy. Pmease, more vids out here 💪😌
Thanks! I'll try to, but not when it's as sunny!
Another very useful teaching moment that you can bet I downloaded, and Many Thanks!. It's been 40 years since I used Unix on a VT-100 terminal, and brother do you bring back old memories. Now if I could just have Intel AEdit running again.....
The only command (among those in the video) that I ever used is espeak.
With it, I made a talking clock (I just added a task to say the time every hour to cron), as well as a talking network printer. I took an old laser printer, built a single board computer inside it, and made it available over the network. Since the computer had an audio output, I added a small speaker and amplifier so that it would speak the IP address when turned on. This way I could be sure that the system booted up, connected to the network and I can go to this IP if I need to reconfigure something.
date +%R | espeak-ng
hostname -I | tr . \ | espeak-ng
(optionally add -v your_language)
hostname -I prints IP address (works in debian/ubuntu, not in manjaro)
tr replaces dots with spaces ( \ means space)
Instead of pressing the arrow key hundreds of times, just press ctrk+r and search for what you wanted. You can navigate by pressing ctrl+r again or ctrl+shift+r to go back. You can use esc to edit the command or enter to run it
Have you heard of mcfly?
@@karnalunea1122 nope, I haven't
@@mks-h the description on arch repo is "fly through your shell history"
I think it spits out a list of what you search for.
@@karnalunea1122 i briefly tested cntrl+R and it only went back a few times. its a good tip (thank you), but rather limited still.
I think bash needs to be updated to become more modern.
I use Vifm instead of Ranger. Two pane file manager with the ability to open multiple files for renaming directly in Vim. Other actions are also supported.
Try keep.
It's a meta cli program for saving commands for later. It's super useful and when I forget a long command I can quickly search for it.
Thanks!
@@TheLinuxEXP No problem. I love your content. You can add this to your list if you do a part 2.
Just to add a recommendation for your sponsor, Tuxedo, I have one and it is awesome - never looked back. An no I don't work for them, but it was the first Linux out the box laptop I've ever owned, I had them add a virtual machine with WIN10 in but have never used it! 🙂
MMV : multi-mv. This is not something you'd use every day, but when you need it, boy is it useful.
Hint: you don't need to hit up then go back to the beginning to sudo your last command, you can just type "sudo !!"
Very nice and useful selection of commands. Thanks
Great Video Nick! Another suggestion for file manager could be mc (Midnight Commander), I use it on my servers and personally I think is one of the most powerful command line tools, it's almost on par with a GUI File Manager. I'm installing the frack ASAP, made me laugh but looks super useful as well as the other tools
Nice as a tarball/zip file manager and also as an sftp client, and you can use it to ssh to other hosts and edit/transfer/manipulate files remotely.
I used autojump for many many years but have grown very fond of zoxide recently. Basically it does the same but is a bit more modern.
Another great video with new stuff to try! How about doing an in-depth video on fish shell?
I know this is a CLI focused video, but autojump should be added to every single file browser. Just give an option to select how many "favorites" to be shown in the file tree. Users like my wife and my kids and parents would really benefit.
Oh my Lord, gifgen is definitely gonna be useful for memes.
Thank you
Hey! Just wondering if there are any good options for voice assistants or voice activated macros on Linux. I'd love to be able to open programs or run certain commands hands-free.
U might wanna look at mimic 3 by mycroft
Yep, was going to suggest that
Thanks to you both! I appreciate the info
@@dod_ytent9984 That's cool
Yeah, sequel please!
I had never heard of tldr...now that is awesome.
youtube-dl is an awesome tool, not just to download from YT. Works on heaps of sites where some browser plug-ins just won't work. And not just for Linux either 😉
mpv + youtube-dl is great too! It allows you to watch videos from the Web right from your terminal (and ads are blocked too ;)
@@Tachi107 I can normally block ads with browser plugins. It's just some sites you can't download videos from (like IView) with any plugins. Youtuve-dl seems to catch them all
Best thing about Ranger is that it works as an optional file picker for Qutebrowser. -That combined with keynav can get people by without a mouse.
that sounds like a great tip. will look into that. maybe you should do a quick video on it. no need to show your face or be fancy with the editing
ranger also has file previews, including for pictures, pdfs and videos, if your terminal supports images.
True you have to set it up to do so. By installing rifle and scope and a few other's things. Ranger site tells all or look for ranger file manager tips and tricks and of course YT videos.
Awesome video bro!
7:10 just a little hint - do you know that you you can do
sudo !!
instead of all that magic of history, cursor, etc? And yes, you can even create alias for this :)
Great video! I'm going to give TLDR a try for sure! Thanks Nick!
autojump is awesome. It works well with tabbing out folder names as well.
Frack! That frack seems fun and frackin' useful!
I’m laughing pretty hard at the ‘frack’ tool 😂
There are many cli tools for jumping paths, autojump, z.sh and more, the one I recommend is z.lua. It's crossplatform, and it's really fast.
Ranger is amazing! I love it because of the consistency of hotkeys with vim, and it has file preview.
I use Arch btw.
The same after you setup ranger with rifle and scope. And add a few other things; img2txt, w3mimgdisplay, ueberzug, convert, rsvg-convert, ffmpeg, ffmpegthumbnailer, imagemagick, highlight, atool, 7z, w3m, pdftotext, calibre, epub-thumbnailer, and much more.
the irony is that fracking is destructive to life while ****ing creates it
I missed this the first time around. A lot of gold here. Can't wait to espeak and annoy soon. :)
I use watson for time tracking at work. Its simple but super useful!
6:32 oh Nick! In some rare cases, the word "frack" can just be the mildest word I use in a serious of loud words reminding of an ancient voodoo spell or a multistorey building. Surprisingly, this method can actually help with finding the solution, but shouldn't be used in those "sensitive" places. Especially around the kids 😁😆😂.
you comment matches your flag in your name...and the name itself.
This was full of interesting terminal items. thanks
Awesome tools. Many thanks for the video, very useful.
inxi -xxxW
to check for the weather in an area.
inxi -xxxw
to check for the weather in YOUR [current physical-location] area.
(The comment is-not finished yet. I'll edit it as soon as I can).
Oh, I goodly want to hear so!
One I use for downloads is aria2c. I suppose there are plenty of cli downloaders, but this is my personal favorite given its speed, versatility, and simplicity (it can get complicated if you what you're doing, but simply typing the command with a link will work for a simple download)
While we're at it, I recommend apt-fast that uses aria to speed up apt downloads about 2x or more depending one one's internet bandwith!
How/why is aria2c so fast compared to curl / wget / apt?
@@Tachi107 well, aria2c has a parallel downloads feature. I haven't run comprehensive tests with it, it does seem to make downloads faster. My understanding is it simultaneously maintains two connections which result in faster download speeds. The idea that each individual connection has a capped speed limit, so using multiple connections makes things faster. If you don't use the feature, I'm not sure if there is a difference in download speed.
@@AaronM-zh4ug thanks for the explanation! I guess this doesn't improve things on slow networks though, right?
I'm on a 30 Mb/s network...
@@Tachi107 Well, I think it'll depend on which site you're downloading from. If nothing else, I'd say try it and see what happens. It may not work for all downloads, but on websites with a low cap for download speed, it might still help. But honestly, the real reason I use aria2 is just because of it's features, that and its syntax makes more sense to me than something like curl or wget (not that they're bad, but I prefer aria2).
* aria2c : A download manager. If you want to pause & resume, download torrents, download using parallel connections, It's great.
* scrcpy: If you do Android development or simply want to use Android phone without looking away from the Computer screen, scrcpy is great. Also phone don't have any performance hit.
* neovim ( distributions like AstroNvim, SpaceVim etc ) : Great if you are a developer and you're running a dev build project that just eats up your RAM to the point VSCode or Other IDE isn't going to cut it. These distributions have mouse support, all pre-configured, Takes about few MB + Your LSP( Language Server Protocol that does type hinting and realtime auto completion suggestions )
* fish: It's friendly shell, just typing 'fish_config' will open up a web browser to see all configs & change themes and all the auto completion features. Handy if you are a developer who don't heavily rely on writing bash scripts.
I love lsd command, because show icons in the terminal, if is a document or a directory and also the name is crazy >:)
Midnight Commander is my preffered File Managment tool.
if you forgot to put sudo in front of the previous command, you can type "sudo !!" it will run it again as sudo
I have to admit, I spend most of my time taking at the nerdy things cli users do, perfectly content with my gui and it's Fisher Price complexity, but that gif making command might just pull me in
Nice video I would love a part 2
You should make a series out of this!