A user can change the default log-in shell using
1.chmod
2.chsh
3.rmsh
4.tchsh
A user executes the following command successfully: $ chmod +x file1.txt Which of the following is true of the output of this command?
1.The command results in adding execute permission to the user who ran this command
2.The command results in adding execute permission for the owner of the file
3.The command results in an error since the file is not an executable file
4.The command results in adding execute permission for all users (i.e., user,group & others)
At the end of kernel bootstrap, which process is started?
1./etc/init
2./etc/sched
3./etc/swap
4. /etc/kernel
 Filesystem for CDROM is:
1.Ext2
2.Ext3
3.Isofs
4.Procfs
Bootstrapping is also known as
1.Quick boot
2.Cold boot
3.Hot boot
4.Fast boot
Filesystem for CDROM is:
1.Ext2
2.Ext3
3.Isofs
4.Procfs
Given the command chmod o-w datafile
1.sets write permission to everyone for datafile
2.sets write permission to others for datafile
3.clears write permission to everyone for datafile
4.clears write permission to others for datafile
How to run a process in the background?
1.&
2. *
3.?
4.|
If a program executing in background attempts to read from STDIN
1.It is terminated
2.Its execution is suspended
3.STDIN is made available to it
4.None of the mentioned
If you are a root user, how can you grand execute permission only for the owner of the file project1?
1.chmod +x project1
2.chmod u+x project1
3.chmod a+x project1
4.chmod U+X project1
nohup is used to
1.automatically hang up the process after logout
2.continue the process after logout
3.create backgroung process
4.manually hang up the process after logout
On Linux, initrd is a file
1.Containing root file-system required during bootup
2.Contains only scripts to be executed during bootup
3.Contains root-file system and drivers required to be preloaded during bootup
4.None of the mentioned
Process information in the current shell can be obtained by using
1.kill
2.bg
3.fg
4.ps
Single user mode shell runs as
1.Admin user
2.Root user
3.Normal user
4.Log user
The command chmod 4777 a.out
1.will set the suid bit of a.out
2.will set the suid bit of a.out only if the command is issued by root
3. is not a valid command
4.will set the sticky bit of a.out
The encrypted password of a user is stored in
1. /etc/shadow
2./etc/enpasswwd
3./etc/.passwd
4./etc/passwd
The process id of init process is:
1.-1
2.0
3.1
4.2
The process of starting up a computer is known as
1.Boot Loading
2.Boot Record
3.Boot Strapping
4.Booting
The shell used for Single user mode shell is:
1.bash
2.Csh
3.ksh
4.sh
The signal sent to a process when the Ctrl-C key is pressed is
1.KILL
2.TSTP
3.TERM
4.INT
Users Primary Group id is listed in which file, at the time of creation of the user (On a standard Unix system)
1./etc/passwd
2./etc/groups
3./etc/login
4./etc/profile
we can change the priority of a running process using
1.nice
2.renice
3.priority cannot be changed for a running process
4.only superuser can change the priority
What does chmod +t do?
1.wrong syntax
2.set effective userid for filename
3.set effective groupid for filename
4.set the sticky bit
When a child process exits before the parent process exits, which of the following is true:
1.the child process becomes defunct
2.the parent process becomes defunct
3.if the parent process does not handle SIGCHLD, the child process becomes a zombie
4.none of the mentioned
Which among the following allows fast file system recovery?
1.Ext2
2.Journaling
3.Caching
4.Sysfs
Which command can be executed by a user who is already logged into the system, in order to change to the root user? (type the command without any parameters)
1.su
2.root
3.chroot
4.user
Which command is used to assign read-write permission to the owner?
1.chmod a+r file
2.chmod o+r file
3.chmod u=rw file
4.chmod og-r file
Which command is used to bring the background process to forground?
1.bg
2.fg
3.background
4.forground
Which command is used to check filesystem usage in a system?
1.mount
2.df
3.du
4.dd
Which command is used to check filesystem usage in a system?
1.mount
2. df
3.du
4.dd
Which command is used to mount file system read only.
1.mount –a
2.mount –v
3.mount –f
4.mount –r
Which daemon manages the physical memory by moving process from physical memory to swap space when more physical memory is needed.
1.Sched daemon
2.Swap daemon
3.Init daemon
4.Process daemon
Which file contains the filesystems to be automatically mounted during boot?
1./etc/mount
2./etc/fstab
3./etc/inittab
4./etc/boot
Which file is read by init to get the default runlevel
1./etc/profile
2./etc/init
3./etc/boot
4./etc/inittab
Which file system has journaling capability?
1.Ext2
2.Ext4
3.Isofs
4.Procfs
Which filesystem can be used to change certain kernel parameters at runtime using sysctl command?
1.Ext3
2.Sysfs
3.Ext4
4.Procfs
Which is loaded into memory when system is booted?
1.Kernel
2.Shell
3.Commands
4.Script
Which is the only partition mounted in Single user mode
1.boot
2.usr
3.root
4.tmp
Which of the following is not a valid run-level
1.s
2.0
3.8
4.1
Which of the following umask settings allow execute permission to be set by default on regular files
1.222
2.111
3.0
4.None of the mentioned
Which of the following umask settings doesn’t allow execute permission to be set by default on directory files
1.222
2.111
3.0
4.444
Which of the following values for STAT column of ps command is not true:
1.status R means running
2.Status S means sleeping
3.Status E means exited
4.Status Z means zombie
Which of these commands will set the permissions on file textfile to read and write for the owner, read for the group, and nothing for everyone else?
1.chmod 046 textfile
2.chmod 640 textfile
3.chmod 310 textfile
4.chmod rw r nil textfile
Which signal is sent by the command kill -9Â ?
1.INT
2.TERM
3.KILL
4.STOP
With a umask value of 112, what is the default permission assigned to newly created regular file?
1.—x–x-wx
2.-rw-rw-r–
3.-r-xr-x-r–
4.-rw-rw-r–
__ is a directory (which should exist), on which to mount the file system?
1.Root
2.Boot
3.Mount-point
4.Partition
___ is a directory (which should exist), on which to mount the file system?
1.Root
2.Boot
3.Mount-point
4.Partition