Why won't grep return the lines that should match?

前端 未结 0 953
傲寒
傲寒 2020-12-09 06:05

I am making a bash script that will return all uid 0 users on ubuntu. I am using this grep command to search for uid 0 users:

grep -x *:x:0:* /etc/passwd

相关标签:
回答
  • 消灭零回复
提交回复
热议问题