11 Cool Command Line Programs You Need to See
Vložit
- čas přidán 27. 04. 2024
- Sponsored By: Ugreen NASync Private Cloud Storage Solution
Ugreen NASync Series: kck.st/43w7VdK
• Up to 35% OFF during Mar 28 - May 9
Links to the Tools:
• Cheat: github.com/cheat/cheat
• YT-DLP: github.com/yt-dlp/yt-dlp
• ImageMagick: imagemagick.org/
• FFmpeg: ffmpeg.org/
• Err.exe: www.microsoft.com/en-us/downl...
• ExifTool: exiftool.org/
• Pandoc: github.com/jgm/pandoc
• PDFCPU: github.com/pdfcpu/pdfcpu
• XPDF Tools: www.xpdfreader.com/download.html
• Tokei: github.com/XAMPPRocky/tokei
• Hyperfine: github.com/sharkdp/hyperfine
Links to My Scripts:
• Err.exe Improvement Script: gist.github.com/ThioJoe/7ceac...
• YT-DLP PowerShell Script: github.com/ThioJoe/youtube-dl...
• Cheat Batch Script: gist.github.com/ThioJoe/b4c1f...
▼ Time Stamps: ▼
0:00 - Intro
0:20 - Tool 1
1:41 - Very Good Thing
3:34 - Tool 2
4:30 - Tool 3
6:16 - Tool 4
7:11 - Tool 5
7:50 - Tool 6
8:44 - Tool 7
9:22 - Tool 8
11:03 - Tool 9
11:44 - Tool 10
12:12 - Tool 11
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
• My Gear & Equipment ⇨ kit.co/ThioJoe
• Merch ⇨ teespring.com/stores/thiojoe
• My Desktop Wallpapers ⇨ thiojoe.art/
⇨ / thiojoe
⇨ / thiojoe
⇨ / thiojoetv
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ - Věda a technologie
📝 Some tips based on questions I've seen a couple times:
• For basically all of these, you need to run them from within the command line, NOT by double clicking, otherwise it will just pop up the cmd window and immediately close. On recent versions of Windows, you can do this by right clicking in the folder with the exe and clicking "Open in Terminal". If you don't see the option this tutorial page might help: www.elevenforum.com/t/add-or-remove-open-in-terminal-context-menu-in-windows-11.2479/
• To make it so you can run the 'cheat' program (and any others you want) without having to navigate to the folder containing the exe file first, you can add the location of such exe's to the so-called "PATH environment variable". Basically Windows has a built-in list of locations in Windows, where if an exe is in one of those locations, you can still run the program by doing like "cheat.exe" even if the cmd window isn't opened in the same folder as the exe. This video is a good tutorial on how to edit this setting: czcams.com/video/pGRw1bgb1gU/video.html
yt-dlp doesn't work it just closes when you paste.
You left out a lot on how to implement CHEAT for Windows; you should've said upfront that this is for Linux users. Even the GitHub doc states the following:
TODO: community support is requested here. Please open a PR if you'd like to contribute installation instructions for Windows.
Kudos to those of you who got it to work on Windows; please share how you did it.
@@danbromberg It's for Windows, he shows it running under Windows, and he even has a batch script serving as a wrapper for it.
@@icantcomeupwithnames469 Thanks! I found ThioJ's 'c.bat' file but can't find where to download 'cheat.exe'
@@icantcomeupwithnames469 I saw the script but where does the executable: 'cheat.exe' come from?
"FFMPEG: The most widely used multimedia transcoder on at least two planets" - The team behind ffmpeg added this into a presentation because Nasa uses it in some of their rovers on Mars to transcode their videos before sending back to Earth.
That's wild. Not many software devs can make that kind of claim.
Wait what
Huge flex
That actually pretty wild bro. Imagine being so popular your software is used on 2 whole different planets
Astro for the general person/ noob :) AstroGPN
0:00 - Intro
0:20 - Cheat
3:34 - YT-DLP ( video downloader )
4:30 - ImageMagick ( format converter )
6:16 - FFmpeg ( edit / convert mp4 )
7:11 - Err.exe ( cheatsheet for errors )
7:50 - ExifTool ( metadata edit )
8:44 - Pandoc ( convert )
9:22 - PDFCPU ( edit secured pdf )
11:03 - XPDF Tools ( pdf convert )
11:44 - Tokei ( source code stats )
12:12 - Hyperfine ( speed of commands )
Thanks!
If you want GUI based tools or are scared of the command line here are some:
Open Video Downloader is a front-end for yt-dlp and FFmpeg
Handbrake is a front-end for FFmpeg
IrfanView can edit images and shows all EXIF information and JPEG quality (press I)
Mp3Tag can edit metadata of audio files but it can also edit video containers like MP4 and MKV including inserting images
There are many more out there, tell us other good tools. 😀
Bit of history... outdated now but I remember using RazorLame which was a front-end for LAME for encoding MP3s back in 2003 in the Windows XP days. Now LAME lives on within FFmpeg.
never knew that about HandBrake!
VLC is also a ffmpeg GUI frontend. It is a mile better than the basic video player that Microsoft use.
@@F_Around_and_find_out VLC installs its own set of codecs. If you want more use out of playback software that uses system codecs install a codec pack such as K-Lite Codec Pack Mega
IrfanView is the best. Been using it for more than a decade
Open Video Downloader stops working after ? a month
a cli tool I've found to be useful is tldr. it takes the man/info commands from Mac/Linux, and and lists the most common uses for the command :)
Cheat reminded me very much of tldr!
honestly, my favorite is yt dlp. it's probably one of the most used tools out of this list by your average day to day person, and it's also the most useful one to me, somebody who constantly does editing, clipping, archiving etc..
thanks again for yet another fantastic video!
Same here, using yt-dlp and ffmpeg in cli make me feel less braindead in the process on getting sources, it's just KISS principle all the way
This video is a gem. I wanna jump into every single program you've compiled here right now.
@ThioJoe you forgot unsilence, it removes the silent parts of videos and audio, its super nice
One of your best videos yet, thank you!!
I love your Videos. Unbelievably useful!
Definitely saw some tools and features here that I was not aware of yet.
Much appreciated mate.
Extracting PDF images using either of the two tools you mentioned is a lot better than Windows + Shift + S or Cmd + Shift + S and selecting the region. Thanks for that!
Love it, We need part two please
May not quite fit the criteria you set for those tools you picked, but to add another one for people who prefer the console: winget
It's included in Win 10 and 11 and lets you install and update a quite big variety of programs without having to hunt for their individual installation packages. Might not (yet) be as mighty as the linux equivalents (apt, dnf & co), but it's still a neat helper.
It's always good to make sure new people know about winget. It's a really awesome tool.
And for anyone who hasn't seen Joe's video about winget, check out "Windows FINALLY Got a Package Manager - Here's Why It's Awesome".
Yeah, honestly that's just so nice for whenever i am forced to use windows
Although it differs from linux package managers, as in linux you really install packages, while in windows you actually install the app.
So it's easier on windows to install stuff like zoom for example, but at the same time linux pm give you such a level of customization, windows can't even dream about
I love ffmpeg, I use it all the time to split, merge, and compress videos. It's just makes me feel I have more control over the output than the gui video editors for mobile.
Tokei is definitely my favourite, seeing how many files and lines of code i have written for a certain project is just so nice to have
10:10 Paper tiger" is a calque of the Chinese phrase zhǐlǎohǔ The term refers to something or someone that claims or appears to be powerful or threatening but is not ...
This video has just made me love cmd. Thanks a lot, this has been very helpful
Happened to me in 1986 already.
@@surject Happened to me in 1982.
Though, technically speaking, cmd.exe didn't exist yet. hahah
Omg this speeds up a lot of. I needed this!
Well this is definitely going to be handy, since I spend most of the time on the terminal. I would usually write scripts to automate stuff, just to save time and not worry about forgetting a command.
Cool stuff -Thanx Joe 👍👍👍
Thx a million for this video.
Now we definitely need a video about corresponding GUIs. 🙂
This is a nice video bro ❤
This, good sir, earned both a like and a subscription.
Thank you, Thio !
Windows CLI barely mimics a fraction of Bash's power
Quit Bashing Windows.
I question the use case of hyperfine since I tend to use the Powershell commandlet 'Measure-Command'
Finally, I found the easy way to quickly get some jpegs lighter. Thank you!
And it's nice of you to write scripts to make it easier to use, good job!
Extremely epic and awesome and good
Best youtuber
Truly indeed
No, I hate him and his content
Jk
Why are you in your own members section?
Hi
Cheat is going to be a time saver. I have a bunch of txt files with command line examples.
Winget is also crazy cool, because it is not restricted by schools.
Some people's voice, like Joe or Jason (from DDOI), is so soothing that people would buy ASMR of them.
Interesting! Definitely gonna get Cheat, an absolute life saver by the looks of it
have you gotten it yet? I just started to use it, but cant seem to use the search feature as he does in the video lol
As a programmer i LOVE hyperfine. it truely is hyper fine.
@ThioJoe Bruv thanks for putting out meaningfully applicable content. It is appreciated in kind regards.
Will help me a lot.
PDF-toolkit has been around for over a decade and is awesome!
No mention of SFK - Swiss File Knife?
Its instant FTP server makes it super trivial for me to move data to/from retro PCs, and it has, so, so much more tools!
Cool! Thanks!
Winget and aria2 are awesome.
I like croc a lot. Just plain useful
How the f have I not heard of Err! That's awesome, thank you!
great list of tool.
awesome video ty! what about spreadsheet to pdf or document or text?
I knew about none of these, I like them all. Thanks! ... Ugreen looks like a great competitor for Snology, but I'm worried about their security both because of their size compared to Synology and because of them being a Chinese company. For home users I guess it's ok if you want to take the risk with your data not knowing the company. I will say though they make high quality products like cables etc. as I've purchased these on Amazon when needed and no "mysterious" chips in the connectors of these cables when X-Rayed
Imagine magic is amazing, I used it to convert scanned documents into a pdf and then email them with a time stamp name using a power shell script
Cheat doesn't have an install instruction for Windows in its documentation.
There is a Powershell script in the pull requests for automatic downloading and extracting the program, but you can also just download the windows version from releases, put the exe in PATH, and rename it to cheat.exe
I need to see this because he said I need to!! I gotta see this NOW!!
Very handy tools.
Pretty cool stuff.
Thanks ugreen
Cheat reminded me of something I recently made for Powershell. It's a keyboard shortcut that lets you input a brief description of what you want to do, then it calls GPT4 API to find out the command or short code block to get it done, and replaces the input buffer with that command. I doubt it will let me link to it in comments though. 😐
where did you get those desk lamps?
I definitely expected Aria2c and Chocolatey to be mentioned in this video but I was surprised to not find it.
Great video! I’ve been stressing for months trying to get Microsoft Store to work since I updated to Windows Pro 11 last year. I’ve tried every fix on at least 200 websites, I’ve updated Windows, the Bios, all firmware, all drivers, I’ve made sure all the services related to the Store are on, and the registry, I checked my Microsoft account, but I can’t update the Store or get any of my apps or games I downloaded from the Store to update. The error code has been reported, I called Microsoft and they literally hung up when I said I was calling about the Store. It works fine on my iPad!
I normally use PDFTK for some actions on PDF files, but PDFcpu (at least under WSL) is much faster and can remove the password protection that interferes with splitting / rearranging pages.
Is there a way to print a string into cmd so I only have to edit the Filenames? So the command is pre-filled when starting a .batch but with the ffmpeg command I use mostl
There is also a GUI for FFMpeg called WinFF.
I believe there is a tool built into windows that does something similar to the err command
It comes up sometimes in “enterprise” windows versions like education edition
Hmm 🤔
I've used one or two of these, but not heard of the others.
Please, how do you use your script YT-DLP with PowerShell?
I think on Linux there is an actual ImageMagick GUI, e.g. preinstalled on RasPiOS.
Finally, I no longer have to use those sketchy online converters. :D
You mentioned a community around the application Cheat that would have other scripts. Could you provide a link to this resource? Please.
Nice video again keep up Good work
ffmpeg is crazy. 6:20
Hi ThioJoe, I wonder that where's the BIOS of the system located ? Is it located in any partition of windows or directly written on to the system processor.
Neither, it's kept on a separate chip.
@@icantcomeupwithnames469 But I wonder how does the BIOS work ?
@@lakshyarajdashThat's a much more complicated question, but you could always poke around with a search engine.
@@lakshyarajdash well in simple terms(the only ones i know) whenever you press the power button the uefi chip turns on and then tells the CPU to turn on and then it boots the OS or the multi boot interface correct me if I'm wrong
Question:
Can image magick create WebP picture but by using VP9 codec algorithm?
The default is still VP8 last time I checked
Why do you need it? I mean if you are uploading to youtube it accepts pretty much every codec.
@@xanderplayz3446 I never said I gonna upload it to CZcams. Does CZcams even accept WebP pictures?
It's for a responsive website that could utilize blazing fast images loading compared to inferior JPEG. The only problem is that most WebP tutorials are using VP8 which is kind of Blurry.
But VP9 is like HEVC quality but for static image.
Can you maybe look into doing a video on Aria2C? It's a command line-based download utility.
It's not totally CLI, but I couldn't live without mpv and its command-line options anymore for playing media.
YT has a free “watch later” function so I don’t see any reason to waste space downloading.
As for command lines, here’s my weekly basic go-to after I’ve exhausted every possible update:
CMD>Admin>Dism /Online /Cleanup-Image /Checkhealth
CMD>Admin>Dism /Online /Cleanup-Image /ScanHealth
CMD>Admin>Dism /Online /Cleanup-Image /RestoreHealth
Sfc /ScanNow
Winget Upgrade --All
Merely gleaned from the ‘net, no personal technical knowledge so redundancy is unknown. Perhaps SFC would suffice but the entire process is very quick anyway. Comments are welcome.
there are plenty of reasons why someone might want to download a YT video though:
- to extract the audio (think music)
- to clip segments
- to watch without an internet connection
- to preserve the file in case YT or the uploader removes it
@@UncleJemima I suppose people do have reasons. Thanks.
Hi,
Could you please add a CZcams subtitle download to your YT-DLP PowerShell Script?
The chichi's trick is pretty useful.
Hyperfine is my favorite
Let archive this video with YT-DLP, it's a good one!
imagemagick also has a GUI (on linux at least)
But can it enable the halt and catch fire routine?
Pretty sure thats just what happens when you encode large videos with ffmpeg, honestly.
xz almost did that for me, popped a capacitor on my motherboard once lmao
@@icantcomeupwithnames469Seriously?
@@xanderplayz3446Obviously there's no reason to think it was xz in particular, but I decided to give it some nutty numbers to have it use pretty much every bit of power the computer had. Partway through the system totally hanged and became unresponsive to even holding the power button, so I flipped the switch on the PSU on and off, and when it wouldn't respond to anything after that I opened it up and saw a burst capacitor. Fortunately my GPUs and drives weren't damaged, carried them over to an old computer that was slated for recycling from work (and after a quick reconfiguring of GRUB from a live USB, it all just worked- yay, Linux!) and then to my current PC.
Graet stuff. Could you do a script to clean all junk, temp, prefetch and empty recycle bin all in 1 script please. Can that be done ?
I dont usually write comments but thanks for your videos
How to bypass device security issues when trying to run older software executables, on Win 11 os. Logitech gaming software drivers.
next suggestion: add some of these cmd to context menu , pyWinContext, Easy Context Menu, to name a few , are great tools...
'cheat' sounds a lot like running a command with --help or running 'man some-command' on Linux. Very useful! Even the nerdiest of us can't possibly remember every single command/argument. 😁
Bro, How long you been making videos, ThioJoe??? I just remembered a video you made YEARS ago about "boosting my wifi" with a piece of CAT5 a CD i think a triple-A battery. LOL. i was like "wait a damn minute. this guy is a sh|tt3r for sure. I'm gonna have to watch him closely." :D
Been watching ever since. well, after i got my damn wifi to work again i watched. Love the videos!
Awesome 😍😍😍.
What a great video. Helps a lot, thank you.
🔥🔥🔥
Joe, can you use autotranslation tracks in your videos on many different languages?
I think, you can, cause you have over 1mln subscribers. :)
Hi uncle Joe. I love your videos.
So Cheat is the windows version of man for Linux but it isn't anywhere near as good?
Eeeh, man pages aren't great if you just want fast example uses. It can still be pretty overwhelming since they're designed to be comprehensive. This is supposed to be a custom way of getting notes that is easy to understand at a glance.
More akin to tldr than man
m a n
Cheat is actually mainly for Linux.
Get-Help is more like man
does anyone know of a pdf to epub converter that does proper OCR text conversion?
Most of these are compatible with WSL, which helped me alot.
For those Windows users who had as much difficulty installing CHEAT as I did, installing with Chocolatey couldn't have been any easier! Possibly winget would've worked as well.
If you need another command line tool to help you remember all the commands for other command line tools, that means somebody should just make a GUI program instead. I use command line only if I have to.
GUIs are far less flexible, less compatible, and slower than even searching man pages for what you want, let alone compared to a program that spits out your commonly used arguments for you (although at that point, why not just make a wrapper?).
You can’t use GUIs with scripts, and for some of us, the command line is indispensable. I am blind and it’s a crapshoot if a GUI will be accessible to me-especially if it’s open source and made by normies who don’t care about a11y.
I always have a Command Prompt open because I use it so much. Fastest way to filter files and often just to get things done. I even made my own DIR replacement.
need this video like a decade ago
I use winget a lot to update my installed software
My favorite command is
Format C: /q /y
cool stuff
most linux distros have imagemagick and ffmpeg by default
A few years back I watched a thiojoe video and was trying it in real time. I deleted a system file 😔 and my computer crashed after restarting 😭. Now I watch, analyze its usefulness then maybe try it or not.
Where can I learn how to make this .bat .ps1 scripts and get aquianted with the cmd and powershell consoles? I feel there is a lot of resources for linux but I have been unable to find a complete and robust guide for windows
You can always start with typing HELP into CMD to get a list of common commands.
Ytdlp is my favorite