What directory on a linux system is commonly used to store log files and spools?
Ngày đăng:
02/12/2022
Trả lời:
0
Lượt xem:
92
Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin? Show
For example, less command is located under /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories? In this article, let us review the Linux filesystem structures and understand the meaning of individual high-level directories. 1. / – Root
2. /bin – User Binaries
3. /sbin – System Binaries
4. /etc – Configuration Files
5. /dev – Device Files
6. /proc – Process Information
7. /var – Variable Files
8. /tmp – Temporary Files
9. /usr – User Programs
10. /home – Home Directories
11. /boot – Boot Loader Files
12. /lib – System Libraries
13. /opt – Optional add-on Applications
14. /mnt – Mount Directory
15. /media – Removable Media Devices
16. /srv – Service Data
If you enjoyed this article, you might also like..
Which of the following commands can be used to move a file to the same directory?The cp command can put a copy of a file into the same directory or into another directory. cp doesn't affect the original file, so it's a good way to keep an identical backup of a file. This puts a copy of the original file old into an existing directory olddir. The copy will have the same filename as the original.
Which directory in the Linux root directory contains a file that contains information about the CPU?/proc. /proc, like /dev is a virtual directory. It contains information about your computer, such as information about your CPU and the kernel your Linux system is running.
Which directory contains system commands and utilities?The /usr directory contains most of the files, libraries, programs, and system utilities. The /bin folder is symbolically linked to /usr/bin.
Which command can be used to update the database used with the Locate command?updatedb creates or updates a database used by locate(1). If the database already exists, its data is reused to avoid rereading directories that have not changed. updatedb is usually run daily by cron(8) to update the default database.
|