当前位置: 技术问答>linux和unix
面试题目:大家看看
来源: 互联网 发布时间:2015-07-08
本文导语: 1、linux下 wc命令做什么用的? 2、linux下启动一程序,标准输出输出到out.log,错误输出输出到err.log,并放到后台运行,给出该启动命令! | 1. wc来统计文本文件的行数,字数等 2. ./xxx 1>ou...
1、linux下 wc命令做什么用的?
2、linux下启动一程序,标准输出输出到out.log,错误输出输出到err.log,并放到后台运行,给出该启动命令!
2、linux下启动一程序,标准输出输出到out.log,错误输出输出到err.log,并放到后台运行,给出该启动命令!
|
1. wc来统计文本文件的行数,字数等
2. ./xxx 1>out.log 2>err.log &
2. ./xxx 1>out.log 2>err.log &
|
终于知道了
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.
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.
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。