第1关:Linux文件/目录相关命令操作(df、du)
答案:
#!/bin/bash
#在以下部分写出完成任务的命令
#*********begin*********#
du -h oldFile
du -a oldDir
#********* end *********#
第2关:Linux文件/目录链接
答案:
#!/bin/bash
#在以下部分写出完成任务的命令
#***********begin*************#
ln oldFile oldFileHardLink
ln -s oldFile oldFileSoftLink
ln -s oldDir oldDirSoftLink
#************end**************#
第3关:Linux之挂载
答案:
#!/bin/bash
#在以下部分写出完成任务的命令
#***********begin*************#
touch /home/iso/testFile
mount -o loop -t iso9660 ./isoFile.iso /home/iso
cp /home/iso/testFile ./
#************end**************#