Question: Write a script that prints the current date, your user name, and the name of your login shell. Use variables and/or commands. Do not use
- Write a script that prints the current date, your user name, and the name of your login shell. Use variables and/or commands. Do not use literals.
- Write a script that creates three background processes, waits for them all to complete, and then displays a simple message.
- Experiment with calling scripts. Write a series of three shell scripts called "a.sh," "b.sh," and "c.sh" that each display their name using a command line parameter, execute ps, and then exec the next script in the sequence. Email me what happens when you start the first script by: exec a.sh at the command line
- Write a script that echos the following special variable: $$, $0, $1, ${10}, $*, $@, and $#. The script must work with the input and output below. Your pid will be different but the rest of the rest will match.
- Write a script that clears the screen, determines how many sessions you are in (use who, grep, and wc), compare 2 files that are passed as parameters using diff and cmp, and sort the first file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
