![]() rwxr-xr-x 1 root root 69484 /sbin/ifconfig :~$ ls -l /sbin/ifconfig /sbin/fdisk /sbin/mkfs.ext4 Require root privilege to perform certain tasks.īelow a screenshot containing system binaries to change the ip address, partition a diskĪnd create an ext4 file system. T/sbin contains binaries to configure the operating system. Samba server installation can use /opt/samba/bin to store its binaries. Some applications, often when installed directly from source will put themselves in /opt. You can find a /bin subdirectory in many other directories. The following information shows the common Unix/Linux commands like cat, cp, cpio, date, dd,Įcho, grep, and so on. According to the FHS the /binĭirectory should contain /bin/cat and /bin/date (among others). The /bin directory contains standard system utilities. Sometimes binaries are called executables. :~$ ls /īin cdrom etc initrd.img lost+found mnt proc run srv tmp varīoot dev home lib media opt root sbin sys usr vmlinuzīinaries are files that contain compiled source code (or machine code). Let's take a brief look at the contents of the System can be found below this root directory. The rootĭirectory is represented by a forward slash, like this: /. Manual will explain the directory structure on your computer.Īll Linux systems have a directory structure that starts at the root directory (the home directory of the root directory). Your machine, enter man hier to find information about the file system hierarchy. There are some differences in the filesystems between Linux distributions. However, it is primarily intended to be a referenceĪnd is not a tutorial on how to manage a Unix filesystem or directory hierarchy. Hierarchy standard has been designed to be used by Unix distribution developers, packageĭevelopers, and system implementers. It is known from the FHS that The filesystem The FHS (Filesystem Hierarchy Standard) may help make more Unix/Linux file system trees conform better in the future. Many Linux distributions partially follow the Filesystem Hierarchy Standard. In this session, we have covered the most common directories in the Linux file tree.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |