httpd -l and mysql -p at any command line prompt
Hi,
I would like to be able to run the following command at any command line prompt
# httpd -l
instead of /usr/local/apache/bin/httpd -l
# mysql -p
instead of /usr/local/mysql/bin/mysql -p
There are some other commands for mysql like mysqladmin I would like to add.
I am aware of alias in the .bash_profile could be setup to do this, but I would really like it to be setup as it was when I had a default server install of CentOS 4.3
Regards,
Garry
|