run bash command against all lines in txt file

后端 未结 0 1710
悲哀的现实
悲哀的现实 2021-01-31 20:47

how do I run a bash command against each row in a txt file? I have user.txt with about 2000 rows and want to run cat /etc/passwd against each user and get output

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