Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1: In order to finish the tasks in this lab, you must connect to snowball server to copy my checkError.sh $cp /home/yye10/public/checkError.sh checkError.sh In

image text in transcribedimage text in transcribed

Part 1: In order to finish the tasks in this lab, you must connect to snowball server to copy my checkError.sh $cp /home/yye10/public/checkError.sh checkError.sh In Lab 5, you may have tried the shell script checkError.sh in part 3. However, there are four errors on four different lines in that shell script. Please correct all the four errors by writing down the line number, the error and the correction as below: Line #: Error: Correction: Note: please use cat -n to check the line numbers. $#/bin/bash /* Check Error Script */ echo "Try to find out some errors!!!" # Seach for the words which can be matched by regex [^a] *ce # And save the output to file "Result" echo "The regex [^a]*ce can match the string(s):" > Result grep "^[^a] *ce$' END >> Result lance ace brace decide piece -ENDHERE # Check the existence of file "Result" # Send the content in "Result" to your emailbox # $1 is replaced by your campusID ls mail $1@student.gsu.edu Result grep "^[^a] *ce$' END >> Result lance ace brace decide piece -ENDHERE # Check the existence of file "Result" # Send the content in "Result" to your emailbox # $1 is replaced by your campusID ls mail $1@student.gsu.edu

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions

Question

=+How might these stem from country and regional cultures?

Answered: 1 week ago