Skip to main content

Posts

Showing posts with the label Configuration

add a /dev

Add a Device to Linux A detailed step-by-step guide on how to add a new device to a Linux system. Adding a new device to Linux can be a daunting task, especially for beginners. Therefore, I have broken down the entire process into easy-to-follow steps, including: Identifying the device type and connection method : This step involves identifying the type of device you want to add and the method of connection. Loading the appropriate kernel module : The kernel module is essential for the device to work properly with your Linux system. You can use the modprobe command to load the necessary module. modprobe - Add and remove modules from the Linux Kernel Creating device files : Device files are essential for the Linux system to recognize the new device. You can use the mknod command to create device files. mknod - make block or character special files mknod - create a special or ordinary file Setting permissions : Setting proper permissions on the device files is essential for the device ...

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...