echo "alias ll='ls -l'" >> ~/.bashrc && source ~/.bashrc
echo "alias lh='ls -lh'" >> ~/.bashrc && source ~/.bashrc
查看目录
du -sh
查看磁盘
df -lh
echo "alias mysql203='/opt/soft/mysql/bin/mysql -uadmin -p123456 -h172.16.18.203'" >> ~/.bashrc && source ~/.bashrc