Question: 1) execute the script. #!/usr/bin/ksh grep -i 'Mantle' cards if [ $? ] then echo The name Mantle was found fi (TRUE OR FALSE) The

1) execute the script.

#!/usr/bin/ksh grep -i 'Mantle' cards

if [ $? ] then echo "The name Mantle was found" fi

(TRUE OR FALSE) The above script will locate the string "Mantle" within the file called cards and output the lines and a success statement.

2) execute the script.

#!/usr/bin/ksh if [ -f /etc/passwd ] then echo "The file exists" else echo "The file does not exist" fi

(TRUE OR FALSE) The script will locate the /etc/passwd file and tell you that it exists

3) execute the script.

#!/usr/bin/ksh for index in `cat list` do echo $index done

(TRUE OR FALSE) The script will output each line contained in the file called list.

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!