bash how to set up aliases
# Process:
1. Open the .bashrc file with your favorite shell text editor. E.g.
type "vi ~/.bashrc"
# Note, in general, the .bashrc file should be in your home
# directory. Type "cd ~" and then "ls -a" to confirm that it's there
2. Define an alias on a new line using this basic syntax:
alias abbreviated_command='original -long -command'
E.g.: alias ls='ls --color -lhAFG'
3. Save and exit the .bashrc file (e.g. type ":q" and Enter in vi/vim)
4. Source the .bashrc file to apply/activate the alias. E.g.
type "source ~/.bashrc"
# Note, I like having the following aliases to speed up this process:
alias bashrc='vi ~/.bashrc'
alias sourcebash='source ~/.bashrc'# syntax
# alias *<alias-name>="*<what-alias-represents>"
# example
alias ll="ls -lrt"
Also in C++:
- install traceroute ubuntu 18.04
- cmd kill process by pid
- crear ramas git
- install kubernetes on mac
- how to install django in virtual environment in ubuntu
- linux kill all process of a user
- spring react
- connectify alternative for linux
- grep 10 line before
- iis stop
- error: postcss plugin tailwindcss requires postcss 8.
- how to check current branch in git
- how to get list of files in zip linux
- ubuntu export path
- install babel preset env
- start Gui on your Ubuntu 20.04 system from cli
- windows tail command powershell
- gitlab asking for password every time
- vue google sign in github
- grep second match
- create venv ubuntu 20.04
- how to install xfce kali
- kubectl get pods
- pull from existing git repo