I want to create an alias in bash so that instead of having to type:
/usr/local/etc/rc.d/mysql-server start
I can instead type:
rcd mysql-server start
Is that possible and what would the syntax look like? I believe rc scripts need the full path every time to run otherwise I would have created a symlink to the folder in / already.
Thanks!
/usr/local/etc/rc.d/mysql-server start
I can instead type:
rcd mysql-server start
Is that possible and what would the syntax look like? I believe rc scripts need the full path every time to run otherwise I would have created a symlink to the folder in / already.
Thanks!