Get your original paper written from scratch starting at just $10 per page with a plagiarism report and free revisions included!
QUESTION 1 From my home directory, copy the file called cards to your home directory. Copy the following script to a file in your home directory. This will be your first shell script. You can name the file any name that you would like. Once the file exists, execute the script. #!/usr/bin/ksh grep -i ‘Mantle’ cards if [ $? ] then echo “The name Mantle was found” fi The above script will locate the string “Mantle” within the file called cards and output the lines and a success statement. True False 10 points
QUESTION 2 Copy the following script to a file in your home directory. You can name the file any name that you would like. #!/usr/bin/ksh if [ -f /etc/passwd ] then echo “The file exists” else echo “The file does not exist” fi Execute the file (script) The script will locate the /etc/passwd file and tell you that it exists True False 10 points
QUESTION 3 Copy the file called list from my home directory. Copy the following script to a file in your home directory. You can name the file any name you would like. #!/usr/bin/ksh for index in `cat list` do echo $index done Execute the file (script). The script will output each line contained in the file called list. True False 10 points Click Save and Submit to save and submit. Click Save All Answers to save all answers.
The aim of our service is to provide you with top-class essay help when you ask us to write my paper; we do not collect or share any of your personal data. We use the email you provide us to send you drafts, final papers, and the occasional promotion and discount code, but that’s it!Order Now