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":"
No comments:
Post a Comment
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment