Sei sulla pagina 1di 9

-mtime n operator is used for search files which were modified 24 hours

ago.
Select an answer
A.
TRUE---B.
FALSE
Which command is used to remove a directory?
Select an answer
A.
Rd
B.
Rmdir---C.
Dldir
D.
Rdir
Simple form of synchronization between parent and child.int wait (int *
statloc );
Select an answer
A.
TRUE--B.
FALSE
We can redirect the error messages to alternate location using the error
redirection operator.
Select an answer
A.
TRUE--B.
FALSE
In UNIX, fork is a system call that creates a new pcb.
Select an answer
A.
TRUE
B.
FALSE---

creat() stands for:


Select an answer
A.
Open
B.
Input
C.
Output
D.
Create----

Which of the following options will be used to display number of blocks


used by a file?
Select an answer
A.
-c
B.
-i
C.
-d--D.
-s

Command for changing permissions is:


Select an answer
A.
Chmod--B.
Chgrp

C.
D.

Cat
Cd

Which of the following commands is used to obtain a list of all files by


modification time?
Select an answer
A.
ls -1
B.
ls-t---C.
ls-i
D.
ls-R

A link is a pointer reference to another file.


Select an answer
A.
TRUE--B.
FALSE
Which of the following command addresses all users who are currently
hooked on?
Select an answer
A.
Write
B.
Mail
C.
Wall----D.
Mesg
A "." matches multiple characters.
Select an answer
A.
TRUE
B.
FALSE----

Kernel is loaded into memory when the system boots.


Select an answer
A.
TRUE---B.
FALSE
ls and find are:
Select an answer
A.
Directories
B.
Commands---C.
Both Directories and Commands
D.
None of the options are correct

How many types of links are there?


Select an answer
A.
1
B.
2--C.
3
D.
4
ps command shows a combination of information from the process table and
the user area.

Select an answer
A.
TRUE
B.
FALSE---File name is case sensitive.
Select an answer
A.
TRUE---B.
FALSE
Which of the following is not the filter command?
(Please select ALL that apply)
Select an answer
A.
Head--B.
Grep
C.
:w--D.
Ex--E.
Uniq---

The role of assemblers is a basic machine that passes through a program.


Select an answer
A.
TRUE---B.
FALSE
The agency that sits between the user and the UNIX system is called the:
Select an answer
A.
Logic
B.
Profile
C.
Shell---D.
Erxc
Which of the following is used for matching patterns in regular
expression?
Select an answer
A.
^---B.
>
C.
<
D.
$
fork() does not creates a new copy of the signal table for the new
process.
Select an answer
A.
TRUE
B.
FALSE--The default integer value of standard error file is:
Select an answer
A.
1
B.
2---C.
4
D.
0
Which of the following is not involved with system programming?

Select an answer
A.
I/o Processors
B.
CPU
C.
Printer--D.
All the options are correct
Which command list hidden files?
Select an answer
A.
ls-l
B.
ls-a--C.
ls-h
D.
ls-If
Which symbol is used for output redirection operator?
Select an answer
A.
>----B.
<
C.
>>
D.
<<
The file limit for UNIX, LINUX is up to 255 characters.
Select an answer
A.
TRUE----B.
FALSE
The role of assemblers is a basic machine that passes through a program.
Select an answer
A.
TRUE----B.
FALSE
Which symbol is used to specify a group of character?
Select an answer
A.
()
B.
{}
C.
[]---------D.
<>
alphasort() and versionsort() functions are used as the comparison
function.
Select an answer
A.
TRUE---B.
FALSE
Which command is used to copy files from one location to another
location?
Select an answer
A.
Which
B.
Cd
C.
CP--D.
None of the options are correct
Read() is what kind of a class?

Select an answer
A.
Input / Output Class---B.
Random Access
C.
Channel Duplication
D.
File Status
Which option will be used with ps command to slow the entire command line
of the process being run?
Select an answer
A.
-4
B.
-f--C.
-1
D.
-4
UNIX maintains the information about a process in two areas, they are:
Select an answer
A.
Process Table and User Area---B.
State and Pid
C.
Signals Pending and Priority
D.
Size and Pointers
Which symbol is used for merging the standard error message to the same
output file?
Select an answer
A.
>
B.
&
C.
&&
D.
None of the options are correct-------Equivalent command for find . -name "*.dat" -ok rm {} \;
Select an answer
A.
find . -name "*.dat" -exec rm -i {} \;
B.
rm *.dat----------C.
erase *.dat all
D.
None
Signal for system calls is:
Select an answer
A.
Signal---B.
Kill
C.
Alarm
D.
All the options are correct
Which are types of storage for file format?
Select an answer
A.
Directories---B.
Data
C.
Program
D.
All the options are correct

