alias with switches

thufir hawat.thufir at gmail.com
Mon Mar 14 14:45:37 UTC 2016


Hi, for some aliases, I use \"foo\" to escape the quotes, so that I can 
pass in a double quoted word.

However, I can't seem to get a switch passed in correctly.


alias fjdk = 'ls -alh`


just to pick something simple.  That doesn't work when I put it 
in .bash_aliases and try "source .bashrc", it just chokes.  What's the 
correct way?



thanks,

Thufir




More information about the ubuntu-users mailing list