linux系统层次结构_Linux文件系统层次结构问题和解答

linux系统层次结构

This section contains Aptitude Questions and Answers on Linux Filesystem Hierarchy.

本节包含有关Linux文件系统层次结构的 Aptitude问答。

1) There are the following statements that are given below, which of them are correct about Linux File Hierarchy System?
  1. The Linux File Hierarchy System is also known as Linux Root File System.

  2. It is a standard that describes the directory and file structure in the operating system.

  3. In different distributions of the Linux operating system, the File Hierarchy system can be a little bit different.

  4. It describes where the files are located in the operating system.

Options:

  1. A and B

  2. C and D

  3. B, C, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 4
A, B, C, and D

All statements are correct about the File Hierarchy System.

1)下面给出了以下语句,其中哪些对于Linux File Hierarchy System是正确的?
  1. Linux文件分层系统也称为Linux根文件系统。

  2. 它是描述操作系统中目录和文件结构的标准。

  3. 在Linux操作系统的不同发行版中,文件层次结构系统可能会有所不同。

  4. 它描述了文件在操作系统中的位置。

选项:

  1. A和B

  2. C和D

  3. B,C和D

  4. A,B,C和D

答案与解释

正确答案:4
A,B,C和D

所有关于文件层次结构系统的陈述都是正确的。

2) Which of the following command is used to get information about the File Hierarchy System?
  1. man rfs

  2. man hier

  3. man hfs

  4. man fhs

Answer & Explanation

Correct answer: 2
man hier

The "man hier" command is used to get information about the File Hierarchy System.

2)以下哪个命令用于获取有关文件层次系统的信息?
  1. 曼联

  2. 曼·耶尔

  3. 男人

  4. 伙计们

答案与解释

正确答案:2
曼·耶尔

“ man hier”命令用于获取有关文件层次结构系统的信息。

3) Which of the following Linux distribution does not follow the File Hierarchy System?
  1. Ubuntu

  2. GoboLinux

  3. NixOS

  4. Redhat

Options:

  1. A and B

  2. A and C

  3. B and C

  4. B and D

Answer & Explanation

Correct answer: 3
B and C

The GoboLinux and NixOS do not follow the File Hierarchy System, They have their own different standards.

3)以下哪个Linux发行版不遵循File Hierarchy System?
  1. 的Ubuntu

  2. GoboLinux

  3. 操作系统

  4. 红帽

选项:

  1. A和B

  2. A和C

  3. B和C

  4. B和D

答案与解释

正确答案:3
B和C

GoboLinux和NixOS不遵循文件分层系统,它们具有各自不同的标准。

4) There are the following statements that are given below, which of them are correct about root directory in Linux?
  1. All directories have come inside the root directory in the Linux operating system.

  2. The root directory is represented by a forward slash (/).

  3. The root directory is represented by a backward slash (/).

  4. The root directory is the part of Linux Kernel

Options:

  1. A and B

  2. A and C

  3. A, B, and C

  4. A, B, C, and D

Answer & Explanation

Correct answer: 1
A and B

Statements A, and B are correct about the root directory.

4)下面给出了以下语句,其中哪些对于Linux中的根目录是正确的?
  1. 所有目录都位于Linux操作系统的根目录中。

  2. 根目录用正斜杠(/)表示。

  3. 根目录由反斜杠(/)表示。

  4. 根目录是Linux内核的一部分

选项:

  1. A和B

  2. A和C

  3. A,B和C

  4. A,B,C和D

答案与解释

正确答案:1
A和B

关于根目录的语句A和B是正确的。

5) There are the following options that are given below, which of them are correct directory types in the Linux operating system?
  1. Binary directories

  2. Data directories

  3. Variable directories

  4. Memory directories

Options:

  1. A and B

  2. A and C

  3. A, B, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 4
A, B, C, and D

All given options are correct directory types in the Linux operating system.

