赞
踩
ls / 或者
cd /
ls
cd /tmp
mkdir 学号
cd 学号
pwd
mkdir -m 741 test1
cd test1
mkdir -p test2/test3/test4
cd test2
rmdir -p test3/test4
cp /root/.bashrc /tmp/bashrc
cp -i /root/.bashrc /tmp/bashrc
cp -r /etc/ /tmp
touch aaa
ls -l aaa
rm -f aaa
mv /tmp/bashrc /tmp/学号/test1/test2
rm -rf /tmp/学号/test1
cat -n /etc/issue
tac /etc/issue
nl /etc/issue
more /var/log/dmesg
less /var/log/dmesg
head -n 20 /var/log/dmesg
tail -n 5 /var/log/dmesg
cat -n /var/log/dmesg | head -n 20 | tail -n 5
cd /tmp
cp -a /root/.bashrc bashrc
ls -ld bashrc
touch ./bashrc
file /root/.bashrc
which ifconfig
which cd
whereis -m passwd
locate passwd
find / -type f -mtime 3 -mmin -1440
find ./ -newer /etc/hosts -exec cp {} hosts.new \;
或者
find ./ -type f -newer /etc/hosts > hosts.new
ls
find /etc -type f -newer /etc/hosts
find / -user root -o -nouser
find / -type f -name "*man*"
find / -type f -size +1M
find / -type f -size -1M
mkdir test
cd test
touch file1
ll
chmod o+w file1
ls -l
chmod g-r file1
ls -l
chmod 751 file1
ls -l
chmod 400 file1
ls -l
chmod o+w file1
ls -l
cd ..
ll
chmod o+w test
ll
ls -ld test
chown -R bin: daemon test
ls -ld test
rm -r test
pwd
ls
ls -a
man ls
mkdir test
ls
cd test
pwd
touch newfile
cp /etc/profile ./
cp ./profile profile.bak
ll
less profile
tar -cvf test.tar test/
gzip test.tar
mv test.tar.gz backup.tar.gz
mv backup.tar.gz 用户路径/test/
ls
find -name newfile
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。