Question: UNIX ADMINISTRATION REVIEW! (NEEDS TO COMPILE AND WORK! NO ERRORS WHEN TESTED) Unix System Administration Shell Scripts 1. Write a Bourne Shell script named Script_1.1.sh
UNIX ADMINISTRATION REVIEW!
(NEEDS TO COMPILE AND WORK! NO ERRORS WHEN TESTED)
Unix System Administration Shell Scripts 1. Write a Bourne Shell script named Script_1.1.sh to rename all files in a subdirectory called Script_1 to prepend and append the letter X to the file name. For example, testfile would become XtestfileX and then write a second script Script_1.2.sh that will reverse that change. 2. Write an interactive shell script that will prompt for a search string, and then identify any files in the subdirectory Script_2 that contains the specified string. 3. Write a script that will use a while loop to read the contents of a file active_cs.txt and process as follows: Note: Do not alter the logic I am intentionally requiring the nested if-else statement. If the username in first field of the input record does not exist in /home STUDENTS/majors if the username exists in /home/STUDENTS/nonmajors display message CS MAJOR fullname is in nonmajor otherwise display message NO ACCOUNT FOUND current record read Alias Commands 4. Write an alias that will cancel all print requests associated with your username by typing cancel_print 5. Write an alias that you believe would be useful and provide explanation of what its intended to do and why. You must come up with something unique so do not work together and dont use anything weve done in class. The two alias commands should be placed in a file named my_alias.txt and include the explanation for command in #5 below the command
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
