Add best CLI tools
This commit is contained in:
parent
4275bb2446
commit
86a6711be7
|
@ -28,3 +28,10 @@ I've got some mixed feelings about VSCodium, the text editor that I use. It's no
|
|||
|
||||
Easy. `cd`. That's it. No aliases needed; should work in basically any shell.
|
||||
|
||||
|
||||
## Sparse files
|
||||
|
||||
Sparse files are pretty much black magic. Enough said. Basically, only used space is allocated, so a 14TB file containing all zeroes can be represented with no additional storage. You can have all the 14TB files that you ever want!
|
||||
|
||||
![A 14TB file](/assets/sparse-file.png)
|
||||
|
||||
|
|
39
_posts/2020-12-24-best-cli-tools.md
Normal file
39
_posts/2020-12-24-best-cli-tools.md
Normal file
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
layout: post
|
||||
title: "Best CLI Tools"
|
||||
date: 2020-12-24 21:51:09 -0600
|
||||
author: Ta180m
|
||||
tags: ["Random", "Linux"]
|
||||
---
|
||||
|
||||
|
||||
# `tldr`
|
||||
|
||||
The. Best. Documentation. Tool. Ever. Seriously. Instead of pulling up a web browser, searching for the command, and scrolling through pages of documentation, you can instead use `tldr` to get most common use cases for a command. Sure, maybe 10% your particular use or flag won't be on there, but it's a great quick-and-dirty way to get a refresher about unfamiliar commands.
|
||||
|
||||
![`tldr 7z`](/assets/tldr-7z.png)
|
||||
|
||||
|
||||
# `fzf`
|
||||
|
||||
Like `find` but better and more powerful. For instance, `pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'` will start up cool two-panel search for your (Arch) system's packages. And that's just the tip of the iceberg; there's so much more you can do with `fzf`
|
||||
|
||||
![`pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'`](/assets/tldr-fzf.png)
|
||||
|
||||
|
||||
# `convert`
|
||||
|
||||
No need to upload your images to sketchy websites who could steal your data in order to do image conversions. Imagemagick's `convert` tool has got your back. It's just `convert image.jpg image.png`, or you can also throw in some flags to resize the images and do other kinds of manipulation. It's magic! Or should I say "magick"?
|
||||
|
||||
![`convert`](/assets/tldr-convert.png)
|
||||
|
||||
|
||||
# `last`
|
||||
|
||||
Ever wanted to know your system's installation date, or even better, the full history of shutdowns and reboots? Well, `last` can help. Typically found in the `util-linux` package, it will faithfully log every boot and shutdown. According to `last` my system was "born" on Thursday September, 3rd 22:18:55 2020. Great to know, so I can celebrate its cake day next year!
|
||||
|
||||
![`last`](/assets/tldr-last.png)
|
||||
|
||||
|
||||
|
||||
|
BIN
assets/sparse-file.png
Normal file
BIN
assets/sparse-file.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 206 KiB |
BIN
assets/tldr-7z.png
Normal file
BIN
assets/tldr-7z.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 113 KiB |
BIN
assets/tldr-convert.png
Normal file
BIN
assets/tldr-convert.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 98 KiB |
BIN
assets/tldr-fzf.png
Normal file
BIN
assets/tldr-fzf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 115 KiB |
BIN
assets/tldr-last.png
Normal file
BIN
assets/tldr-last.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 189 KiB |
BIN
favicon.png
Normal file
BIN
favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 346 KiB |
Reference in a new issue