We Recommend

bash Cookbook: Solutions and Examples for bash Users bash Cookbook: Solutions and Examples for bash Users
bash Cookbook teaches shell scripting the way Unix masters practice the craft. It presents a variety of recipes and tricks for all levels of shell programmers so that anyone can become a proficient user of the most common Unix shell -- the bash shell -- and cygwin or other popular Unix emulation packages.


Posted By

willcodeforfood on 12/16/07


Tagged

bashrc


Versions (?)


Alias's for controlling open/close of cd and dvd drives


Published in: Bash 


URL: http://bashscripts.org/viewtopic.php?t=149

cdo = cd open http://bashscripts.org/viewtopic.php?t=149

cdc = cd close dvdo = dvd open dvdc = dvd close

  1. alias cdo="eject"
  2. alias cdc="eject -t"
  3. alias dvdo="eject /dev/dvd"
  4. alias dvdc="eject -t /dev/dvd"

Report this snippet 

You need to login to post a comment.