Skip to content

Instantly share code, notes, and snippets.

@chellem
Created December 4, 2014 16:36
Show Gist options
  • Save chellem/58a610b6c91549ff0967 to your computer and use it in GitHub Desktop.
Save chellem/58a610b6c91549ff0967 to your computer and use it in GitHub Desktop.
List all accounts on the system with a login shell of Csh, sorted alphabetically by login name and display a screen at a time
cat /etc/passwd | grep /bin/csh | cut -d ‘:’ -f1 | sort | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment