This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
blog/_posts/2020-12-24-best-cli-tools.md

36 lines
1.8 KiB
Markdown
Raw Normal View History

2020-12-25 04:21:05 +00:00
---
layout: post
title: "Best CLI Tools"
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.
2021-02-17 00:59:01 +00:00
![`tldr 7z`](/blog/assets/tldr-7z.png)
2020-12-25 04:21:05 +00:00
# `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`
2021-02-17 00:59:01 +00:00
![`pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'`](/blog/assets/tldr-fzf.png)
2020-12-25 04:21:05 +00:00
# `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"?
2021-02-17 00:59:01 +00:00
![`convert`](/blog/assets/tldr-convert.png)
2020-12-25 04:21:05 +00:00
# `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!
2021-02-17 00:59:01 +00:00
![`last`](/blog/assets/tldr-last.png)
2020-12-25 04:21:05 +00:00