Which command is used to set the positional parameters?


Select an answer

A.
B.
C.
D.

Set---Env
Is
Echo

How to remove blank lines from a file in an editor?


Select an answer
A.
Esc del
B.
Esc dd---C.
Esc :dd
D.
Esc d
Processor substitutes the definition for all occurrences of the
abbreviation in the program is called:
Select an answer
A.
Program Call
B.
Macro Call---C.
Substitutes
D.
None of the options are correct
Which of the following commands is used to display your working
directory?
Select an answer
A.
Dir
B.
prompt $p$g
C.
pwd----D.
path
Syslog priorities for warning is:
Select an answer
A.
Warning
B.
Error
C.
Notice---D.
Debug
Which command is used to view running processes?
Select an answer
A.
Ps----B.
Jobs
C.
Process
D.
None of the options are correct
Choose the valid command to a add user.
Select an answer
A.
adduser username---B.
add username
C.
user username
D.
None of the options are correct
The task of adjusting programs so they may be placed in arbitrary core
locations in called:
Select an answer
A.
Loader
B.
Allocation

C.
D.

Relocation---Macros

The output of the command "echo hello | wc -c" is:here


Select an answer
A.
bash: echo: command not found
B.
4
C.
5
D.
6---What does Directories contains?
Select an answer
A.
Collection of data
B.
Collections of Links
C.
Lists of Files and subdirectories---D.
None of the options are correct

Which command is used to remove the read permission of the file note from
both the group and others?
Select an answer
A.
chmodgo+r note
B.
chmodgo+rw note
C.
chmod go-x note
D.
chmod go-r, 4-x note------Choose a valid Logical Test expression to check a non-numeric value with
another value.
Select an answer
A.
if test $v1 eq $ v2---B.
if $v1 = $v2
C.
if test $v1 = $v2
D.
if test $v1 == $v2
The Octal number to be given along with chmod command to make a file
readable, writable, and executable to the owner, readable and executable
to group and others is:
Select an answer
A.
0
B.
755--C.
744
D.
555
Only a few system calls are needed to implement process control in UNIX.
They are:
Select an answer
A.
Ls
B.
intgetpid--C.
Ls only
D.
intgetpid only
E.
Both Ls and intgetpid
F.
None of options are correct
How do we display the last second line of a file?

Select an answer
A.
tail -2 filename | head 1
B.
cat filename | tail -3 | head -1
C.
tail +2 filename | head -1 | tail 1--D.
None of the options are correct
A file contains, employee information like code name, department, salary
in this format, with colon(:) as delimiter. How do we display the highest
salary drawing 2 people all the details?
Select an answer
A.
cat emp.dat | tr ":" " " |sort +2 | head -2----B.
sort emp.dat | head -2
C.
sort -t":" +2 emp.dat | tr ":" " " | cut -d":" -f1,3
D.
None of the options are correct
Which is the valid command to display all the files with size 100 to 399
bytes occupied?
Select an answer
A.
ls -l | tr -s " " | cut -d" " -f1-5,9 | grep -w "[0-3][0-9][09]"
B.
ls -ls | cut -d" " -f1-5,9 | grep -w "[0-3][0-9][0-9]"---------C.
ls |cut -d" " -f1-5,9 | grep -w "[0-3][0-9][0-9]"
D.
None of the options are correct

Virtual memory is best defined for:


Select an answer
A.
A Memory consisting of those addresses that may be generated
by a processor during execution of a computation
B.
The memory space consists of the set of addresses that
corresponded to physical location
C.
The technique of segmentation provides a large name space and
a good protection mechanism
D.
All the options are correct--------The features of UNIX are:
Select an answer
A.
Multitasking
B.
Interactive
C.
Portable
D.
All the options are correct------cat one.txt two.txt>>three.txt
what is the output of the command?

Select an answer
A.
Appends three.txt contents with one.txt and two.txt--------B.
Displays one.txt two.txt and three.txt
C.
Error in Redirection
D.
None of the options are correct
Default permissions for a directory before unmask is:

Select an answer
A.
666
B.
777--C.
664
D.
754
The process table is located in kernel memory and cannot be swapped out.
Each entry contains:
Select an answer
A.
PID---B.
User ID
C.
State
D.
All the options are correct

Potrebbero piacerti anche