Why I Will Never Use Alpine Linux Ever Again
debian-slim
If you’re looking for a general-purpose base image with a reasonable size that’s not based on musl, then you might consider using UBI (Universal Base Image) made by Red Hat, which has only 26.7MB in its "micro" version ( registry.access.redhat.com/ubi8-micro), which is also fairly close to Alpine.
Rust Easy! Modern Cross-platform Command Line Tools to Supercharge Your Terminal - DEV Community
Rust tooling is taking over the terminal. Use these awesome tools to supercharge your Linux/macOS/Windows terminal. Tagged with rust, terminal, linux, macos.
bat is one of my favorite tools from this list. It's a replacement for cat, and once you have used bat, you will never go back.
$ Cargo
cargo install bat --locked
exa
Both LSD and exa are replacements for the ls command. They both look gorgeous with nice colors and icons and have features like headers, sorting, tree views, and so on. Exa is a bit faster than LSD for tree views and can show the Git status of files and folders. I prefer exa due to the Git support and faster tree views. I have set up my ls alias to use exa by default. Both can be configured to show custom columns and sorting behaviors.
rip
rip is an improved version of the rm command. It is faster, safer, and user-friendly. rip sends deleted files to a temp location so they can be recovered using rip -u.
dust
Dust is an alternative for the du command. It is fast and has a better UX with nice visualization for disk usage.
fd
fd is a simpler alternative to find. It is more intuitive to use and comes with sensible defaults. It is extremely fast due to parallel traversing and shows a modern colorized output and supports patterns and regex, parallel commands, smart case, understands .gitignore files, and so on. I have aliased find to fd as I could never remember what options to pass to get a basic find command working.
bottom
bottom is a top replacement with a nice terminal UI. It's quite feature-rich and customizable.
fselect, find files with SQL-like queries
github.com/jhspetersson/fselect
sudo ln -sfnv /usr/bin/batcat /usr/bin/bat;GitHub - tomnomnom/gron: Make JSON greppable!
Make JSON greppable! Contribute to tomnomnom/gron development by creating an account on GitHub.
gron transforms JSON into discrete assignments to make it easier to grep for what you want and see the absolute 'path' to it. It eases the exploration of APIs that return large blobs of JSON but have terrible documentation.
A list of new(ish) command line tools
A list of new(ish) command line tools
vidir (from moreutils, lets you batch rename/delete files in vim)
How To Limit Network Bandwidth In Linux Using Wondershaper
This brief tutorial describes how can we limit network bandwidth in Linux using wondershaper script.
Ten Things I Wish I’d Known About bash – zwischenzugs
diff <(grep somestring file1) <(grep somestring file2)
:h
I use this one a lot too. If you put it after a filename, it will change that filename to remove everything up to the folder. Like this:
grep isthere /long/path/to/some/file/or/other.txt
cd !$:h
Unix Toolbox
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.
Typora — a markdown editor, markdown reader.
Readable & Writable
Typora gives you a seamless experience as both a reader and a writer. It removes the preview window, mode switcher, syntax symbols of markdown source code, and all other unnecessary distractions. Instead, it provides a real live preview feature to help you concentrate on the content itself.
The Language Agnostic, All-Purpose, Incredible, Makefile | Mindlessness
How to develop a Makefile
They key to successfully writing a Makefile is to just write down the commands you need at the moment. Ran a new command? Put it in the Makefile. Over time, the Makefile will grow to include even those rare commands you rarely run and can’t remember what they were. Patters with emerge, and these will help guide the prerequisites that may otherwise not be obvious.
How to Write Python Command-Line Interfaces like a Pro
o what is Click? From the webpage:
It (Click) aims to make the process of writing command-line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API.
App::Stacktrace - Stack trace - metacpan.org
perl-stacktrace prints Perl stack traces of Perl threads for a given Perl process. For each Perl frame, the full file name and line number are printed.
Makefiles 101: how to use make as a task automation tool
Not everyone is aware that make can easily be used to manage tasks in your projects. In this article, I’d like to share a brief introduction to how Makefiles help me automate some tasks in my day to day activities. This brief guide will focus on using make as an automation tool for tasks rather than a tool for compiling code.
Seven Surprising Bash Variables
1) PROMPT_COMMAND
2) HISTTIMEFORMAT
3) CDPATH
See comment:
https://unix.stackexchange.com/questions/456866/how-can-i-suppress-printing-the-full-path-to-subdirectories-when-using-cdpath/456867#456867
4) SHLVL
5) LINENO
6) REPLY
7) TMOUT
Schedule One-Time Commands with the UNIX at Tool
Cron is nice and all, but don't forget about its cousin at.
101 Bash Commands and Tips for Beginners to Experts
The commands below are laid out in a more-or-less narrative style, so if you're just getting started with bash, you can work your way through from the beginning to the end. Things generally get less common and more difficult toward the end.
Kubernetes: Getting Started - chrisshort.net
Getting Started with Kubernetes sounds like quite a daunting feat. How do you get started with “an open-source system for automating deployment, scaling, and management of containerized applications”?
FOSS Alternatives to Popular Proprietary Software
YouTube - PeerTube, https://joinpeertube.org/en/home/
Twitter - Mastodon, https://mastodon.social/about
Adobe InDesign - Scribus, https://www.scribus.net/
What is a Makefile and how does it work?
If you want to run or update a task when certain files are updated, the make utility can come in handy. The make utility requires a file, Makefile (or makefile), which defines set of tasks to be executed. You may have used make to compile a program from source code. Most open source projects use make to compile a final executable binary, which can then be installed using make install.
A little collection of cool unix terminal/console/curses tools
Just a list of 20 (now 28) tools for the command line. Some are little-known, some are just too useful to miss, some are pure obscure -- I hope you find something useful that you weren't aware of yet! Use your operating system's package manager to install most of them. (Thanks for the tips, everybody!)