Extract range of users with awk
Hi,
Here's a line using awk to extract "real" users on my system: Code:
bash-4.2$ awk -F: '$3 > 999 {print $1}' /etc/passwd | sort Cheers, Niki |
awk -F: '$3 > 999 && $3 < 2000 {print $1}' /etc/passwd | sort
Protip: *Italian* coffee, not French ;) |
Quote:
|
Quote:
:hattip: |
So that's why you woke up so quickly! :D
|
All times are GMT -5. The time now is 08:29 AM. |