Search Results

Search: Posts Made By: eladage
2,507
Posted By eladage
Ok thanks your code worked I added a tail pipe to...
Ok thanks your code worked I added a tail pipe to get exactly what I wanted:b:

awk -F: '$5~/^[A-Z].*[A-Z]/ {print $1,$5}' passwd_exmpl|tail -58
2,507
Posted By eladage
Thanks for replying, but I need to only include...
Thanks for replying, but I need to only include names in the fifth field so I'm thinking if I could just grab the lines if the fifth field is in line with "capital first name" space "capital last...
2,507
Posted By eladage
Organizing text file by Capital Names (capital word ' ' capital word)
Hi I have a file passwd_exmpl that contains:

root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 08:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy