Skip to main content

Most Useful Linux Commands Alias

In linux “alias” command allows user to launch application or group of command using shortcut keyword on the terminal. alias is saved under ~/.bashrc file. to add alias there is two possible ways.

1. Update the ~/.bashrc file and add line like
alias apt-get=’sudo apt-get’
2. using bash syntax
alias apt-get=’sudo apt-get’
Here are the list of most useful command alias which you can add in your linux machine and use it like a pro.

1.  sudo apt-get install
alias apt-get=’sudo apt-get’
2. Print linux distribution using lsb_release
alias distro=lsb_release
3. extract tar or tar.gz file
alias tar=’tar –zxvf’
4. Search history using history | grep
alias hg=’history | grep’
5. Clear the terminal using clear

alias c=’clear’
6. List directory with permission
alias ll=’ls –all’
7. See history
alias h=’history’
8. List all port on the machine
alias ports=’netstat –tulamp’
9. Be a root
alias su=’sudo –i’
10. Update command
alias update=’sudo apt-get update && sudo apt-get upgrade’
This command will let you access Linux terminal like a pro. if you like this post please do share.

Popular posts from this blog

31 Most amaing fact about India

Here are some most amazing unknown facts about India from iGyan.Org that will blow your mind and you will be proud of it.

The name India is derived from Indus River, which originates from the Old Persian word Sindhi.India is the seventh largest country by area.India is the only country in the world which has both tigers and lions in the wild.New Delhi's air is the most polluted in the world.Indian Railways is the largest railway network in the world under single management.Other than US and Japan, India is the only country to have built a super computer indigenously. India is ranked the sixth country in the world in terms of satellite launches.The world's first university was established in Takshashila in 700 BC.Ayurveda of India is the earliest school of medicine known to the world.Four out of 10 Silicon Valley startups are run by Indians.India is the world's premier center for diamond cutting and polishing. Nine out of every 10 stones sold in the world pass through India…

Interesting facts about Indian currency symbol

Here are some interesting fact about the Indian currency symbol. Indian Currency Symbol has been presented publiclly by the goverment of india on 15th july 2010.The symbol uses U+20B9 unicode charactar.Indian currency symbol was designed by Udaya Kumar.

Top Inspiring Quotes From Albert Einstein

Most Beautifully said Top Inspiring Quotes By Albert Einstein, A Huge leftest collection of Einstein Quotes.