In order to understand the core aspects of the operating systems, young aspirants and programmers can seek better exposure to core Linux courses. As Kernel Training has designed classroom and online course to upgrade your skills and knowledge, course participants can learn many aspects of programming.
http://kerneltraining.com/core-linux/
Course Curriculum:
Module 1
Operating system UNIX (CORE LINUX)
Module 2
History of UNIX (CORE LINUX)
Module 3
UNIX (CORE LINUX) Principles
Module 4
ARCHITECTURE OF UNIX
Module 5
FILE SYSTEM HIERARCHY
Module 6
BASIC COMMANDS IN UNIX
3. www.kerneltraining.com/linux-admin-training
WHAT IS OPERATING SYSTEM?
Operating system is an interface between user and the computer
hardware. The hardware of the computer cannot understand the
human readable language as it works on binaries i.e. 0’sand 1’s. In
such case we need an interface which can translate human language
to hardware and vice-versa for effective communication
Requirement to create an operating system
source code +applications=kernel
kernel+ software=os
4. www.kerneltraining.com/linux-admin-training
HISTORY OF UNIX
In 1960 1st operating system is MULTICS (multiplexed information computer
service)at AT & T bell lab
Ken Thompson developed UNIX in 1969 so he could play games on a scavenged DEC
PDP-7. With the help of Dennis Ritchie, the inventor of the “C” programing language,
Ken rewrote UNIX entirely in “C”
In 1974, the OS was licensed to universities for educational purposes.
Over the years, hundreds of people added and improved upon the system, and it
spread into the commercial world.
GNU project started in 1984 by Richard Stallman.
5. www.kerneltraining.com/linux-admin-training
During the late 1980’s there were several of
commercial implementations of UNIX:
Apple Computer’s A/UX
AT&T’s System V Release 3
Digital Equipment Corporation’s Ultrix and OSF/1 (renamed to DEC UNIX)
Hewlett Packard’s HP-UX
IBM’s AIX
Lynx’s Real-Time UNIX
NeXT’s NeXTStep
Santa Cruz Operation’s SCO UNIX
Silicon Graphics’ IRIX
SUN Microsystems’ SUN OS and Solaris and dozens more.
6. www.kerneltraining.com/linux-admin-training
UNIX PRINCIPLES
Everything is a file:- UNIX system have many powerful utilities
designed to create and manipulate files. The UNIX security model is
based around the security of files. By treating everything as a file, you
can secure access to hardware in the same way as you secure access to a
document.
Configuration data stored in text: - Storing configuration in text allows
an administrator to move a configuration from one machine to another
easily, provide the ability to roll back a system configuration to a
particular date and time.
7. www.kerneltraining.com/linux-admin-training
Linux orgins
Linux was developed in 1991 by Linus Torvalds and a band of
programmers who voluntarily developed the core program of the
system, the kernel. That program was originally compatible for
another operating system called Minix .
When Linux Kernel combined with GNU applications, complete free
UNIX like OS was
developed.
Eg: Redhat, CentOS, SuSe, Fedora,
Ubuntu, Gentoo
11. www.kerneltraining.com/linux-admin-training
Command to create files:
1.cat > file1 to create a file and data to file
2.cat file1 to see file information
3.cat >> file1 to add data to already the
extisting file
Touch command:
1.touch file{1..100} to create multipul files
but empty files
Create directory:
mkdir ktdir to create a directory
13. www.kerneltraining.com/linux-admin-training
Vim editor:
1.Command mode(edit)
2.Inset mode(inter data)
3.Extend command mode(save the file)
Command mode keys:
gg, G, dd, 5dd, u, yy, 4yy, p, P, x, U
Insert mode:
i, o, a ,A
Extend command mode:
Esc+shift+:+wq
Esc+shift+:+X
Esc+shift+:+se nu
Esc+shift+:+se nonu
14. www.kerneltraining.com/linux-admin-training
soft link Hard link
SHORTCUT FILE BACKUP FILE
if original file is deleted, link is broken
and data is lost
If original file is deleted then also link
will contain data
Files,directorys files
Inode no. of source and link file is
different
Inode no. of both file is same
16. www.kerneltraining.com/linux-admin-training
Find command:
find / -name file1
find / -inum file1
find / -group file1
find / -user file1
I/O REDIRECTION:
Redirection is a process where we can copy the output of any
command(s), file(s) into a new file. There are two ways of redirecting
the output into a file.
cat file1 >> file2
cat file1 > file2
17. www.kerneltraining.com/linux-admin-training
FILE PERMISSIONS:
1. Symbolic method
2. Absolute methods
Absolute methods
Permissions are applied on three levels:-
Owner or User level(u)
Group level(g)
Others level(o)
Syntax:
Chmod u+rw,g+wrx,o+wx file/dir
+ adding, -substract, = overwritting