Create a File with Pico Editor

University of Phoenix Material Linux® Script Worksheet –Marks 10 To: Facilitator’s name From: Your name Date: mm/dd/yyyy Linux® Script 1 (2 Marks) Requirements Create a new file called week5prog1.sh with vi or pico editor. Edit your new file using VI and change it so it performs the following actions: Display the date Display your system information using “uname –a “ command Display your username and id using “id” command Display your current directory Save the file and type your file name to execute. Source Programs: Insert your source code here. $ cat week5prog1.sh Output Results: Insert the output here. Use a screen shot of the output with input requirements specified in the assignment. Give execute permission to the user, group only Run the script and show the output here Linux® Script 2 (2 Marks) Requirements Create a new file called week5prog2.sh with vi or pico editor. Edit your new file using VI and change it so it performs the following actions: Display the date Display your system information using “uname –a “ command Display your username and id using “id” command Change your directory /tmp Display your current directory Search Mary in the passwd file in /etc directory If the search is success, display that Mary is an user in this system Otherwise display that Mary is not in the system You need to use “grep”, “if” , “else” “$?” Source Programs: Insert your source code here. $ cat week5prog2.sh Output Results: Insert the output here. Use a screen shot of the output with input requirements specified in the assignment. Give execute permission to the user, group only Run the script and show the output here Linux® Script 3 (3 Marks) Requirements Here is the question: Some commands like cp, mv, mkdir need arguments. Similarly this script needs only two arguments. If user enters no arguments or one argument or three or more than 3 arguments, it displays error message like “You…

Do you need help with this assignment? Or a different one? We got you covered.

Quality Guaranteed

Any Deadline

No Plagiarism