面试题目:大家看看

jamesqsj 2004-07-27 03:51:31
1、linux下 wc命令做什么用的?
2、linux下启动一程序,标准输出输出到out.log,错误输出输出到err.log,并放到后台运行,给出该启动命令!
...全文
211 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
lvgame 2004-07-27
  • 打赏
  • 举报
回复
呵呵,面试问这个啊
cyanpine 2004-07-27
  • 打赏
  • 举报
回复
终于知道了
wc - print the number of bytes, words, and lines in files
DESCRIPTION
Print line, word, and byte counts for each FILE, and a total line if more than one FILE is specified.
With no FILE, or when FILE is -, read standard input.
ccwwcsdnc 2004-07-27
  • 打赏
  • 举报
回复
./a.out >out.log 2>err.log &
_炳叔_ 2004-07-27
  • 打赏
  • 举报
回复
学习ing
pacman2000 2004-07-27
  • 打赏
  • 举报
回复
这些是最基本的知识啊。。。
icedust 2004-07-27
  • 打赏
  • 举报
回复
1. wc来统计文本文件的行数,字数等
2. ./xxx 1>out.log 2>err.log &

23,117

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