You work as a System Administrator for McNeil Inc. The company has a Linux based network. You are a root user on Red Hat operating system. You have upgraded the amount of RAM in your system from 256 MB to 512 MB, but there is only 512 MB of swap space. Therefore, you want to add more swap space to / dev/hdb2 hard drive to run the applications that require a large amount of memory. Which of the following commands should you run to accomplish this task? Each correct answer represents a complete solution. Choose all that apply.
A. mkswap /dev/hdb2
B. swapon /dev/hdb2
C. mount
D. parted
You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. You are a root user on the Linux system. You have to create a user named Trinity and deny interactive login. Which of the following should you use to accomplish the task?Each correct answer represents a part of the solution. Choose all that apply.
A. vi /etc/passwd
B. vi /etc/shadow
C. useradd Trinity
D. passwd Trinity
E. Trinity:x:505:505::/home/Trinity:/sbin/nonlogin
By default, which of the following commands configures the current run level?
A. service
B. chkconfig
C. ntsysv
D. pstree
Which of the following command is used to list the current routing table in Linux?
A. ifconfig
B. traceroute
C. dig
D. /sbin/ip route
Which of the following commands is used to specify that the gpm service should be executed at run level 3?
A. chkconfig -- level 3 gpm on
B. chkconfig --level 3 gpm
C. chkconfig level 3 gpm
D. chkconfig
To see the run levels associated with the service grub, which of the following commands must be issued?
A. chkconfig
B. service
C. xinetd
D. chkconfig --list
In, which of the following directories all configuration files are usually stored?
A. /boot
B. /var
C. /etc
D. /bin
You work as a Network Administrator for Tech World Inc. The company has a Linux-based network. You have installed a video card in your Linux workstation. Which of the following will you require in order to configure X?
A. root/videoconf
B. root/x11/xf86config
C. etc/x11/xf86config
D. etc/videoconf
Which of the following commands is used to enforce checking of a file system even if the file system seems to be clean?
A. e2fsck -f
B. e2fsck -p
C. e2fsck -c
D. e2fsck -b
Which of the following files is the Linux Loader (LILO) configuration file?
A. /etc/liloconf
B. /etc/lilo.con
C. /etc/lilocon
D. /etc/lilo.conf