waterye

显示文件

head: 显示文件内容的前几行
head -n 10 readme

tail: 显示文件内容的后几行
tail -n 10 readme

通过grep查找文件内容
cat readme | grep "intro"

posted on 2007-03-26 20:52 waterye 阅读(566) 评论(0)  编辑  收藏 所属分类: Linux


只有注册用户登录后才能发表评论。


网站导航: