The directory structure of the Linux file system is an upside-down tree, with files placed in related directories. If there is an external device file, in which directory one should place.
A. /bin
B. /etc
C. /dev
D. /lib
查看答案
The combined command "ls - l | grep -v '^d'" means:
A. Display all directory files in a long list in the current directory.
B. Display all files in a long list in the current directory except directory files.
C. Display all files in a long list in the current directory
Display all device files in a long list in the current directory.
The command to copy all files under directory 'abc' (including subdirectories) to the directory '/usr/xyz' is
A. cp –r abc /usr/xyz
B. cp –f abc /usr/xyz
C. cp –y abc /usr/xyz
D. cp –p abc /usr/xyz
Assume an ordinary user 'user1' has a file 'abc' under the current directory, user1 want to execute this file. When he type 'abc' in the "$" prompt, the system reports an error, so the possible reason for this error is:(1) The value of the system variable 'PATH' of user1 does not include the current directory, so the system cannot find the file.(2) User user1 does not have executable permissions of 'abc'.(3) The current directory of user1 does not have executable permissions.
A. (1)
B. (1)(2)
C. (1)(2)(3)
D. (2)(3)
How to execute the executable file 'abc' mandatorily in the current directory
A. ./abc
B. ../abc
C. .\abc
D. ..\abc