The command tar zcvf backup.tar.gz ~ will archive which of the following in the file backup.tar.gz?
A. The user's home directory
B. The user's entire home directory tree
C. The entire hard disk
D. The entire partition the user's home directory resides in
查看答案
Which command will show you the type of the file named some_file?
A. identify some_file
B. locate some_file
C. file some_file
D. diff some_file
Which of the following commands will recursively compare two directory trees, just mentioning which files are different, new or deleted?
A. diff -wq /usr/src/linux-4.9 /usr/src/linux-4.10:
B. diff -qr /usr/src/linux-4.9 /usr/src/linux-4.10:
C. diff -sr /usr/src/linux-4.9 /usr/src/linux-4.10:
D. diff -ir /usr/src/linux-4.9 /usr/src/linux-4.10:
Where can you find the device nodes of a Linux system?
A. /etc
B. /mnt
C. /dev
D. /var
Which is the home directory of the superuser account?
A. /bin
B. /root
C. /dev
D. /boot