5)下面提供了以下选项,其中哪些是Linux操作系统中的正确目录类型?
  1. 二进制目录

  2. 资料目录

  3. 可变目录

  4. 内存目录

选项:

  1. A和B

  2. A和C

  3. A,B和D

  4. A,B,C和D

答案与解释

正确答案:4
A,B,C和D

在Linux操作系统中,所有给定的选项都是正确的目录类型。

6) Which of the following directories contains binary files?
  1. /sbin

  2. /lib

  3. /bin

  4. /var

Options:

  1. A and B

  2. A and C

  3. A, B, and C

  4. A, B, C, and D

Answer & Explanation

Correct answer: 3
A, B, and C

Directories (/sbin, /lib, /bin) contains binary files.

6)以下哪个目录包含二进制文件?
  1. / sbin

  2. / lib

  3. /箱

  4. / var

选项:

  1. A和B

  2. A和C

  3. A,B和C

  4. A,B,C和D

答案与解释

正确答案:3
A,B和C

目录( / sbin , / lib , / bin )包含二进制文件。

7) Which of the following directories that contain the executable binary files that require root privileges to perform tasks?
  1. /sbin

  2. /lib

  3. /bin

  4. /opt

Answer & Explanation

Correct answer: 1
/sbin

The /sbin directory contains the executable binary files that require root privileges to perform tasks.

7)以下哪些目录包含需要root用户特权才能执行任务的可执行二进制文件?
  1. / sbin

  2. / lib

  3. /箱

  4. /选择

答案与解释

正确答案:1
/ sbin

/ sbin目录包含需要二进制特权才能执行任务的可执行二进制文件。

8) Which of the following directories that contain the shared libraries in the Linux System?
  1. /sbin

  2. /lib

  3. /bin

  4. /opt

Answer & Explanation

Correct answer: 2
/lib

The /lib directory contains the shared libraries in the Linux System.

8)以下哪个目录包含Linux系统中的共享库?
  1. / sbin

  2. / lib

  3. /箱

  4. /选择

答案与解释

正确答案:2
/ lib

/ lib目录包含Linux系统中的共享库。

9) Which of the following directories contains configuration files?
  1. /opt

  2. /var

  3. /boot

  4. /etc

Options:

  1. A and B

  2. C and D

  3. A, B, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 2
C and D

The /boot and /etc directories contains configuration files.

9)以下哪个目录包含配置文件?
  1. /选择

  2. / var

  3. /启动

  4. /等等

选项:

  1. A和B

  2. C和D

  3. A,B和D

  4. A,B,C和D

答案与解释

正确答案:2
C和D

/ boot和/ etc目录包含配置文件。

10) Which directory contains grub configuration file?
  1. /lib

  2. /usr

  3. /boot

  4. /etc

Answer & Explanation

Correct answer: 3
/boot

The /boot directory contains grub configuration file.

10)哪个目录包含grub配置文件?
  1. / lib

  2. / usr

  3. /启动

  4. /等等

答案与解释

正确答案:3
/启动

/ boot目录包含grub配置文件。

11) Which of the following directories are known as data directories?
  1. /srv

  2. /media

  3. /home

  4. /opt

Options:

  1. A and B

  2. A, B, and C

  3. B, C, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 2
A, B, and C

The /home, /srv, and /media directories are data directories.

11)以下哪个目录称为数据目录?
  1. / srv

  2. /媒体

  3. /家

  4. /选择

选项:

  1. A和B

  2. A,B和C

  3. B,C和D

  4. A,B,C和D

答案与解释

正确答案:2
A,B和C

/ home , / srv和/ media目录是数据目录。

12) The "/opt" directory comes in which category of directories?
  1. Binary directories

  2. Data directories

  3. Variable directories

  4. Memory directories

Answer & Explanation

Correct answer: 1
Binary directories

The /opt is a binary directory that contains binary files.

