Skip to content
On this page


rm .bashrc
ln -s ~/public/system/.bashrc .bashrc

Alias vs Functions

interesting discussion came up here:

Which is better, an alias or a function?


dew() {
  docker-compose exec web $@

The $@ part handles passing along all of the function’s arguments. docker-compose shortcut at DuckDuckGo Shortcut command for docker-compose build + down + up - Stack Overflow Docker Tip #26: Alias and Function Shortcuts for Common Commands — Nick Janetakis

See also



Timing a process

just prefix the command you want to time with time!

time ls
time how long a script takes bash at DuckDuckGo
Bash: Calculate how long it takes a script to run - Stack Overflow

Environment Variables

Often need to append to the PATH so a new executable is matched via the CLI. Should not put in .bashrc according to:

I just put it in .bashrc 😛


No need for export if the variable already exists


The history command is a useful way to see what commands have been run recently. If you want to document the steps taken, it helps to remove line numbers first:

history | cut -c 8-


If you need to edit the history data (like if you accidentally pass sensitive information to a command via the CLI -- it happens), you can edit the data directly in either ~/.bash_history or ~/.bash_profile.

The history command can be used to remove a specific line from history:

history -d 1

And if you want to clean the entire history:

history -c


GitHub - webpro/awesome-dotfiles: A curated list of dotfiles resources.
GitHub - ibraheemdev/modern-unix: A collection of modern/faster/saner alternatives to common unix commands.

Tilix: Advanced Tiling Terminal Emulator for Power Users - It's FOSS
gnunn1/tilix: A tiling terminal emulator for Linux using GTK+ 3
Tilix at DuckDuckGo
Tilix: A tiling terminal emulator
best tiling terminal console at DuckDuckGo
14 Best Linux Terminal Emulators With Extra Features [2021]
terminal-emulators · GitHub Topics
terminal · GitHub Topics
nicolargo/glances: Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
railsware/upterm: A terminal emulator for the 21st century.
yudai/gotty: Share your terminal as a web application
Eugeny/tabby: A terminal for a more modern age (formerly Terminus)
ConEmu - Handy Windows Terminal
GitSquared/edex-ui: A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
alacritty/alacritty: A cross-platform, OpenGL terminal emulator.
vercel/hyper: A terminal built on web technologies

ohmyzsh/ohmyzsh: 🙃 A delightful community-driven (with 1900+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
Oh My Zsh - a delightful & open source framework for Zsh
why zsh at DuckDuckGo
What is ZSH, and Why Should You Use It Instead of Bash?
GitHub - romkatv/powerlevel10k: A Zsh theme
GitHub - Powerlevel9k/powerlevel9k: Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.