POS/433 Version 1 Linux Script Worksheet - University of Phoenix Material
This assignment includes completed exercises for a Linux script worksheet.
Caleb Patterson
Contributor
4.4
36
5 months ago
Preview (2 of 3 Pages)
100%
Purchase to unlock
Page 1
Loading page image...
Linux Script WorksheetPOS/433Version11University of Phoenix MaterialPOS/433 Version 1Linux Script WorksheetLinux®Script WorksheetTo:<Insert your facilitator's name>From:<Insert your name>Date:<Insert the date (XX/XX/XXXX)>Beforebeginning the Linux®Script Worksheet, update the PATH variable to add your folder fromlast week.You will find how to do this on p.134 ofLinux®Command LineandShell ScriptingBible.Linux®Script 1RequirementsIn the same folder as last week,create a new filetitledweek3prog1[name].scr.Change the permissions on this new file to add the execute bit for user, group, and owner.Edit your new file usingGedit or VIand change it so it performs the following actions:Display the date.Display the wordsHello World.Display information about users that are currently logged in.Note.Remember to include#!/bin/bashas the first line of your script.Save the file and type your file name to execute.Source Programs#!/bin/bashecho "check out date is: "dateecho "Hello World "echo "Information about users that are currently logged in "whoOutput Results
Page 2
Loading page image...
Preview Mode
This document has 3 pages. Sign in to access the full document!