NEW
Font size
WorksheetsUNIX Commands2
Total questions: 10
Worksheet time: 19mins
To Display line of text/string that are passed as an argument with a command
cat
echo
ls
none of the above
Which option is used to removes all the spaces in between the text in echo command
\d
\c
\b
\a
To display the given string, number or any other format specifier on the terminal window
echo
printf
sort
cat
which format specifier is a output of lowercase hexadecimal values for integers and for padding the output.
%s
%b
%f
%x
Unix shell command that lists directory contents of files and directories with hidden files.
ls -d
ls -F
ls -a
ls -l
Which command is used to get information about currently logged in user on to system
who am i
who
who i am
None of the above
Date command is used to support format specifier
True
False
Which command in UNIX is used to change the user account passwords.
pwd
password
passwd
none of the above
In Unix, Combining commands are
& %
&& %
; &&
; &
which command is used to see the calendar of any specific month or a complete year
calendar
cal
none of the above
