Friday, April 6, 2012

create terminal bash shortcuts

You can assign shortcuts for your most frequently used terminal commands by appending alias as many times as you did like to your bash configuration file (~/.bashrc). The syntax for alias is as follows.



alias yourCommand="YourTerminalCommand"



example:

alias la="ls -la"

alias gs1="ssh gs1.yourdomain.com"







Aliases shorten the amount of keystrokes necessary to throw commands.



I put

Baca Juga

create terminal bash shortcuts
4/ 5
Oleh
Tampilkan Komentar
Sembunyikan