Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ddouhine/a1cf029237882bd2b873 to your computer and use it in GitHub Desktop.
Save ddouhine/a1cf029237882bd2b873 to your computer and use it in GitHub Desktop.
grep : /etc/security/passwd > pt1; grep passw passwd | awk '{print $3}' > pt2; paste -d' ' pt1 pt2 > pt3; sed -e 's/ //g' pt3 > passwd_w_shadow; rm pt*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment