Novell 050-720 - Tesp Preparation Flashcards
(100 cards)
What command do you use to change the server runlevel?
init
shutdown
Which file would you edit to change the default runlevel for a server?
/etc/inittab
Which line would you edit in the /etc/inittab to change the default run level?
The first declaration setting of id:X:default
You have an IDE hard disk that is configured as the slave device, on the secondary channel. How would you reference this device?
/dev/hdd
Command used to partition a disk, if device was /dev/hdd
fdisk /dev/hdd
What command would you use to re-initialize the X windows environment?
rcxdm restart
Command to view current route information
ip route show
File to configure DNS servers
/etc/resolv.conf
Command to encrypt GRUB password
grub-md5-crypt
What is the service that allows you to establish RDP connections to SLED?
Nomad
Configuration file for SSH server services
/etc/ssh/sshd_config
Command to create empty files
touch filename
Command to add a secondary IP address of 201.125.2.45 and a subnet mask 255.255.0.0 for interface ngxe3
ip address add 201.125.2.45/16 dev nxge3
Command to reboot a server
init 6
reboot
shutdown -r now
Command to modify crontab file
crontab -e
Crontab syntax format
Mins Hours Days Months DaysOfWeek Command
Example to run the date command at 13:32 on January 2
32 13 2 1 /bin/date
You work as a Project Engineer for Net Perfect Inc. The company has a Linux-based
network. While working with the vi editor, you want to delete a word from the cursor position.
Which of the following commands will you use to accomplish the task?
A. esc + i
B. esc + ?word
C. esc + dw
D. esc + /word
C. esc + dw
Which of the following files is used to control the behavior of the SSH server? A. sshd_config B. ssh_cont C. sshd_cont D. ssh_config
A. sshd_config
In Linux, which of the following directories contains all the system-wide configuration files? A. /var B. /etc C. /sbin D. /tmp
B. /etc
In Linux, which of the following commands is used to specify default permissions while creating files? A. wc B. tar C. uniq D. umask
D. umask
You work as a Database Administrator for Net Perfect Inc. The company has a Linux-based network. While working in the vi editor you want to move the window one page up. Which of the following key combinations would you use to accomplish the task? A. CTRL-E B. CTRL-Y C. CTRL-F D. CTRL-B
D. CTRL-B
You work as a Network Administrator for Tech Perfect Inc. The company has a Linux-based network. You want to kill a process running on a Linux server. Which of the following commands will you use to know the process identification number (PID) of the process? A. killall B. getpid C. kill D. ps
D. ps
You have an online video library. You want to upload a directory of movies. Since this process will take several hours, you want to ensure that the process continues even after the terminal is shut down or session is closed. What will you do to accomplish the task? Each correct answer represents a complete solution. Choose all that apply.
A. Use the bg command to run the process at the background.
B. Add the nohup command in front of the process.
C. Add the nohup command at the end of the process.
D. Run the process inside a GNU Screen-style screen multiplexer.
B. Add the nohup command in front of the process.
D. Run the process inside a GNU Screen-style screen multiplexer.
You work as a Database Administrator for Net Perfect Inc. The company has a Linux -based network. You want to see the list of filenames that end with .txt extension. Which of the following commands can you use to accomplish the task?
A. ?.txt
B. #.txt
C. &.txt
D. *.txt
D. *.txt