ITPub博客

首页 > Linux操作系统 > Linux操作系统 > shell

shell

原创 Linux操作系统 作者:keeking 时间:2009-11-30 14:49:53 0 删除 编辑
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/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: english saying
请登录后发表评论 登录
全部评论

注册时间:2009-07-23

  • 博文量
    194
  • 访问量
    287361