0:02 so last week I asked my community on
0:05 masdon to recommend terminal utilities
0:07 and programs that they couldn't live
0:10 without on Linux and well even though I
0:13 made that form expire after only 48
0:15 hours I got over
0:18 187 answers most of which had three
0:21 different recommendations so I looked
0:24 through every single one and I picked
0:25 the ones that I felt would be most
0:28 useful to most people and of course if
0:30 you missed that boat because I only
0:32 shared that specific form on masteron
0:35 for two days you can also recommend all
0:37 the terminal utilities you use very
0:40 regularly down in the comments below and
0:42 if you like this concept of asking the
0:44 community what they like and then
0:46 recommending those things in a specific
0:49 video then like this video specifically
0:51 and I'll make sure to make more along
0:53 the same lines not just for terminal but
0:55 for everything Linux related now before
0:57 we get started I'm going to tell you all
1:00 about today's sponsor this video is
1:02 sponsored by proton mail you probably
1:04 know about them already they offer a
1:07 private zero access and end to end
1:10 encrypted Suite of online services
1:12 including an email address a calendar
1:16 online storage a VPN and a password
1:19 manager proton doesn't sell access to
1:21 any of your data and they can't even
1:23 access it themselves thanks to
1:25 encription so you can rest assured that
1:28 everything you send or store there is
1:30 safe and they even let you plug your
1:33 email accounts into a desktop email
1:36 client using proton bridge but on top of
1:38 that they recently announced their own
1:41 desktop app for proton mail in beta it's
1:43 currently available for Mac OS and
1:45 windows and don't worry the Linux
1:47 version will be coming shortly and all
1:50 paid proton subscribers can already give
1:53 it a try while it's in beta in the
1:55 meantime you still get to use all the
1:56 great features of proton through their
1:58 web mail including blocking email
2:01 trackers e easy importing of your
2:04 existing emails contacts and calendars
2:06 snoozing emails or scheduling emails to
2:09 be sent at a specific time email aliases
2:12 and a lot more your proton account is
2:14 free and to take advantage of more
2:16 advanced features or just more storage
2:18 space you have paid plans that should
2:20 fit every need so click the link in the
2:22 description below and get started with
2:25 proton so our first recommendation today
2:28 will be home brew a lot of you probably
2:30 already know about it but if you don't
2:32 it's sort of a prerequisite for this
2:35 video to get a lot of command line
2:38 utilities that your drro might not have
2:40 packaged it's really well known on Mac
2:42 OS because it brings a ton of tools
2:45 Apple doesn't ship but for Linux it is
2:48 also a great package manager to install
2:50 command line programs without having to
2:53 add tons of external repos you can
2:55 install home brew really quickly with
2:57 just one command line and add it to your
2:59 path it's all explained on their website
3:01 or after you run the command to install
3:04 it and then you can get basically any
3:06 terminal utility you want by running
3:09 Brew install followed by the name of the
3:12 tool you need almost all of the command
3:14 line utilities I'll recommend there can
3:16 be installed using Homebrew which is why
3:19 I'm starting with it now our second pick
3:23 is fzf for fuzzy find it lets you search
3:26 files extremely fast using their names
3:28 but it can also look through command
3:31 history processes bookmarks git commits
3:35 and more you can just type FZ f-q
3:37 followed by a string of characters and
3:39 it will look through all the files in
3:41 the current directory you're in although
3:44 it will return any path that contains
3:45 your string of characters not
3:48 necessarily the exact word you typed you
3:51 can run it with- e to find only exact
3:53 matches which will narrow down the
3:55 search it also has a Vim plugin and you
3:57 can of course use a pipe to make it
3:59 search for something another command
4:02 returned it also has a bit of a syntax
4:03 that you can use for example you can add
4:05 a dollar sign at the end of the search
4:08 term to find items that end with it or
4:10 you can add an exclamation point before
4:12 the search term to find stuff that
4:15 doesn't contain it it is blazing fast
4:18 and it will definitely enhance any file
4:19 search that you need to do on your
4:22 system using the terminal it's available
4:25 using home brw now if like me you have
4:28 wasted minutes maybe even hours pressing
4:30 up in your terminal to try and find a
4:32 specific command that you ran a few
4:34 months ago you might want to try add to
4:36 in this thing replaces your shell
4:38 history with a database that you can
4:41 search through super easily once it is
4:43 installed with Brew you will have to
4:45 configure it their website has all the
4:47 steps to do that and after you've
4:49 restarted your shell as in just log out
4:52 and back in once you press the up Arrow
4:55 key or control+ R you will get a search
4:57 interface to look for all your commands
4:59 you can type what you're looking for in
5:02 my case most of the time it's FFM pag
5:04 and you'll filter through the entire
5:06 history select the command with the
5:08 arrow keys and either press enter to run
5:11 it again or press tab to edit the
5:14 command before running it it is a really
5:16 really useful program one that I plan to
5:19 use from now on instead of the up Arrow
5:22 key strategy because yeah it's just much
5:23 better it is available through Homebrew
5:26 as well now I couldn't avoid this next
5:29 one it's called Shima because it's a
5:32 French name it means my home or at my
5:34 home this tool lets you manage your
5:36 personal configuration files called dot
5:39 files because well they tend to start
5:41 with a DOT because they're hidden files
5:44 shoa lets you share these config files
5:47 across devices by syncing them to a git
5:49 repo and it can interface with a very
5:51 large variety of password managers to
5:54 keep everything safe if you spend an
5:56 insane amount of time customizing
5:59 everything that you use or do and you
6:02 know how git Works Shima is probably the
6:03 thing you need as it has a similar
6:06 command structure than git you can back
6:08 up everything so if you need to
6:10 reinstall you don't lose anything and if
6:12 you need to replicate that configuration
6:15 on another device you also can the
6:18 difference with other dot file managers
6:20 is that it can encrypt all the secrets
6:23 that might be inside these dot files and
6:25 it works as a single binary so if you
6:28 usually have your own custom scripts to
6:30 handle all of this well it saves you the
6:32 install of a full environment to be able
6:35 to run those scripts now personally I do
6:37 not need this I don't spend a lot of
6:39 time customizing things and I don't care
6:42 if I lose my DOT files honestly but if
6:45 you spend hours or months Rising your
6:47 desktop or really tweaking your system
6:49 you might really want to use something
6:52 like this now if you use a laptop and
6:54 you find linux's battery life to be a
6:57 bit subar well first check that your
6:59 browser has Hardware acceleration on
7:01 because that's the most common cause of
7:03 battery usage for people who watch
7:07 videos and second maybe look at powertop
7:09 this is a tool developed by Intel that
7:11 lets you monitor your power usage and
7:13 lets you automatically tune things so
7:15 you can get the best battery life
7:17 without killing your performance
7:20 entirely this one is not available from
7:22 Homebrew but most distributions should
7:25 have it either pre-installed or at least
7:27 in their repos now if you want to check
7:29 what is waking up your CPU often you can
7:32 just run the command powertop and you'll
7:34 see all processes using tab you can
7:37 navigate to various statistics but also
7:39 to the tunables screen which will show
7:42 you what powertop identifies as a bad
7:44 configuration for battery life if you
7:46 would like to change these you can run
7:50 powertop D- auto-tune and it will change
7:53 all the settings to what it believes are
7:55 good options for battery life saving
7:58 although it might impact the performance
8:00 and you can also run power top as a
8:02 system Des service if you want so you
8:05 can ensure that all these tuning is also
8:07 done every time you restart the computer
8:09 it is a nice tool to try and regain some
8:12 battery life but don't blindly apply all
8:15 of the configurations you might end up
8:17 with some data loss if for example you
8:19 tell your hard drives to shut down as
8:21 quickly as possible or you might lose
8:23 some performance so test out all the
8:25 options and see what works for you and
8:27 what doesn't now if you would like to
8:30 quickly analyze what uses a lot of dis
8:32 space on your computer or in a remote
8:35 server you might want to replace the DU
8:38 and DF commands with dust dust will give
8:40 you a more detailed representation of
8:43 your dis space consumption with ASI bars
8:46 and a very legible color system with
8:49 that it's super easy to identify what is
8:51 hogging up your hard drive and either
8:53 clean that up or take the necessary
8:55 actions you can of course get a more
8:58 minimal View using the dashb option to
9:00 remove the bars or the- C option to
9:03 remove the colors and you can run that
9:05 program in a specific directory or you
9:07 can exclude certain directories and
9:09 files in my opinion it's much more
9:12 legible than what du offers because it's
9:14 not necessarily meant to be piped
9:16 through another command which is how du
9:18 is generally used and I can only
9:20 recommend dust instead and you can
9:22 install from home brw as well just like
9:25 most of these programs now if you run a
9:27 dual boot and you're facing problems
9:29 with accessing one of your install
9:31 systems you might not know that you can
9:34 force grub to reboot into a specific
9:37 system just for the next boot it's also
9:39 useful if your computer tends to skip
9:41 that grub screen and you're not fast
9:43 enough to tap the necessary function or
9:45 Escape key to display that screen now
9:47 you can do this using the grub Das
9:50 reboot command followed by the number or
9:52 the name of the grub entry for the
9:55 system you want to reboot in very useful
9:57 if you can't manage to boot into a
9:59 specific system you have installed or if
10:01 you completely broke the one that you're
10:03 currently using you ended up in a
10:05 command line and you don't quite know
10:06 what you're doing or if you're going to
10:09 be able to reboot into something else
10:11 now if you need to monitor for resource
10:13 usage on your computer you might be
10:17 using top or htop but btop is in my
10:20 opinion a better option it looks much
10:22 much better than htop or just top and
10:25 it's also more legible it can monitor
10:27 your dis usage the RAM usage the network
10:30 use the battery life and even the GPU if
10:32 you want you can sort all of the
10:34 processes using the arrow keys the
10:36 current filter is displayed in the top
10:39 right corner of the processes list and
10:41 you can hit a letter key to interact
10:43 with a process like pressing k for kill
10:46 it's basically a full system monitor in
10:48 your terminal it's very very nice I have
10:51 replaced top and HTP with btop now it's
10:53 just good it's available through home
10:56 brew if you often use the cat command to
10:59 read a file maybe try bat instead it
11:01 does the same thing but it also has
11:03 syntax highlighting for a bunch of files
11:06 and it communicates with Git to show
11:08 modifications in files with the usual
11:10 plus and minuses symbols for the lines
11:12 that changed it can also show tabs and
11:14 spaces and it integrates with other
11:18 tools like fzf rip grap or even the man
11:20 command so your command line manuals
11:22 will look much more legible it is a
11:25 great replacement for cat if you'd like
11:27 to use something fancier and it's also
11:29 available from Homebrew now speaking of
11:32 manuals if man is too much for you and
11:35 it's just too much reading why not try
11:37 tldr I'm pretty sure I mentioned it
11:39 previously on the channel but it's
11:41 really good it gives you an Abridged
11:44 version of the contents of man for most
11:47 of the available programs and commands
11:49 and it makes things more legible and
11:51 easier to par at a glance you can run it
11:54 using tldr followed by the command name
11:58 and you're done I basically replace 90%
12:01 of my use of the man command with tldr
12:04 and if you need the full manual it's
12:06 still available so yeah install it using
12:08 home brew as with virtually everything I
12:10 already mentioned now if you like to
12:13 split a terminal or a TTY into multiple
12:17 terminals zel J or zage is a nice
12:19 alternative to something like t-x it's
12:21 basically a tiling Window Manager for
12:23 your terminal workspace you can Define
12:26 your own layout it supports plugins
12:28 floating panes and more you can run it
12:30 by by running the zeage command and then
12:33 you can create a new pane pressing alt
12:35 plus n you can move a pane using contrl
12:37 plus h and then placing it where you
12:40 want and pressing enter or you can make
12:44 a pane floating with ctrl+ P then W
12:46 pains can be resized as well with alt
12:48 plus the Plus or the minus key and with
12:51 alt plus a bracket key you can move a
12:53 pane to the bottom or the top of another
12:56 one in a vertical stacking layout now
12:58 personally I'm not a fan of tiling
13:00 Window Manager and I don't really need a
13:02 terminal multiplexer like this one but
13:05 if you do zelig J or zage not sure how
13:07 it's supposed to be pronounced is
13:08 actually a very good choice another one
13:13 that was recommended was bobu or biobu
13:14 uh and both of those are available in
13:17 home brew now if you often use LS to
13:20 find files in a directory you might want
13:22 to take a look at EA it does the same
13:25 job as in it lists the content of a
13:27 directory but it does it with way more
13:30 details and a more legible interface it
13:32 can give you the status of files in a
13:34 git repo it can give you more readable
13:36 dates and readable file sizes it can
13:39 give you the SE Linux context some
13:41 mountpoint details and more now you will
13:44 have to learn the various options for EA
13:46 because they're not exactly the same as
13:48 with the ls command but honestly it
13:50 provides a more legible output and I
13:52 think it's going to simplify the life of
13:54 a bunch of people you can install it
13:56 using home broom and these are just a
13:59 few examples of what has been
14:01 recommended the list was obviously too
14:04 long for me to cover all of those but if
14:06 you like the video enough I might
14:08 revisit this topic in the future and
14:10 take a look at the options I didn't
14:13 elect to cover in this specific video
14:15 but in the meantime let me tell you
14:18 about our sponsor tuxedo computers if
14:20 you need a new device to run Linux on
14:22 maybe it's time to stop buying devices
14:25 that only support Windows and to
14:26 actually buy something from a
14:28 manufacturer that supports Linux like
14:31 like tuxedo they have a big range of
14:34 devices from laptops no and desktops
14:35 whether you need something for office
14:38 work for gaming or workstation whatever
14:39 they have it all all the hardware is
14:42 pretty customizable and for laptops you
14:44 can open them repair them upgrade them
14:45 you can have your own logo and grav down
14:47 theid you can pick your own keyboard
14:50 layout it's just really really nice I
14:52 only use devices from tuxedo computers
14:54 these days my main computer that I run
14:56 the channel on is an Infiniti Book Pro
14:59 16 and my gaming console is a toxedo
15:01 Cube that I run Steam OS on so if you
15:03 need a new computer and you plan to run
15:05 Linux on it and you want to support a
15:07 company that actually supports Linux
15:09 because tuxedo computers does contribute
15:12 patches Upstream to fix some issues that
15:14 they encounter in their testing well
15:15 then you can just click the link in the
15:17 description below and get yourself a
15:19 device from tuxedo they're really really
15:21 good so thanks everyone for watching the
15:23 video I hope you enjoyed it if you did
15:25 don't hesitate to like to subscribe to
15:27 turn on notifications to write a comment
15:30 and if you really really enjoy the video
15:31 well there are plenty of links in the
15:33 description to do just that and if you
15:35 become a patreon member or YouTube
15:37 member at any tier you'll also get a
15:40 daily Linux and open source News podcast
15:42 so check that out in the description and
15:43 in the meantime I guess you'll see me in