Question: PROBLEM 2: Commands 1. What are Commands? a) specific instructions for performing a particular task b) part of the operating system c) part of the
PROBLEM 2: Commands
1. What are Commands?
a) specific instructions for performing a particular task
b) part of the operating system
c) part of the shell
d) special instructions
Answer
2. In how many categories, commands of UNIX operating system classified?
a) 1
b) 2
c) Many
d) 0
Answer:
.
3. Which command is used for extracting the details of the operating system?
a) cd
b) echo
c) uname
d) wc
Answer:
4. The sequences of directories that a shell searches while looking for a command is specified in the PATH variable.
a) True
b) False
Answer:
5. Options are also arguments but begin with a -.
a) True
b) False
Answer:
6. Which of the following is not a valid option of uname?
a) -a
b) -s
c) -v
d) -z
Answer:
.
7. How can we specify more than one command in the command line at the same time?
a) using ;
b) using >
c) using ==
d) not possible
Answer:
8. Which command is used to display the documentation of commands in UNIX?
a) help
b) search
c) whatis
d) man
Answer:
9. Which command is used for displaying date and calendar in UNIX?
a) date and cal
b) DATE and CAL
c) date and calendar
d) dt and cl
Answer:
10. What is the output of who command?
a) display information about users who are currently logged in.
b) display file hierarchy
c) display administrator information
d) display processes
Answer:
11. What are meta-characters?
a) special characters having predefined meaning to the shell
b) special symbols
c) shell symbols
d) command symbols
Answer:
12. Which command is used for displaying date in the format dd/mm/yyyy ?
a) date +%m
b) date +%h
c) date +%d/%m/%Y
d) date +%h %m
Answer:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
