Tech172_Wk8_Lab7_JasmaandipSinghGill_N01461801

doc

School

Humber College *

*We aren’t endorsed by this school

Course

PYTH101

Subject

Information Systems

Date

Dec 6, 2023

Type

doc

Pages

3

Uploaded by CaptainRam3552

Report
UNIX System Administration 1 Tech172 Lab 7 Marks = 10 Marks Student: Jasmaandip Singh Gill __ Due Date: Week 8 References: Textbook, Lecture notes. Special Instructions: 1. This assignment should be completed individually by all the students. 2. Take screen capture of the script & output and past it in this document. Exercise #1. [8 Marks] Create a script that does the following: a. Takes 4 input parameters b. Using the shell special variables print the following: i. The command you executed ii. First input iii. Second input iv. Third input v. Fourth Input vi. Process Id vii. Total number of input parameters [ by querying the system for it ] Lab #5. Page 1 of 3
UNIX System Administration 1 Tech172 Exercise #2 . [2 Marks] Creates a script that does the following: a. Takes two input parameters b. Using the numeric comparison syntax, it tests and prints whether the first input in relation to the second input is: i. Greater than ---Set exit status = 1 ii. Less than ---Set exit status = 2 iii. Equal ---Set exit status = 3 iv. Not equal ---Set exit status = 4 Lab #5. Page 2 of 3
UNIX System Administration 1 Tech172 Lab #5. Page 3 of 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help