Originally Posted by
Geek_Guest
Question asked by straakaatt9
I'm just learning how to write shell scripts and I need your help in solving a couple of scripting questions: Here goes,
1. Write a command line that will count the number of daemon processes?
2. Write a command line that will display a sorted list of logged-in users using the sed command?
3. Write a script to remove all space characters stored in the shell variable called text, using the tr command.
4. Same as #3 using the sed command instead of the tr command?
5. Write script to count number of characters stored in shell variable called count=?
6. Write program to assign unique lines in the file called names to a shell variable called namelist?