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.
1. Create file lscript in /root directory (you can use any editor your wish like vim)
2. Type on separate lines
date
echo "hostname: $HOSTNAME"
echo "user: $USER"
cal
3. Save the file
9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!