Advertisement
CPB2017

Script 1C

Jun 21st, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/bash
  2. VAR1=$(cut -d: -f1 /etc/passwd)
  3. echo -e β€œThe users in the system as fallows..n $VAR1 n Completed listing users..!”
  4. echo β€œTotal number of users are $(cat /etc/passwd | wc -l)”
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement