Customize your terminal with aliases

  • “cd <directory>” -> changes directory
  • “cd ..” -> goes up one directory
  • “ls” -> lists all the files and folders in the current directory
  • “cat <filename>” -> quickly view the contents of a single file
  • “nano <filename>” -> quick text editor
  • “find / -name <filename>” -> I use this when I don’t know where the file lives. I just want it to search the entire machine.

Meta Analysis

Improve it with aliases

alias ..="cd .."alias ...="cd ../.."alias ....="cd ../../.."

Alias for one directory

Alias for scripts

alias startgetmypup='cd ~/Documents/code/dog-shelter-app; python3 app.py';

Aliases for Django

  1. pipenv run ./manage.py makemigrations
  2. pipenv run ./manage.py migrate
  3. pipenv run ./manage.py runserver
alias pp='pipenv run ./manage.py';alias pmm='pp makemigrations';alias pm='pp migrate';alias pr='pp runserver';alias pmr='pp makemigrations; pp migrate; pp runserver';

Colors!

export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "export CLICOLOR=1export LSCOLORS=Fxfxcxdxbxegedabagacadalias ls='ls -Fh'

Terminal Tools

--

--

--

Software Engineer — Blockchain, Cybersecurity, and Commercial Space

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Send telegram messages to any user using python

OpenCV and Transportation Engineers

WinRAR 6.11 crack+full version

Winrar crack + full version

Cloud VDI: Comparing On-Premises vs V2 Cloud Workspaces

RabbitMQ PubSub — Exchange and Queue management

Tutorial: Develop a cli for web development

Be Your Own Dentist!

The Future of Code is No-Code

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Juliana Mei

Juliana Mei

Software Engineer — Blockchain, Cybersecurity, and Commercial Space

More from Medium

How-To: Open Terminal Tabs & Execute Commands via your CLI

Create multi-architecture Docker images

Code Editors and IDEs

zsh: Add the name of current git branch to any command