Results 1 to 3 of 3
Write a Bash shell script that when executed gives you the actual count of regular and special users on the system.
#! /bin/bash
cat /etc/passwd | cut -f3 -d:
plz ...
- 04-27-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 1
Plz help in script
Write a Bash shell script that when executed gives you the actual count of regular and special users on the system.
#! /bin/bash
cat /etc/passwd | cut -f3 -d:
plz help
- 04-28-2010 #2
Define "regular", "special", and "on".
- 04-28-2010 #3
Unfortunately, this sounds a lot like a homework question, which are not allowed in this forum. Therefore, I will close this thread.
If you have a more specific question about writing this script (for instance, "How does the cut command know what the different fields are?"), we can help. But we will not do homework for you.DISTRO=Arch
Registered Linux User #388732


