Skip to main content

Posts

Showing posts with the label File System

LPI E - File Hierarch

LPI E - Scripting 4.3 Where Data is Stored Review of Topics: Various types of information stored on a Linux system Part 2 of 2:  Part 1 - A Detailed Look The Linux operating system is well-known for its structured and hierarchical file system. The system is organized in a way that makes it easy to find, organize, and access files by using specific directories.  In this blog post, we will explore the file structure of the Linux operating system and explain why files are stored in the specific directories and which directories are system versus user. Overview of the Linux File System The Linux file system is hierarchical, which means that it is arranged in a tree-like structure. At the top of the hierarchy is the root directory, represented by a forward slash (/). All other directories and files are located within this root directory. There are several directories in the Linux file system, and each directory has a specific purpose. For example,  the /bin directory contains...

LPI E - System Data

LPI E - Scripting 4.3 Where Data is Stored Review of Topics: Various types of information stored on a Linux system Part 1 of 2:  Part 2 - A Extensive Look Programs Configuration Processes Memory addresses System messaging Logging  Using the tools ps top free syslog - Debian or Fedora dmesg - Debian or Fedora and by locating information from directories like  "/etc/" "/bin" "/var/log/" Debian or Fedora "/boot/" "/proc/" "/dev/" "/sys/" I'll also provide a reference to some other tools at the end Finding information about Linux Programs and Configuration : Programs in Linux are typically stored in directories like "/bin/" "/sbin/" "/usr/bin/" "/usr/sbin/ "bin" meaning the executable binaries   To locate information about a program , you can use the " which " command followed by the name of the program $ which ls T his will display the full path to the program...