Linux Syslog Location

For most people who don't yet have knowledge of the Linux operating system and File System for Linux, when dealing with the location of the file and its use might like something alien, and may still be confused.

This article aims to provide information about the File System of Linux, a few important files, usability and the location where they are.

Linux Directory Structure
Some Linux distributions may have a different directory structure, but there is no harm if I explain directory structure like below.

  • /bin: includes all the binary executable programs that are needed for booting, repair, the required files to run single-user-mode, and other basic commands, cat, du, df, tar, rpm, wc, history, etc.
  • /boot: saving important files during the boot-up process, including the Linux Kernel.
  • /dev: device files to Contain all the hardware on the machine for example, cdrom, cpu, etc.
  • /etc: contains the application configuration file, startup, shutdown, start, stop scripts for each individual program.
  • /home: the Home Directory of the user. Every time a new user is created, a directory with the name of the user created in the home directory that contains other directories such as the Desktop, downloads, documents, etc.
  • /lib: Lib Directory contains the kernel modules and libraries that are necessary to boot the system and run the commands in the file system root.
  • /lost+found: this directory is installed during the installation of Linux, is useful for restoring files can be corrupted due to unexpected things that can result in a shut-down.
  • /media: directory mount removable devices made for a while like media/cdrom.
  • /mnt: Directory mount for mounting a file system temporarily.
  • /opt: Optional abbreviated as opt. Contains third party application software. That is, the lampp, etc.
  • /proc: a file system virtual and pseudo that contains information about processes that are running with process id pid-specific.
  • /root: this is the home directory of the user root and do not be confused with '/'.
  • /run: a File that contains a valid system of the system do a boot up next.
  • /sbin: contains the binary program that is required by the System Administrator, for maintenance. Namely, iptables, fdisk, ifconfig, swapon, reboot, etc.
  • /srv: Service abbreviated as ' srv '. This directory contains the specific server and related files.
  • /sys: modern Linux distributions include a directory/sys as a virtual file system, which store and allows modification of devices connected to the system.
  • /tmp: temporary directory system, accessed by the user and root. Save temporary files for the user and the system, until the next boot.
  • /usr: Contains the executable binaries, documentation, source code, program library for the second level.
  • /var: variable stands for. This directory contains the log, lock, etc.
Important files, location and its use
Linux is a complex system that requires a more complex and efficient way to start, stop, reboot and keep the system like Windows.
  • /boot/vmlinuz: Linux Kernel Files.
  • /dev/hda: the File device to IDE HDD (Hard Disk Drive).
  • /dev/hdc: the File device to IDE Cdrom.
  • /dev/null: a pseudo device, which is not nothing. Sometimes garbage output is redirected to/dev/null, so it will be lost forever.
  • /etc/bashrc: Contains the default system and aliases used by bash shell.
  • /etc/crontab: a shell script to run certain commands on a specified time interval.
  • /etc/exports: the information from the file system that is available on the network.
  • /etc/fstab: information Disk drives and mount point.
  • /etc/group: information security group.
  • /etc/grub.conf: configuration file grub boot loader.
  • /etc/init.d: startup Scripts services.
  • /etc/lilo.conf: boot loader configuration file lilo.
  • /etc/hosts: information Ip address and host name.
  • /etc/hosts.allow: list of hosts thatare allowed to access the service on the local machine.
  • /etc/host.deny: a list of hosts thatare denied to access the service on the local machine.
  • /etc/inittab: INIT process and interaction sat various levels run.
  • /etc/issue: Allows to edit pre-login.
  • /etc/modules.conf: the configuration file for the module system.
  • /etc/motd: place the motd for the message Of The Day, messages obtained the user after login.
  • /etc/passwd: Containsthe user's password in the shadow file system, the security implementation.
  • /etc/printcap: printer Information.
  • /etc/profile: the default Bash shell.
  • /etc/profile.d: application scripts, executed after login.
  • /etc/rc.d: information about specific script level run.
  • /etc/rc.d/init.d: Installation Script level run.
  • /etc/resolv.conf: Domain Name Servers (DNS) used by the system.
  • /etc/securetty: List of the terminal, where the root login.
  • /etc/skel: the Script that Populating the new user home directory.
  • /etc/termcap: an ASCII file which defines the behavior of the Terminal, the console and the printer.
  • /etc/X11: the configuration fileX-Windows System.
  • /usr/bin: execution command normal users.
  • /usr/bin/X11: the X-Windows system Binaries.
  • /usr/include: contains the files used by the program' c '.
  • /usr/share: Directory file sharing, file Info, etc.
  • /usr/lib: the library File that is needed for the compilation of the Program.
  • /usr/sbin: commands for Super User, administrator for the system.
  • /proc/cpuinfo: CPU information.
  • /proc/filesystems: information file system in use today.
  • /proc/interrupts: information about the interruption time is being used at this time.
  • /proc/ioports: contains all the Input/Output addresses used by devices on the server.
  • /proc/meminfo: memory usage information.
  • /proc/modules: when using kernel modules.
  • /proc/mount: information file system that is mounted.
  • /proc/Stat: Detailed Statistics of the current System.
  • /proc/swaps: swap file Information.
  • /version: linux version information.
  • /var/log/lastlog: a log of the boot process.
  • /var/log/messages: log messages generated by the syslog daemon on boot.
  • /var/log/wtmp: lists the login time and duration of each user on the current system.
That's what the directory structure and files important files on linux

Click here for Comments