Linux试题(国外英文资料)
Linux试题(国外英文资料)
Linux questions
When logging in Linux, a shell with the only process ID number is called, and what is this ID (B)?
A. the b. the c. the d. the d. the
Open A file with vi, and use the letter "new" instead of "old" (A).
A: s/old/new/g B. : s/old/new C. : 1, $s/old/new/g d.
Please select the correct description of the standard variable PS2 (C)
A. is A master shell prompt variable b. is the second main shell prompt variable
C. Is a general shell prompt variable. D. Is a continuous prompt variable
The following command displays the contents of A text file (A)
A. more b. more c. more d. more
The following command is the full-screen text editor (B)
A. cw b. c. d.
Which command can be used to find only four characters in the file TESTFILE? (C)
A. the grep '^???? $' TESTFILE b. grep '??? 'the TESTFILE
C. the grep '^... $' TESTFILE d. grep '... 'the TESTFILE
Which of the following commands can be used to redirect the output of the pipe to the standard output and the specified file (D)
A. wee b. the c. the d. the
What is the first line of A bash shell script (A)
A. #! / bin/bash B. # / bin/bash c. # / bin/CSH d. / bin/bash
Using standard output redirects (>) like "> file01" to make file file01 data (D)
A. moved b. copied c. printed d. covered
The following command is used to define the global variable (D) of the shell.
A. exportfs b. exports c. exports d. exports
11. If you want to load A/dev/hdb1 windows95 partition to/MNT/win95 directory, which need to run the command (C) a. mount -t HPFS/dev/hdb1 / MNT/win95 b. mount -t HPFS/MNT/win95 / dev/hdb1
C. mount - t vfat/dev/hdb1 / MNT/win95 d. mount - t vfat/MNT/win95 /dev/hdb1
Which directory holds the user's password information (B)
/ that's A
Assuming that the kernel supports the vfat partition, which of the following operations is to load the /dev/hda1, a window98 partition to/win directory (C)
A. mount - s win/dev 'hda1 / win b. mount - fs = msdos/dev/hda1 / win
C. Mount - t vfat /dev/hda1 / win d. mount - t W