POS/420 version 11

Linux® Script 1Requirements In the same folder as last week, create a new file titled week3prog1[name].scr.Change the permissions on this new file to add the execute bit for user, group, and owner.Edit your new file using Gedit or VI and change it so it performs the following actions:• Display the date.• Display the words Hello World.• Display information about users that are currently logged in.Note. Remember to include #!/bin/bash as the first line of your script.Save the file and type your file name to execute.Source ProgramsOutput ResultsLinux® Script 2Requirements In the same folder as last week, create a new file called week3prog2[name].scr.Change the permissions on this new file to add the execute bit for user, group, and owner.Edit your new file using Gedit or VI and change it so it performs the following actions:• Using a line after #!/bin/bash, take the output of the ps –e command and pipe it to the sort command.• After it has been piped to the sort command, redirect that output to a file called psfile.Note. Remember to include #!/bin/bash as the first line of your script.Source ProgramsOutput ResultsLinux® Script 3Requirements In the same folder as last week, create a new file called week3prog3[name].scr.Change the permissions on this new file to add the execute bit for user, group, and owner.Create two files.• File1 has one line with the value of 5.• File2 has one line with the value of 100.Edit your new file using Gedit or VI and change it so it performs the following actions:• Read the values from the two files above (file1 and file2). • Divide the value from file2 by the value in file1.• Output the result of this calculation to a new file called file3. Note. Remember to include #!/bin/bash as the first line of your script.Source ProgramsOutput Results

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed with your coursework?
Get quality coursework help from an expert!