Linux

SDSLabs

- Giridharan Manivanan
giridar123@gmail.com

-Neeraj Gangwar
y.neeraj2008@gmail.com

- Aarti Dwivedi
ellydwivedi2093@gmail.com

What is It?

  • Linux- Kernel, Not OS.
  • Bridge between applications and actual data processing done at hardware level

What does it do?

  • Manages Computer's resources.
  • Allows other programs to run and use resources

Resources?

  • Central Processing unit
  • Computer's memory
  • Input/Output devices

Filesystem Hierarchy Standard

defines the main directories and their contents in Linux and other Unix-like computer operating systems

Why have so many directories?

/root

Home directory of root user

/bin

Essential command executable (binaries) for all users

/boot

Files needed to start your computer, kernel and grub

/dev

Devices files.

/etc

Host-specific system-wide configuration files. (System configuration)

/home

Your files.

/lib

Libraries essential for the binaries in /bin/ and /sbin/

/sbin

System administrative binaries (e.g., init, route, ifup) (system binaries) (files required to boot or rescue the system)

/lib

Libraries required to boot or rescue the system

/lost+found

Files saved in case of failures.

/mnt

Mount point for temporary mounted file systems.

/media

Mount point for removable media such as pen-drives.

/opt

Any third party software that you install .

/proc

Virtual filesystem documenting kernel and process status, mostly text files

/tmp

Temporary files.

/srv

site-specific data which is served by this system.

/var

Variable data, such as logs, databases, websites, and temporary spool (e-mail..) files

Users?

  • You
  • Root

Common Software

  • Manual?
  • Change directory?
  • Root privilege
  • View contents?
  • Open in text editor
  • Copy
  • Move
  • Make directory
  • See your working directory
  • Remove directory
  • Remove files
  • File permissions
  • View resource usage
  • View first few lines
  • View the last lines
  • Remote login?
  • Transfer file without conventional methods
  • nano
  • cat
  • apt-get
  • synaptic