12)“ / opt”目录属于哪类目录?
  1. 二进制目录

  2. 资料目录

  3. 可变目录

  4. 内存目录

答案与解释

正确答案:1
二进制目录

/ opt是一个包含二进制文件的二进制目录。

13) Which of the following is not a data directory?
  1. /mnt

  2. /root

  3. /home

  4. /proc

Answer & Explanation

Correct answer: 4
/proc

The /proc is not a data directory.

13)以下哪个不是数据目录?
  1. / mnt

  2. /根

  3. /家

  4. / proc

答案与解释

正确答案:4
/ proc

/ proc不是数据目录。

14) Which of the following directory contains device files?
  1. /device

  2. /devfile

  3. /dev

  4. /sys

Answer & Explanation

Correct answer: 3
/dev

The /dev directory contains device files.

14)以下哪个目录包含设备文件?
  1. /设备

  2. / dev文件

  3. / dev

  4. / sys

答案与解释

正确答案:3
/ dev

/ dev目录包含设备文件。

15) Which of the following directories does not take disk space?
  1. /proc

  2. /dev

  3. /var

  4. /home

Options:

  1. A and B

  2. A, B, and C

  3. A, B, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 1
A and B

The /proc and /var directory does not take any disk space.

15)以下哪个目录不占用磁盘空间?
  1. / proc

  2. / dev

  3. / var

  4. /家

选项:

  1. A和B

  2. A,B和C

  3. A,B和D

  4. A,B,C和D

答案与解释

正确答案:1
A和B

/ proc和/ var目录不占用任何磁盘空间。

16) Which of the following directory contains interrupts related files?
  1. /proc

  2. /dev

  3. /var

  4. /home

Answer & Explanation

Correct answer: 1
/proc

The /proc directory contains interrupts related files.

16)以下哪个目录包含与中断有关的文件?
  1. / proc

  2. / dev

  3. / var

  4. /家

答案与解释

正确答案:1
/ proc

/ proc目录包含与中断有关的文件。

17) There are the following statements that are given below, which of them are correct about the "/sys" directory in the Linux operating system?
  1. The "/sys" directory contains kernel related information.

  2. The "/sys" directory contains information about hardware devices.

  3. The "/sys" directory contains user-related information.

  4. All the above

Options:

  1. A and B

  2. A and C

  3. B and C

  4. B and D

Answer & Explanation

Correct answer: 1
A and B

Statements A and B are correct about the "/sys" directory.

17)下面给出了以下语句,其中哪些对于Linux操作系统中的“ / sys”目录是正确的?
  1. “ / sys”目录包含与内核相关的信息。

  2. “ / sys”目录包含有关硬件设备的信息。

  3. “ / sys”目录包含与用户相关的信息。

  4. 以上全部

选项:

  1. A和B

  2. A和C

  3. B和C

  4. B和D

答案与解释

正确答案:1
A和B

语句A和B关于“ / sys”目录是正确的。

18) Which of the following directory contains C language header files?
  1. /usr/cfiles

  2. /usr/include

  3. /usr/headers

  4. /usr/includes

Answer & Explanation

Correct answer: 2
/usr/include

The /usr/include directory contains C language header files.

18)以下哪个目录包含C语言头文件?
  1. / usr / c文件

  2. / usr / include

  3. / usr /标题

  4. / usr / includes

答案与解释

正确答案:2
/ usr / include

/ usr / include目录包含C语言头文件。

19) There are the following statements that are given below, which of them are correct about the "/var" directory in the Linux operating system?
  1. This directory contains log files.

  2. This directory contains cache files.

  3. This directory contains spool files.

  4. All the above

Options:

  1. A and B

  2. A and C

  3. B and C

  4. D

Answer & Explanation

Correct answer: 4
D

All statements are correct about the /var directory.

19)下面给出了以下语句,其中哪些对于Linux操作系统中的“ / var”目录是正确的?
  1. 该目录包含日志文件。

  2. 此目录包含缓存文件。

  3. 该目录包含假脱机文件。

  4. 以上全部

