Question 1 :
Which of the following is not a communication command?
- Write
- Mesg
- Gr=
Question 2 :
The file that stores an integer as a sequence of characters is a
- Text file
- Data file
- Binary file
- Core
Question 3 :
To allow only one user to work with a particular file at a particular time ,one has to
- Semaphore
- Critical region
- Locking
- Dedicated mode
Question 4 :
Shell functions
- Are another name for shell procedures
- Execute faster than shell procedures
- Are executed by a new shell
- Are not executed by new shell
Question 5 :
Command_________compares two files byte by byte and displays the first mismatch.
- cmp
- comp
- cmap
- None of these
Question 6 :
Environment variables can be accessed by
- System programs
- C programs
- Shell scripts
- None of the above
Question 7 :
Which of the following commands is used to count the total number of lines,words and characters contained in a file?
- count p
- wcount
- wc
- count w
Question 8 :
An attempt to read from locked file,results in
- Prematured termination
- A deadlock
- An indefinite wait
- None of the above
Question 9 :
UNIX was developed by
- Bell labs
- Berkley software
- California university
- American defence academy
Question 10 :
The Unix command used to find out the number of characters in a file is
- nc
- wc
- chcnt
- c
Question 11 :
Which of the following statement best explains a process?
- It is a program.
- It is a program in execution.
- It is an instance of a program in execution.
- It is a program that uses system calls.
Question 12 :
Which of the following is not a filter?
- cat
- wc
- gr=
- sort
Question 13 :
The tail command in UNIX
- Can be used to look at the tail or bottom of the file
- Can be used to display the list of last 10 files in the current directory
- Can be used to display the list of last 15 in the current directory
- None of the above
Question 14 :
The advantage of binary files over text files is that
- It is compact
- It can be accessed faster
- Many commands assume the named file to be a binary file
- They are more reliable
Question 15 :
Which of the following files contains information related to password aging?
- Shadow
- Profile
- Password
- All of these
Question 16 :
If cat x ,prints garbage ,then x is probably a
- Data file
- Binary file
- Text file
- Source file
Question 17 :
Which of the following sections of an executable binary file has all uninitialized data items?
- BSS
- Data
- Header
- Symbol
Question 18 :
The tar command in UNIX
- Used to create compressed archives of directories and files
- Used to extract directories and files from an archives
- Both A and B
- None of the above
Question 19 :
Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3?
- chmod 777 emp*
- chmod u x emp[l-3]
- chmod u r ??? emp
- chmod 222 emp?
Question 20 :
Which of the following keys is used to r=lace a single character with new text?
- S
- s
- r
- C
Question 21 :
Which of the following system calls transforms an executable binary file into a process?
- Fork
- Exec
- Ioct1
- Longjmp
Question 22 :
The cat command is used to
- Print a file
- Display a file
- Capture a file
- Copy a file
Question 23 :
Which of the following changes permission to deny write permission to group and others?
- Chmod go-w filex
- Chmod go w filex
- Chmod go=w file
- None of the above
Question 24 :
Kernel is not involved
- When a read operation is done
- When a pressed key is echoed on to the screen
- In resource allocation
- None of the above
Question 25 :
Which command is used to extract specific columns from the file?
- cut
- gr=
- Past
- cat
Question 26 :
Which command is used to display the device name of the terminal you are using?
- who
- ls
- tty
- stty
Question 27 :
In which section of a process,the information about the arguments to the program are available?
- Data
- Text
- Stack
- User block
Question 28 :
Which of the following calls never returns an error?
- Getpid
- Fork
- Ioct1
- Open
Question 29 :
Which command is used to display a file contents in octal form?
- cd
- of
- od
- oct
Question 30 :
Which command allows you to view your file 24 lines at a time ?
- More
- Cat
- Pg
- None of the above