Question: Bash script 5.1 Pick a log file Make the log file name a variable cat the variable Show the last 3 lines of the log

Bash script 5.1

Pick a log file

Make the log file name a variable

cat the variable

Show the last 3 lines of the log file using the variable name

Bash script 5.2

Take user input of a file name

Try to find the file

Need output for file found

Need output for a file not found

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!