Find the odd man out:
sed
wart
tail
cut
Browse topic-based Unix System practice sets.
73 practice sets · Page 3 of 4
Find the odd man out:
sed
wart
tail
cut
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 filex
None of the above
Which of the following OS treats hardware as a file system?
UNIX
DOS
Windows NT
None of the above
An example of a memory management system call in UNIX is:
execve
sigaction
mmap
fork
An example of a directory found in most UNIX system is:
brk
waitpid
usr
unmap
The "nice" command is used in Unix:
to increase the priority of a process
to decrease the priority of a process
to get the highest priority
Both of the above
Which of the following is not an Unix Command?
wc
put
whoami
ls
A system call in Linux operating system to create a new child process, which is a copy of the parent process:
exec
access
fork
flock
The environment variable in Linux, that contain a list of directories the shell automatically recognizes.
$PATH
$GREP
$USER
$ENV
In Linux, the subdirectory that contains system configuration files including user passwords:
/usr
/boot
/etc
/proc
Linux partitions are created using the file system:
EXT3
FAT
NTFS
FAT32
Which UNIX/Linux command is used to make all files and sub-directories in the directory "progs" executable by all users?
chmod -R a+x progs
chmod -R 222 progs
chmod ugo+x progs
chmod a+x progs
Consider the following statements:
Statement I: UNIX provides three types of permissions: Read, Write, and Execute.
Statement II: The command chmod is used to change these permissions.
Which of the statements given above is/are correct?
Only Statement I
Only Statement II
Both Statement I and Statement II
Neither Statement I nor Statement II
Match the following WINDOWS system calls and UNIX system calls with reference to process control and file manipulation:
| Windows | UNIX |
|---|---|
| (a) CreateProcess() | (i) read() |
| (b) WaitForSingleObject() | (ii) close() |
| (c) ReadFile() | (iii) fork() |
| (d) CloseHandle() | (iv) wait() |
(a)-(iv), (b)-(iii), (c)-(i), (d)-(ii)
(a)-(iii), (b)-(iv), (c)-(i), (d)-(ii)
(a)-(iii), (b)-(iv), (c)-(ii), (d)-(i)
(a)-(iv), (b)-(iii), (c)-(ii), (d)-(i)
In UNIX, which of the following command is used to set the task priority?
nice
ps
kill
init
Which of the following flags are set when ‘JMP’ instruction is executed?
SF and CF
No flag is set
All flags
AF and CF
Everything below the system call interface and above the physical hardware is known as ______.
Stub
Shell
Bus
Kernel
Linux operating system uses
Hand Shaking
Fair Preemptive Scheduling
Affinity Scheduling
Highest Penalty Ratio Next
In Unix, how do you check that two given strings a and b are equal?
test b
test b
test b
Both A and B
The directory structure used in Unix file system is called
Graph structured directory
Hierarchical directory
Tree structured directory
Directed acyclic graph