Login
Sign up
Categories
IT & Programming
Design & Multimedia
Writing & Translation
Sales & Marketing
Admin Support
Engineering & Manufacturing
Finance & Management
Website Designing & Development
Database Management
Networking & Troubleshooting
Aviation & Aerospace
Softwares & Applications
Stocks & Investments
Electronics & Appliances
Online Tools
General Knowledge & Aptitude
Mathematics
Educational Subjects & Courses
Business & Organization
Health & Wellbeing
Culture & Ethics
IT Field Knowledge & Experience
Languages & Communication
Entrepreneurship & Leadership
Economics & Development
Mass Communication & Media
Research Methods & Evaluation
Public Relations & Dealings
Educational Methods and Research
Educational Subjects & Techniques
Crime & Justice
Governments & Policies
Cyber Security & Ethical Hacking
Hospitality & Tourism
Soft Skills & Personal Management
Transportation & Driving Rules
Forest and Nature
Religion
Skill Assessment
MCQs
Login
Sign up
Categories
IT & Programming
Design & Multimedia
Writing & Translation
Sales & Marketing
Admin Support
Engineering & Manufacturing
Finance & Management
Website Designing & Development
Database Management
Networking & Troubleshooting
Aviation & Aerospace
Softwares & Applications
Stocks & Investments
Electronics & Appliances
Online Tools
General Knowledge & Aptitude
Mathematics
Educational Subjects & Courses
Business & Organization
Health & Wellbeing
Culture & Ethics
IT Field Knowledge & Experience
Languages & Communication
Entrepreneurship & Leadership
Economics & Development
Mass Communication & Media
Research Methods & Evaluation
Public Relations & Dealings
Educational Methods and Research
Educational Subjects & Techniques
Crime & Justice
Governments & Policies
Cyber Security & Ethical Hacking
Hospitality & Tourism
Soft Skills & Personal Management
Transportation & Driving Rules
Forest and Nature
Religion
Skill Assessment
MCQs
Login
Sign up
Skill Assessments
>
IT & Programming
>
Unix Skill Assessment
>
Quiz # 8
Unix Quiz # 8
Instructions
Quiz:
Unix Quiz # 8
Subject:
Basic Unix
Total Questions:
30 MCQs
Time:
30 Minutes
Note
Do not refresh the page while taking the test.
Results along with correct answers will be shown at the end of the test.
Start Quiz
Unix Quiz # 8
End Quiz
Question
1
of 30
00:00
Which of the following statements is incorrect regarding positional parameters ?
They are used to create generalised scripts.
There can be a maximum number of 9 variables.
The shift command is used when the number of parameters exceeds 9 to shift the values of variables.
Depending upon the number of arguments specified in the command line, the shell will assign values to some or all of the positional parameters.
The command name is put into the variable $1.
How can a root user find the password of a user who has forgotten his password?
By looking in the etc/passwd
By using passwd command
It is not possible
None of the above
Which of the following statements is incorrect regarding the UNIX environment?
It has the provision of security through the login and passwd programs.
In it the file names are not case insensitive.
It has the provision of various commands and utilities for file and directory manipulation.
It does not allow relative path names.
It allows the use of wild-card characters for file-name expansion.
Which command is used for splitting a file horizontally?
cut
head
tail
b and c
Which of the following is a responsibility of the system administrator?
Setting permissions for files and directories
Creation of users and group-ids
Providing security through the use of passwords
a and c
a,b and c
What is the number of fields in each line in /etc/passwd file?
3
4
5
6
7
Which command enables you to concatenate files ?
cp
mv
concat
ls
cat
What option of the sort filter would you use if you want to save the output on a disk file ?
-r
-f
-n
-t
-o
The file descriptor of stdin is
.0
2
3
10
20
The PID of a process is displayed by the command
ps
p
pid
pd
pc
Which error will you see when an NFS client can no longer access mounted file system?
File Not Found
Stale File Handle
Invalid Command
File Inaccessible
Which of the following statements is not true regarding UNIX ?
The kernel does not incorporate a command interpreter.
There can only be one command interpreter.
UNIX uses a utility program called the shell to provide the user interface.
The shell includes features such as interactive processing and background processing.
There are various kinds of shells.
What control character signals the end of the file ?
Ctrl+a
Ctrl+b
Ctrl+c
Ctrl+d
Ctrl+e
Which of the following commands will you use to send the contents of a file named abc to a user named Raven by mail?
mail raven>abc
mail raven
mail raven<
mail raven abc
The shell variable that defines internal field separator is.
PS1
PATH
HOME
LOGNAME
IFS
What communication command provides communication to another user logged on by writing to the bottom of their terminal ?
talk
write
write
talkto
transmit
Which of the following commands can be used to see the detailed information on how to use a particular command?
$ man
$ show
$ details
$ help
Which command will you use to see the available routes and their status?
show route
route status
netstat -rn
None of the above
The command to restore files and directories from magnetic tape is :
ar -xv
tar -tv
tar -cv
tar -td
tar -uv
Which of the following statements is not true regarding the grep filter?
It is used to seach a file for a particular pattern of characters and displays all lines that contain that pattern.
The pattern that is searched for in the file is referred to as the regular expression.
grep can be used without specifying a regular expression.
The filenames are optional.In this case grep expects standard input.
The -c option prints only a count of the lines that match the pattern.
Which of the following statements is incorrect regarding processes ?
.More than one process can be active even if there is only one processor.
A background process runs as a child process of the shell.
If the parent process is killed,then always, the child process is also terminated.
A process can be killed by pressing the ctrl+c keys.
A process can be killed by the kill command.
The command to take a backup of files and directories on magnetic tape is:
tar -xv
tar -tv
tar -cv
tar -td
tar -uv
The UNIX command
With highest priority
With highest speed
Only when no other process is running on the system
In the background
Is invalid
Which key combination instructs the shell to terminate the session ?
ctrl + q
ctrl + d
ctrl + s
ctrl + r
ctrl + z
Which command prints the current working directory ?
Pwd
cd
Is
mv
cp
Which command is used for changing the ownership of a file or directory?
chmod
chown
owner
All of the above
What is the user id of a root user?
.0
1
2
3
____ is not a selection command.
Uniq
%d
Sed
Awk
In unix/linux, text files and binary files are considered to be ____ files.
Executable
Document
Regular
Dynamic
Regular
Unix and linux are operating systems designed to run on ________.
Server farm
Server
Hardware
Volatile
Submit Test
Prev Question
ABCd
Next Question
Liked this quiz? Share it with friends:
Share Quiz
Share
WhatsApp
Facebook
Twitter
LinkedIn
Or copy link:
Copy
Link copied to clipboard!
Copy
Unix Skill Assessment
Login to see Skill Score (It's Free)
Your Skill Level:
Poor
Retake Quizzes to improve it
Start Assessment