1.命令 pwd 查看当前目录
2.命令 ls 查看当前目录下的文件
[root@localhost ~]# pwd
/root
[root@localhost ~]# ls
aa anaconda-ks.cfg cangls install.log.syslog sh test3.sh tmp
abc bols install.log japan test2.sh test.sh
[root@localhost ~]#
3.mkdir file 在当前目录下创建file文件夹
4.cd file 进入file文件夹。 cd - 快速返回到上一级目录
5.touch cc 在当前目录创建cc文件
[root@localhost ~]# mkdir file
[root@localhost ~]# ls
aa anaconda-ks.cfg cangls install.log japan test2.sh test.sh
abc bols file install.log.syslog sh test3.sh tmp
[root@localhost ~]# cd file
[root@localhost file]# pwd
/root/file
[root@localhost file]# touch cc
[root@localhost file]# pwd
/root/file
[root@localhost file]# ls
cc
[root@localhost file]#