Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to create an alias

# an example
alias commit='git commit -m'

# Aliases terminate once you exit the terminal. 
# To create a lasting alias, find .bashrc file and input the alias command in it.
# The file is either located in the /root/ directory or ~ directory
# ls -a will list all files and folders including the ones starting with .
# move the file to the home directory, then run the command

# to uses an alias written in .bashrc file, run the command below
source .bashrc
Comment

PREVIOUS NEXT
Code Example
Shell :: open bash 
Shell :: cmake 
Shell :: creating bucket in aws cli 
Shell :: chmod execute permissions for everyone 
Shell :: bash assigning to new array 
Shell :: zgrep recursive 
Shell :: gulp-imagemin 
Shell :: conda install gdal 
Shell :: Linux get bluetooth mac address 
Shell :: grep ignore repeated lines 
Shell :: delete branch 
Shell :: babel json loader 
Shell :: file name from path linux 
Shell :: docker build linux/amd64 
Shell :: convert mkv to mp4 
Shell :: start tomcat 9 as a service windows 
Shell :: truncate log file linux 
Shell :: using locate search for the file 
Shell :: create windows 10 bootable usb in ubuntu 
Shell :: check linux disk ussed in wsl wwindow 
Shell :: push subtree to github pages 
Shell :: emporary failure resolving 
Shell :: kibana download 
Shell :: bash how to use xargs 
Shell :: npm install 
Shell :: git push takes forever 
Shell :: awk define string as delimiter 
Shell :: terminal public ip 
Shell :: influxdb version 
Shell :: delete all lines in vi 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =