Why is the mailx command is superior to a GUI program like Netscape or Mozilla -
✔️✔️-non-interactive scripts can be used with the shell to interact with mailx
-mailx can pipe the contents of a file into a command to send mail
Echo will be treated as a built in command even if it is found in /bin . - ✔️✔️True
The cd command can be found in /usr/sbin . - ✔️✔️False
script command in UNIX is used to record your session - ✔️✔️True
Select all options that apply. What is true for using a "#" before a command ? - ✔️✔️-
The shell will not interpret the words as commands
-# can be used to record comment for documentation
When a program needs to read a file on a disk, it makes a system call to the operating
system. The OS then directs the disk controller to open the file and enables the program
to read data from the file. - ✔️✔️True
The output in the who command cannot have same user-id more than once. -
✔️✔️False
Directories, devices, terminals, and printers are not treated as files in UNIX. -
✔️✔️False
Interaction with a UNIX system is achieved through the shell. The shell acts as a
command interpreter by interpreting the keyed in word as a command to be executed. -
✔️✔️True
If the system does not have the apropos command man -k can be used instead. -
✔️✔️True
The below commands will create the same files
echo > README
echo > readme - ✔️✔️False
Out of the below options, select all that apply. Your system user-id is used for which of
the below purposes:
-Logging into the system
-Output of who command
, -Communication with other users - ✔️✔️-Logging into the system
-Output of who command
-Communication with other users
What do the | and the three dots in the SYNOPSIS section of man pages indicate as
shown below?
/usr/xpg4/bin/tail [ -f | -r ]
/usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [ file ... ] - ✔️✔️The three dots signify that
there can be more than one instance of the argument passed for that command.
The | also known as "pipe" signifies that only one option on either side of the pipe can
be used.
A nonprivileged user cannot change the system date. Only users with root access can. -
✔️✔️True
Select any four shell programs:
-Bourne shell
-Bourne again shell
-C shell
-Korn Shell
-Y shell - ✔️✔️-Bourne shell
-Bourne again shell
-C shell
-Korn Shell
Shell starts executing upon successful login to your terminal - ✔️✔️True
The below two commands are not interchangeable :
tar -tvf /dev/fd0
tar -t -v -f /dev/fd0 - ✔️✔️False
The commands used by the System Administrator are in /sbin and /usr/sbin. -
✔️✔️True
Select the command that can be used to print the month name of current date .
-date +%h
-date +%m
-date %m - ✔️✔️date +%h