Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
Linux Shell Programming nixcraft.com

Linux Shell Programming nixcraft.com

Ratings: (0)|Views: 309|Likes:
Published by Xmatrix Lee

More info:

Published by: Xmatrix Lee on Nov 19, 2010
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

11/26/2010

pdf

text

original

 
PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information.PDF generated at: Mon, 31 May 2010 07:27:26 CET
Linux Shell Scripting Tutorialv2.0
Written by Vivek Gite <vivek@nixcraft.com>and Edited By Various Contributors
 
Contents
Articles
Linux Shell Scripting Tutorial - A Beginner's handbook:About1
Chapter 1: Quick Introduction to Linux
4
What Is Linux4Who created Linux5Where can I download Linux6How do I Install Linux6Linux usage in everyday life7What is Linux Kernel7What is Linux Shell8Unix philosophy11But how do you use the shell12What is a Shell Script or shell scripting13Why shell scripting14Chapter 1 Challenges16
Chapter 2: Getting Started With Shell Programming
17
The bash shell17Shell commands19The role of shells in the Linux environment21Other standard shells23Hello, World! Tutorial25Shebang27Shell Comments29Setting up permissions on a script30Execute a script31Debug a script32Chapter 2 Challenges33
Chapter 3:The Shell Variables and Environment
34
Variables in shell34Assign values to shell variables38Default shell variables value40Rules for Naming variable name41
 
Display the value of shell variables42Quoting46The export statement49Unset shell and environment variables50Getting User Input Via Keyboard50Perform arithmetic operations54Create an integer variable56Create the constants variable57Bash variable existence check58Customize the bash shell environments59Recalling command history63Path name expansion65Create and use aliases67The tilde expansion69Startup scripts70Using aliases72Changing bash prompt73Setting shell options77Setting system wide shell options82Chapter 3 Challenges83
Chapter 4: Conditionals Execution (Decision Making)
84
Bash structured language constructs84Test command86If structures to execute code based on a condition87If.
 
.else.
 
.fi89Nested ifs92Multilevel if-then-else93The exit status of a command94Conditional execution97Logical AND &&97Logical OR ||98Logical Not !99Conditional expression using [101Conditional expression using <nowiki>[[</nowiki>102Numeric comparison102String comparison104File attributes comparisons105

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
akbisoi1 liked this
Xmatrix Lee liked this
levieuxdjo liked this

You're Reading a Free Preview

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