Linux 命令之 cut
Results from Lion 10.7
$ grep -v "^#" /etc/passwd | cut -d ":" -f 1 | head -n4
nobody
root
daemon
_uucp
这个Linux命令还真没多少东西可说。。
Comments on this post are closed.
Mitnk's Blog
Critically Analyze What You Read and Hear
Results from Lion 10.7
$ grep -v "^#" /etc/passwd | cut -d ":" -f 1 | head -n4
nobody
root
daemon
_uucp
这个Linux命令还真没多少东西可说。。