BFGMiner README Git. Linux Directory Structure File System Structure Explained with Examples. Have you wondered why certain programs are located under bin, or sbin, or usrbin, or usrsbinFor example, less command is located under usrbin directory. Why not bin, or sbin, or usrsbin 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. Root. Every single file and directory starts from the root directory. Only root user has write privilege under this directory. Please note that root is root users home directory, which is not same as. User Binaries. Contains binary executables. Common linux commands you need to use in single user modes are located under this directory. Commands used by all the users of the system are located here. For example ps, ls, ping, grep, cp. System Binaries. Just like bin, sbin also contains binary executables. But, the linux commands located under this directory are used typically by system aministrator, for system maintenance purpose. For example iptables, reboot, fdisk, ifconfig, swapon. Configuration Files. Contains configuration files required by all programs. This also contains startup and shutdown shell scripts used to startstop individual programs. How To Install Libncurses Ubuntu Desktop InstallFor example etcresolv. Device Files. Contains device files. These include terminal devices, usb, or any device attached to the system. For example devtty. Process Information. Contains information about system process. This is a pseudo filesystem contains information about running process. For example procpid directory contains information about the process with that particular pid. This is a virtual filesystem with text information about system resources. For example procuptime. Variable Filesvar stands for variable files. Content of the files that are expected to grow can be found under this directory. This includes system log files varlog packages and database files varlib emails varmail print queues varspool lock files varlock temp files needed across reboots vartmp 8. Temporary Files. Directory that contains temporary files created by system and users. Files under this directory are deleted when system is rebooted. User Programs. Contains binaries, libraries, documentation, and source code for second level programs. usrbin contains binary files for user programs. If you cant find a user binary under bin, look under usrbin. For example at, awk, cc, less, scpusrsbin contains binary files for system administrators. If you cant find a system binary under sbin, look under usrsbin. For example atd, cron, sshd, useradd, userdelusrlib contains libraries for usrbin and usrsbinusrlocal contains users programs that you install from source. For example, when you install apache from source, it goes under usrlocalapache. How To Install Libncurses Ubuntu Desktop SharingHome Directories. Home directories for all users to store their personal files. For example homejohn, homenikita. Boot Loader Files. Contains boot loader related files. Kernel initrd, vmlinux, grub files are located under boot. For example initrd. System Libraries. Contains library files that supports the binaries located under bin and sbin. Library filenames are either ld or lib For example ld 2. Optional add on Applicationsopt stands for optional. Contains add on applications from individual vendors. Mount Directory. Temporary mount directory where sysadmins can mount filesystems. 1 2. 3. lowlatency 4.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |