0

How to find a particular line using awk command

I need to find a particular in /etc/passwd it showing all the line as a single line, how to separate and fetch a particular line using awk command?

michael
asked Oct 26, 2019
1 Answer
0

use the following command to separate the line

awk -F: '{print $1}' /etc/passwd

output


tcpdump
user
mysql
apache
elasticsearch
kibana
View More
linuxhelp
answered Oct 26, 2019
Your Answer
||||
x
 
100:0

Related Tutorials in How to find a particular line using awk command

Related Tutorials in How to find a particular line using awk command

Related Forums in How to find a particular line using awk command

Related Forums in How to find a particular line using awk command