tag:blogger.com,1999:blog-8963271977541193503.post5107817445184582533..comments2014-02-24T14:34:06.379+05:30Comments on babyGNU: ShortHowTo: AliasingWaseemhttp://www.blogger.com/profile/12641762443366203066noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8963271977541193503.post-44241309048272847242007-12-02T23:10:00.000+05:302007-12-02T23:10:00.000+05:30bash aliases are so much of a personal thing. It r...bash aliases are so much of a personal thing. It relates to your experince..<BR/><BR/>Did you know about $CDPATH? <BR/>Say you cd to the directory /path/to/directory/music a lot. Just add it to your $CDPATH<BR/><BR/><I>export CDPATH=.:~:/path/to/directory</I><BR/><BR/>Next time, you can just<BR/><I>cd music</I><BR/>to cd to /path/to/directory/music. Time saver, na?Kazim Zaidihttps://www.blogger.com/profile/16846652169654231184noreply@blogger.comtag:blogger.com,1999:blog-8963271977541193503.post-67378677923474034192007-12-02T22:26:00.000+05:302007-12-02T22:26:00.000+05:30So here you you have some really *advanced* level ...So here you you have some really *advanced* level aliases. See the power of aliasing...Your troubleshooting secrets will now become *fast* troubleshooting techniques to many now.Waseemhttps://www.blogger.com/profile/12641762443366203066noreply@blogger.comtag:blogger.com,1999:blog-8963271977541193503.post-92155764288511666642007-12-02T22:21:00.000+05:302007-12-02T22:21:00.000+05:30Some great aliases I would like to sharealias mpla...Some great aliases I would like to share<BR/><BR/><I>alias mplayer="mplayer -nojoystick -nolirc $*" </I><BR/>That is, don't try to detect joystick or IR remote<BR/><BR/><I>alias showpkg="apt-cache show $*"</I><BR/>To know what a particular package does, just try showpkg mplayer, for example<BR/><BR/><I>alias :q='exit'</I><BR/>For vi users that only know one way to exit, namely :q (ah yes, Ctrl+D Kazim Zaidihttps://www.blogger.com/profile/16846652169654231184noreply@blogger.com