2023 University of Phoenix Material Linux Script Worksheet Marks 10 To Facilitator s name From Your name Date mm dd yyyy Linux Script 1 | Assignment Collections
Computer Science 2023 Create A New File Called Week5prog1.sh With Vi Or Pico Editor
2023 University of Phoenix Material Linux Script Worksheet Marks 10 To Facilitator s name From Your name Date mm dd yyyy Linux Script 1 | Assignment Collections
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…
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.