4 liens privés
The minimal, blazing-fast, and infinitely customizable prompt for any shell!
An bash alias is nothing but the shortcut to commands. The alias command allows the user to launch any command or group of commands (including options and filenames) by entering a single word. Use alias command to display a list of all defined aliases. You can add user-defined aliases to ~/.bashrc file. You can cut down typing time with these aliases, work smartly, and increase productivity at the command prompt.
Resource monitor that shows usage and stats for processor, memory, disks, network and processes.
Script to completely block Google on your PC
So, inspired by the article about the person that blocked all Google IPs from their life, I wanted to try it for myself but found no easy way to go about this, especially to be able to update and schedule it easily. If there is I don't know about it.
I made this script (Linux only) as a little project for myself, but figured other people might appreciate it as well.
It makes the changes locally to block all Google IP ranges using the routing table, and includes both block and unblock function.
I've tested it on a computer running Ubuntu 18.04 only, so be careful particularly if you're running a different setup.
It should go without saying, don't do this on your main computer especially if you need Google, unless you know what you're doing, you use this script at your own risk.
source : https://www.reddit.com/r/privacy/comments/bi2ckg/script_to_completely_block_google_on_your_pc/
This list of Linux benchmark scripts and tools should prove useful for quick performance check of CPU, storage, memory and network on Linux servers and VPS.
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.
It's Fucking Fast rocket
Minimal (only requires bash and coreutils)
Smooth Scrolling (using vim keybindings)
Works on Linux, BSD, macOS, Haiku etc.
Supports LS_COLORS!
File Operations (copy, paste, cut, ranger style bulk rename, etc)
Tab completion for all commands!
Automatic CD on exit (see setup)
Works as a file picker in vim/neovim (link)!
Display images with w3m-img!
Supports $CDPATH.
nnn is one of the fastest and most lightweight file managers (~50KB binary, ~3.5MB resident memory usage, highly optimized code). And yet, it doesn't lack in features!
A curated list of command line apps.
exa is an improved file lister with more features and better defaults. It uses colours to distinguish file types and metadata. It knows about symlinks, extended attributes, and Git. And it’s small, fast, and just one single binary.
pv - Pipe Viewer - is a terminal-based tool for monitoring the progress of data through a pipeline.
Bashrc file or .profile are the place where we put the initialization of the bash/zsh/fish shell, and lot’s of software want to add a line here, mainly to init some environment variable, or change path (BTW there is a feature to do that on OSX). The result is a bloated, unreadable file for init. So, let’s split it in several files.
The Fuck attempts to match the previous command with a rule. If a match is found, a new command is created using the matched rule and executed.
The TLDR pages are a community effort to simplify the beloved man pages with practical examples.
Highly configurable prompt builder for Bash and ZSH written in Go. It's inspired by the Oh My ZSH Bullet Train theme.
GBT comes with an interesting feature called prompt forwarding which allows to forward prompt generated by GBT to a remote machine. With this feature it's possible to have the same-looking prompt across all remote machines via SSH but also in Docker, Vagrant, MySQL or in Screen. All that works well on Linux (Terminator, Konsole, Gnome Terminal), Mac (Terminal, iTerm) and Android (Termux).
Bash Infinity is a standard library and a boilerplate framework for writing tools using bash. It’s modular and lightweight, while managing to implement some concepts from C#, Java or JavaScript into bash. The Infinity Framework is also plug & play: include it at the beginning of your existing script to import any of the individual features such as error handling, and start using other features gradually.
powerline.bash est une invite de commande dynamique dans le style Powerline, pour BASH.
A curated list of Terminal frameworks, plugins & resources for CLI lovers.