选项:

  1. A和B

  2. A和C

  3. B和C

  4. d

答案与解释

正确答案:4
d

所有关于/ var目录的语句都是正确的。

20) Which of the following are non-standard directories?
  1. /lost+found

  2. /var

  3. /run

  4. /cdrom

Options:

  1. A and B

  2. A and C

  3. A, C, and D

  4. A, B, C, and D

Answer & Explanation

Correct answer: 3
A, C, and D

Options A, C, and D are non-standard directories.

20)以下哪个是非标准目录?
  1. /丢失+找到

  2. / var

  3. /跑

  4. /光盘

选项:

  1. A和B

  2. A和C

  3. A,C和D

  4. A,B,C和D

答案与解释

正确答案:3
A,C和D

选项A,C和D是非标准目录。

翻译自: https://www.includehelp.com/linux/filesystem-hierarchy-aptitude-questions-and-answers.aspx

linux系统层次结构

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/545688.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

plsql developer 安装在win7 64位电脑路径问题

plsql developer 如果安装在win7 64位电脑上,安装目录不能有括号或者中文等特殊字符,默认安装路径是C:\Program Files (x86)。——

第 2-4 课:克隆和序列化 + 面试题

克隆 在开始学习克隆之前,我们先来看看下面的代码,普通的对象复制,存在什么问题? class CloneTest {public static void main(String[] args) throws CloneNotSupportedException {// 等号赋值( 基本类型)int number = 6;int number2 = number;// 修改 number2 的值num…

Java StreamTokenizer whitespaceChars()方法及示例

StreamTokenizer类whitespaceChars()方法 (StreamTokenizer Class whitespaceChars() method) whitespaceChars() method is available in java.io package. whitespaceChars()方法在java.io包中可用。 whitespaceChars() method is used to denotes that all the characters l…

Oracle-1 / Oracle及PlsqlDeveloper的设置

1、启动监听器与服务器我的电脑->管理->服务...保证“...listener...”和“...service...”两个服务开启2、客户端软件设置tools->preference->connection->Oracle home设置好Oracle所在的路径3、监听列表设置在Oracle安装目录下找到network文件夹两个文件时 li…

远程拍照并获取图片

主要功能 肉鸡程序启动后可打开摄像头迅速拍摄一张照片,通过服务器发送到主机,发送完成后删除肉鸡本地保存的图片 相关技术 socket网络编程文件操作opencv 代码 肉鸡 #define _WINSOCKAPI_ #define _CRT_SECURE_NO_WARNINGS #define _WINSOCK_DE…

第 2-3 课:抽象类和接口 + 面试题

抽象类 定义 在面向对象的概念中,所有的对象都是通过类来描绘的,但是反过来,并不是所有的类都是用来描绘对象的,如果一个类中没有包含足够的信息来描绘一个具体的对象,这样的类就是抽象类。简单来说,使用关键字 abstract 修饰的类就叫做抽象类。 抽象类使用 示例代码…

CentOS 6.4下操作kdump执行过程

kdump 是一个新的,而且非常可信赖的内核崩溃转储机制。崩溃转储数据可以从一个新启动的内核的上下文中获取,而不是从已经崩溃的内核的上下文。当系统崩溃时,kdump使用kexec启动到第二个内核。第二个内核通常叫做捕获内核(capture …

java jar包示例_Java包getSpecificationVersion()方法和示例

java jar包示例包类的getSpecificationVersion()方法 (Package Class getSpecificationVersion() method) getSpecificationVersion() method is available in java.lang package. getSpecificationVersion()方法在java.lang包中可用。 getSpecificationVersion() method is us…

JAVA类(手机充电、放音乐示例)

练习练习 import java.util.Scanner;//包含包public class ex1 {public static void main(String args[])//程序入口{Phone phone new Phone();//建一个手机phone.logo "SONY";//弄上个牌子phone.battery.power 100;//给电池弄上100电Scanner reader new Scanner…

linux——进程(创建、终止、等待、替换)

进程的基本操作 概念 程序运行的一个实例,其占有一定的空间。 查询某一进程当前情况 ps aux | grep 进程名终止进程 kill -9 pid; //pid指需要终止的进程pid创建 pid_t fork();该函数有两个返回值,对于子进程其返回的是0&#xf…

第 3-1 课:集合详解(上) + 面试题

先来看看集合的继承关系图,如下图所示: 其中: 外框为虚线的表示接口,边框为实线的表示类;箭头为虚线的表示实现了接口,箭头为实线的表示继承了类。为了方便理解,我隐藏了一些与本文内容无关的信息,隐藏的这些内容会在后面的章节中进行详细地介绍。 从图中可以看出,集…

Java类class isAnnotationPresent()方法与示例

类类isAnnotationPresent()方法 (Class class isAnnotationPresent() method) isAnnotationPresent() method is available in java.lang package. isAnnotationPresent()方法在java.lang包中可用。 isAnnotationPresent() method returns true when the annotation for the gi…

CCNA 学习笔记(四)--路由协议(RIP)

现在我们先复习下,什么是路由?答:当路由器(或者其它三层设备)收到一个IP数据包时,会查看数据包的IP头部中的目的IP地址,并在路由表中进行查找,在匹配到最优路由后,将数据…

第 3-3 课:泛型和迭代器 + 面试题

泛型 1)为什么要用泛型? 在泛型没有诞生之前,我们经常会遇到这样的问题,如以下代码所示: ArrayList arrayList = new ArrayList(); arrayList.add("Java"); arrayList.add(24); for (int i = 0; i < arrayList.size(); i++) {String str = (String) array…

自连接 实例

SELECT * FROM student_grade;select t1.num,t1.name,t1.chinese,t2.math,t3.english from (SELECT a.num,a.name,a.sex,b.grade as chinese FROM student_grade as ainner join student_grade as b on a.num b.num and a.course b.coursewhere b.course 语文) as t1,(SELEC…

linux——进程间通信(管道)

概念 进程间通信是指子进程与父进程间的通信&#xff0c;一般用作父进程对子进程的控制或者子进程将其动向告诉父进程&#xff0c;由于进程是一个程序执行的实例&#xff0c;进程之间本身是无法进行通信的&#xff0c;故而运用一种管道将二者联系起来。当然管道并不只限于在父子…

Java LineNumberInputStream available()方法与示例

LineNumberInputStream类的available()方法 (LineNumberInputStream Class available() method) available() method is available in java.io package. available()方法在java.io包中可用。 available() method is used to return the number of available bytes that can be …

第 3-2 课:集合详解(下) + 面试题

集合有两个大接口:Collection 和 Map,本文重点来讲解集合中另一个常用的集合类型 Map。 以下是 Map 的继承关系图: Map 简介 Map 常用的实现类如下: Hashtable:Java 早期提供的一个哈希表实现,它是线程安全的,不支持 null 键和值,因为它的性能不如 ConcurrentHashMap…

Linux下系统与硬件时钟管理

在无NTP而又处在私网的情况下、所以有效的保证时间的正确性其实可以使用此种方案来保证时间的准确性1、系统日期时间设定[rootrhel ~]# date -s "2014-11-27 21:50:00" 设置当前时间与日期Thu Nov 27 21:50:00 EST 20142、硬件时钟日期与时间设定[rootrhel /]# hwclo…

Oracle数据库ORA-12514错误的解决办法

问题提示错误提示:ERROR:ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect解决方法&#xff1a;代码如下1. 打开<OracleHome>/network/admin/listener.ora文件&#xff0c;找到&#xff1a;SID_LIST_LISTENER (SID_LIST (SID_DESC (SID_NAME P…