codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Follow publication

7 Super Useful Aliases to make your development life easier 👨‍💻 👩‍💻

Nowshad
codeburst
Published in
3 min readMar 9, 2018

--

Photo by Erik Odiin on Unsplash
npm install --save expresssudo apt-get updatebrew cask install docker

Meet Your Friend — Alias

nis express
npm install --save express

What’s alias ?

How ?

alias alias_name="command_to_run"

Let’s Create a few

1. Install node Packages

alias nis="npm install --save "

2. Git add and commit

alias gac="git add . && git commit -a -m "

3. Search Through Terminal History

alias hs='history | grep'

4. Make and enter inside a directory

alias mkcd='foo(){ mkdir -p "$1"; cd "$1" }; foo '

5. Show my ip address

alias myip="curl http://ipecho.net/plain; echo"

6. Open file with admin access

alias svim='sudo vim'

7. Update your linux pc/server

alias update='sudo apt-get update && sudo apt-get upgrade'

Persistant Aliases

Bonus

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Published in codeburst

Bursts of code to power through your day. Web Development articles, tutorials, and news.

Responses (6)

Write a response