Linux Exercises 2

Source: Internet
Author: User
Tags syslog

which command switches from the current system to the boot level 1 (choose the most appropriate answer)

a , Inittab 1

b , Init 1

C , Level 1

D , Rlevel1

Answer b

which of the following options can be canceled shutdown command (choose the most appropriate answer)

a , shutdown - C

b , shutdown - x

C , shutdown - u

D , shutdown - N

Answer a

through Shell To execute a command, you must first typed a _____ (choose the most appropriate answer)

A. parameters

B. order

c. operator

d. terminal ID number

Answer B

Which symbol is appended to the command to execute the program in the background (choose the most appropriate answer)

A. @

B. &

C. #

D. *

Answer B

in the VI Editor, which command can move the cursor to the $ Line (choose the most appropriate answer)

A. 200g

B.: 200

C. g200

D. G200

Answer b

with VI open a file, how to use the letter " New "to replace the alphabet." Old (choose the most appropriate answer)

A.:r/old/new

B.:s/old/new

C.:1, $s/old/new/g

D.:s/old/new/g

Answer C

which of the following configuration files is used to define syslog background process (choose the most appropriate answer)

a , system.conf

b , syslog.conf

C , syslogd

D , slog.conf

Answer b

which of the following syslog.conf Representative httpd process (choose the most appropriate answer)

a , httpd

b , proc

C , SMTP

D , Daemon

Answer D

you add a user to the company's new colleague, and you initially specify that his account - days overdue, now want to change this expiration time, with which

Command (choose the most appropriate answer)

a , Usermod - a

b , Usermod - D

C , Usermod - x

D , Usermod - e

Answer D

which of the following commands is not necessary to exit VI Editor to switch files (choose the most appropriate answer)

A.: E foredit command

B. Mapcommand

C. exportcommand

D. SetCommand

Answer a

which of the following options is used to add user-defined user login Shell (choose the most appropriate answer)

a ,- s

b ,- u

C ,- L

D ,- SH

Answer a

If you want to give a variable "IQ" defined as 4 , which of the following is correct (choose the most appropriate answer)

a , iq=4

b , Set iq=4

C , Set $IQ =4

D , IQ Set 4

Answer C

when the system is rebuilt, which of the following parameters can be used to MKFS command to check for bad blocks (choose the most appropriate answer)

a ,- b

b ,- e

C ,- C

D ,- Check

Answer C

which command can be used to find the file testfile A line that contains only four characters ? (choose the most appropriate answer)

A.grep '???? ' Testfile

B.grep ' .... ' Testfile

C.grep ' ^???? $ ' testfile

D.grep ' ^....$ ' testfile

Answer D

If you want to dive into the Linux system novice, you can also download a German Linux software center trial.

: Http://www.nfs-wuxi.com/cx/appCenter/open/softcenter


Linux Exercises 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.