P. 1
Linux Kacper

Linux Kacper

Ratings:

5.0

(1)
|Views: 2,138|Likes:
Published by amit143mishra2009

More info:

Published by: amit143mishra2009 on Apr 01, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/10/2014

pdf

text

original

 
LINUX TUTORIAL 1
07/10/2009
Linux Tutorial
1.0.doc
 
LINUXTUTORIAL
 
LINUX TUTORIAL 2
07/10/2009
Linux Tutorial
1.0.doc
 
Table of Contents
1.
 
WHAT IS LINUX?.............................................................................................................................................................. 4
 1.1. History of UNIX .......................................................................................................................................................... 41.2. History of LINUX ....................................................................................................................................................... 41.3. Why LINUX/UNIX .................................................................................................................................................... 41.4. Layers of LINUX/UNIX ........................................................................................................................................... 5
2.
 
GETTING STARTED ....................................................................................................................................................... 7
 
3.
 
LINUX COMMANDS ....................................................................................................................................................... 8
 3.1. Control Keys ................................................................................................................................................................ 83.2. Getting Help ................................................................................................................................................................. 83.3. LINUX Command Options ........................................................................................................................................ 93.4. LINUX Commands ................................................................................................................................................... 103.4.1. Basic File Commands ........................................................................................................................................ 103.4.2. Display Commands ............................................................................................................................................ 163.4.3. File Permissions .................................................................................................................................................. 203.4.4. System Resource Commands ........................................................................................................................... 223.4.5 List of User Commands ..................................................................................................................................... 283.4.6 List of Disk Space Commands .......................................................................................................................... 31
4.
 
FILE SYSTEM .................................................................................................................................................................. 32
 4.1. Directories in LINUX ............................................................................................................................................... 334.2. Commands in File System ....................................................................................................................................... 344.3. Commands for Showning File Details .................................................................................................................. 36
5.
 
SHELL ................................................................................................................................................................................. 44
 5.1. Built-in Commands ................................................................................................................................................... 445.2. Special Commands ................................................................................................................................................... 445.2.1Piping ....................................................................................................................................................................... 455.2.2 Command Seperator ............................................................................................................................................. 455.2.3Alias ......................................................................................................................................................................... 46
 
LINUX TUTORIAL 3
07/10/2009
Linux Tutorial
1.0.doc
 
6.
 
SHELL SCRIPTING ........................................................................................................................................................ 47
 6.1. Scripting ...................................................................................................................................................................... 476.2. Utilities ........................................................................................................................................................................ 476.2.1. Sort ......................................................................................................................................................................... 476.2.2. Join ........................................................................................................................................................................ 476.3. Shell Variables ......................................................................................................................................................... 486.3.1. Scalar Variables .................................................................................................................................................. 486.3.2 Array Variables ................................................................................................................................................... 48
7.
 
SHELL PROGRAMMING IN BOURNE SHELL ................................................................................................. 49
 7.1. Shell Scripting in Bourne ......................................................................................................................................... 497.2. Shell Variables ........................................................................................................................................................... 497.3. Arithmetic Expansion ............................................................................................................................................... 507.4. Control Commands ................................................................................................................................................... 507.5. Fille Descriptors ........................................................................................................................................................ 527.6. Text Processing Commands .................................................................................................................................... 537.7. File Archiving, Compression and Conversion .................................................................................................... 557.8. Applications ........................................................................................................
Error! Bookmark not defined.
57.9. Editors ..................................................................................................................
Error! Bookmark not defined.
7
 
7.9.1 vi Editor ................................................................................................................................................................ 577.9.1.1. Cursor Movement .................................................................................................................................. 587.9.1.2. Inserting of Text .................................................................................................................................... 587.9.1.3. Deleting of Text ..................................................................................................................................... 587.9.1.4. File Manipulation .................................................................................................................................. 587.8.1.5. To see Multiple Files ............................................................................................................................. 59
8.
 
KEY BOARD SHORTCUTS ......................................................................................................................................... 609.
 
NETWORKING IN LINUX .......................................................................................................................................... 61
 9.1. Addresses .................................................................................................................................................................... 619.2. Network Commands ................................................................................................................................................. 61

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->