linux命令回顾
上一篇 /
下一篇 2009-10-17 12:00:00
今天学了几个命令,在这里回顾一下:
ls -l -a -F
Alias li='ls -l'
UserAdd user2
SU - User2
touch /home/cheney/a.txt
vi /home/cheney/a.txt
i = insert, ESC to exit the insert mode, press : enter the command text mode, wq to save and exit, q!to exit without save.
rm -r a.txt
mkdir folderTest
rmdir folderTest, only for the folder that did not contain anything.
cd ~/.bashrc to edit the alias when the system is rebooted
cp /home/a /etc/b, copy a to /etc/ and changed its name to b.
收藏
举报
TAG: