1.基础知识
1.1Linux系统文件结构
1.2Linux系统命令行的含义
1.3命令的组成
2.基础操作
2.1关闭系统
shutdown -h now
poweroff
shutdown -h 2
2.2关闭重启
shutdown -r now
reboot
shutdown -r 2
2.3帮助命令(help)
ifconfig --help
2.4 命令说明书(man)
man shutdown
2.5 切换用户(su)
su yao
exit
3.目录操作
3.1 切换目录(cd)
cd /
cd /bin
cd ../
cd ~
cd -
cd tmp
cd /root/home/yao
3.2 查看目录(ls)
ls
ls -a
ls -l
ls /bin
3.3 创建目录(mkdir)
mkdir tools
mkdir /bin/tools
3.3 删除目录与文件(rm)
rm a.txt
rm -f a.txt