Write script/command to:- a. Print the all the elements of an array without using loops. b. Print
Question:
Write script/command to:-
a. Print the all the elements of an array without using loops.
b. Print the last argument of the last command
c. Print the number of arguments passed to the script. The ID of the current script.
d. Print “ERROR ERROR ERROR” if VAR is null.
e. List all the files in a directory including hidden files.
f. Make a Directory Named “myNewDirectory”.
g. Make a text file named “myNewFile1” with “HELLO” written in it.
h. Open manual page for `pwd` command
i. Remove “myNewFile1”.
j. Remove “myNewDirectory”.
k. Create infinite until loop
l. Divides left hand operand (a) by right hand operand (b) and returns remainder
Mathematical Applications for the Management Life and Social Sciences
ISBN: 978-1305108042
11th edition
Authors: Ronald J. Harshbarger, James J. Reynolds