Question: UNIX programming: Create a script in C Shell that can be executed only from a specific terminal. Create a script that prints a friendly message.
UNIX programming: Create a script in C Shell that can be executed only from a specific terminal.
Create a script that prints a friendly message. However, the script can be executed only from one terminal. You can use the name of the terminal you are using when you write the script. If somebody that is not authorized, the script is to exit immediately. Hint: use tty command to show your current terminal.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
