Currently Browsing: Linux

Linux File System

 

Linux core offers support for a large number of file systems. User interface provided is the same no matter the type of file system back. Generally different file names and directories are simple to be used efficiently in command line such as  bin/, var/, usr/, lib. Mac Os uses more clear names
such as /library/, /Applications/, /Users/. Most of Linux distributions offers compatible interface with Filesystem Hierarchy Standard 3. FHS defines the main directories names and the content of it in a Linux distribution such as :

___________________________________________________________________________

Directory                                                     Description

___________________________________________________________________________

/ bin /                           binary commands associated with significant executable

————————————————————————————————————————

/ dev /                          dev / null , dev / hda , dev / random  devices

————————————————————————————————————————-

/ etc /                           configurations files

————————————————————————————————————————-

/home/                         home users directories

————————————————————————————————————————-

/ lib /                            libraries

————————————————————————————————————————–

/ mnt /                          temporary system files

————————————————————————————————————————–

/ proc /                         file system procfs

—————————————————————————————————————

/ root /                          users home ( root )

—————————————————————————————————————

/ sbin /                         executable commands that requires privileged user rights

—————————————————————————————————————-

/ usr /                           secondary hierarchy : contains binaries and libraries

—————————————————————————————————————-

/ var /                           variable files (logs, queues, temporary)

(more…)

Basics for managing a Linux system

 

Linux administration activities are similar to any Unix system.
The important components are hardware device administration, files system, users administration, programs packs administration, services administration, system security ensuring and automation tasks.

Most of system administrator interactions with Linux operating system will be done through the command line interface (shell) and text configuration files.

The components of a GNU / Linux / Distributions

An GNU/Linux operating system consists of core (kernel), Linux and applications running over it.
One of the most significant application is the command interpreter (the shell). On most of Linux distributions the shell is Bash.
The shell acts as an intermediary between user and core. The shell transforms users command in to process which is using the core to complete a task.

(more…)