http://www.linuxsir.org/main/doc/abs/abs3.7cnhtm/index.html
Q13: Write a shell script. to append "snork" to the file "test" but only if "test" already exists.
if [-e "test"]
then
echo "snork" >> test
fi
Q14: how to get rid of a file named `-fr`?
rm -- -fr 或 rm ./-fr
Q15: which steps should take to remove an unneeded, but active, paging space called paging6?
Q16: What commands can be used to find the files which size is larger than 100MB under /usr/local directory?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7899089/viewspace-620997/
,如需转载,请注明出处,否则将追究法律责任。