A.All three files will contain the updates and will remain available.
B.All three files will be deleted and no changes will be made to /tmp/file2.
C.Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.
D.Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.
第1题:
A. myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err
B. myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err
C. myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err
D. myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err
第2题:
如何删除一个非空子目录 /tmp?
A.del /tmp/*
B.rm -rf /tmp
C.rm -Ra /tmp/*
D.rm –rf /tmp/*
第3题:
如何删除目录 /tmp下的所有文件及子目录()。
A.del /tmp/*
B.rm -rf /tmp
C.rm -Ra /tmp/*
D.rm –rf /tmp/*
第4题:
CTMP与TMP相比,CTMP得率大于TMP,强度CTMP大于TMP。
第5题:
在/tmp目录下创建子目录test, 在test目录下创建文件a.txt,把/tmp/test目录打包成/tmp/test.tar,用zip打包压缩成/tmp/test.tar.gz;创建目录/tmp/test1;/tmp/test2,解包/tmp/test.tar到/temp/test1; 解包/tmp/test.tar.gz到/tmp/test2;