About chef on ubuntu servers
Thursday, June 12, 2014
sort delimiter and awk usage to print uid is more than 1000(bash)
cat /etc/passwd | awk -F: '{if (($3 >= 1000)) print $0 }' | sort -k3 -t":"
Home
Subscribe to:
Posts (Atom)