Question: A shell script is a script written for the shell. The shell is a process that lets you edit your command line input then runs
A shell script is a script written for the shell. The shell is a process that lets you edit
your command line input then runs the command. Security professional automate
tasks by creating and implementing shell scripts.
Create file lscript in root directory you can use any editor your wish like vim
Type on separate lines
date
echo "hostname: $HOSTNAME"
echo "user: $USER"
cal
Save the 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
