4 ms·
I like to alias commands and put them in ~/.bash_profile for the ones that are useful. Then to see what you have saved you just type alias to get the list of al
by weaksauce 16y ago
I like to alias commands and put them in ~/.bash_profile for the ones that are useful. Then to see what you have saved you just type alias to get the list of all the current aliases. if there is one that could possibly do harm to your system and you dont want it to run you could do a alias possiblyBadCommand="0 && whatever command you want to save but never run." If you accidentally run possiblyBadCommand it will just exit out saying -bash: 0: command not found