linux 下编辑 vi /etc/bash.bashrc

 

通过编辑linux的/etc/bash.bashrc文件来快速定位各个目录

alias mysqlw="mysql -uroot -p123456" alias usr="cd /usr/local" alias src="cd /usr/src" alias sphinx="cd /usr/local/sphinx" alias apahce="cd /usr/local/apache" alias home="cd /home/data/dev_test_com" alias php="/usr/local/php5/bin/php"

你可能感兴趣的:(linux,mysql,PHP)