Chmod 755 file
a) Everyone can read and write. Only owner can execute.
b) Nobody can read and execute. Only owner can write.
c) Everyone can read and execute. Only owner can write.
Everyone can read and execute.
The Linux kernel is mostly written in...
a. Basic
b. C
c. Fortran
d. C++
The sticky bit is set for a directory...
a. so files in that directory may only be unlinked or renamed by root
b. so files in that directory may only be unlinked or renamed by their owner...
Which command is used for activate a LVM?
a) lvchange –ay logical volume name
b) lvchange –an logical volume name
c) lvchange –a logical volume name
d) lvchange –av logical volume name
The sticky bit is set for a directory...
a) so files in that directory may only be unlinked or renamed by root
b) so files in that directory may only be unlinked or renamed by their owner
c) so files in that directory may only be unlinked or renamed by root or their owner
d) so files in that directory are safe
What is the ssh port no?
a) 20
b) 21....
Which of the following services works to connect Linux to a Microsoft Windows–based
network?
A. NFS
B. SMB
C. DNS
D. Windows for Workgroups..... Which of the following commands are associated with a Red Hat Linux firewall
configuration utility?
A. lokwall
B. lokkit
C. firewall-config
D. firewall-lokkit.... Which command will show the process CPU and Memory Utilization?
a) ps –mc
b) ps –auxw
c) ps -ef
d) ps – fd....
Which of the following commands returns the actual number of times user mj is logged
into your Linux computer?
A. wc -l
B. who | grep mj
C. who | wc -l
D. who | grep mj | wc -l..... Youre maintaining a large queue of print jobs on your network, and you need some job
numbers to make sure the engineers get highest priority on the printer.Which of the following
commands lists print job numbers?
A. lpr -l
B. lpq -l
C. lprm -l
D. lpd.... Which of the following commands would you use to add the /usr/sbin directory to your
PATH?
A. $PATH=$PATH:/usr/sbin
B. $PATH=PATH:/usr/sbin
C. PATH=$PATH:/sbin
D. PATH=$PATH:/usr/s....
Which file defines all users on your system?
a./etc/passwd
b./etc/users
c./etc/shadow
Which is the command to ON the service on run level 2 &4
A. chkconfig --list 24 on
B. chdconf -level 24 ON
C. chkconfig *level 24 on
D. chkconfig --level 24 on
1. D. chkconfig --level 24 on..... One of the administrators has accidentally deleted the /etc/passwd file......
Network tool used to check the cable connectivity to N/W card?
a. ping
b. Netstat
c. mii-tool
How to see the installed packages in the system?
a.rpm –qa|more
b.rpm –ivh
c. rpm –e
Utility used to show the disk spaced used in the current working directory?
a.df –h
b.diskfree
c.du....
Configuration file for auto mounting file systems?
a./etc/inittab
b./etc/fstab
c./etc/vtab....
Which is the default boot loader of Linuz ?
Lilo
Vmlinuz
Grub
None of the above...
In Linux secondary slave hard drive is identified by
had
hdc
hdb
hdd....
SCSI device is identified by
sad
dad
sda
sc...
Linux support max ______ primary partition
1
4.... Durind installation you may use bash shell (command
prompt) which key you press?
Alt+F1
Alt+F2
Alt+F3
Alt+F4...
Which file is used for setting login message ?
/etc/login
/etc/startup
/etc/motd
None
To see how many partition or dir is exported by NFS server
which command is used ?
show -e remote server
fdisk -l remote server
showmount -e
None...
Which command is used to see datalink layer address ?
ifconfig
ipconfig
config.....
Which command is used to conftoll tape drive ?
sd
mt
tp
tap....
Which command is used to creat ext2| ext3 file system on
tap ?
cpio
tar
dump
dumpfs...
Which command is used to start graphics in runlevel3 ?
kdmconfig
system_config_display
startx
cmdconfig....
You issue the command jobs and receive the following output:
[1]- Stopped (tty output) pine
[2]+ Stopped (tty output) MyScript
How would you bring the MyScript process to the foreground?
A. fg %2 B. ctrl-c C. fg MyScript D. ctrl-z
On a system with separate partitions for /, /usr, /var, /tmp which filesystem[s] can safely be mounted read-only? A. /var, /usr B. /var C. /usr, /, /tmp D. /usr E. /tmp
What file will show you the IRQs being used by different hardware devices?....