Sponsored Content
Full Discussion: LEARN SHELL SCRIPTING BASICS
Top Forums Shell Programming and Scripting LEARN SHELL SCRIPTING BASICS Post 302587516 by sagarsbhandare on Thursday 5th of January 2012 07:04:28 AM
Old 01-05-2012
MySQL LEARN SHELL SCRIPTING BASICS

I am beginner to the SHELL SCRIPT and want to Learn SHELL SCRIPT Basics.

This thread should help to all beginners who want to learn SHELL SCRIPT

*** Thanks in advance to those who will contribute on this thread ***

Please guide me and all beginners...

1. Is there any good e-book available? if yes please share links.
2. Where can I try my shell script learning? any online servers available?
3. What is Bash?
4. What is difference between Bash, SSH and Shell Script?
5. Most widely used commands of Shell Script.
6. Summary sheet / summary document of shell script which can be printed and can be used for daily reference
7. What are DOs and DON'T of Shell Script
8. If users are using Free Unix / Free Linux, can they use same shell scripts?
9. How to test shell script without harming to hardware / data?
10. What kind of security we can provide to Shell Script?
11. How to write basic shell programs , like auto-install software, auto-backup, etc...

More topics are always welcome on this thread Smilie

Thank you very much again...


Thanks a ton to FRAPPA as I am new member so cannot reply with links. So trying to add in Main Post:

This site is full of materials.

Here I am sharing direct links for the beginners

Pocket Linux Guide
Pocket Linux Guide

Introduction to Linux - A Hands on Guide
HTML : Introduction to Linux
PDF : http://tldp.org/LDP/intro-linux/intro-linux.pdf

Securing and Optimizing Linux:
Securing and Optimizing Linux

Bash Guide for Beginners:
HTML : Bash Guide for Beginners
PDF : http://tldp.org/LDP/Bash-Beginners-G...ners-Guide.pdf


Advanced Bash-Scripting Guide

HTML : Advanced Bash-Scripting Guide
PDF : http://tldp.org/LDP/abs/abs-guide.pdf


And Many other Linux guides are available here : The Linux Documentation Project: Guides

Last edited by sagarsbhandare; 01-05-2012 at 09:49 AM.. Reason: more meaningful title changed
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What is a good place to learn basic shell scripting? Thanks!

See the title. Originally wasn't going to type anything but I need a message of at least 10 characters! :cool: (2 Replies)
Discussion started by: deutchap6verse5
2 Replies

2. Shell Programming and Scripting

Basics of shell scripting

Anybody please tell me basics of shell scripts (2 Replies)
Discussion started by: arvind.elle
2 Replies

3. Shell Programming and Scripting

Help- To learn shell scripting

Hello all, Could any one let me know where to find exercises(problems to solve) both simple and complex ones that would eventually help me learn Shell scripting.I'm just a beginner:o in shell scripting but would love to learn more.. Thanks, Triji (2 Replies)
Discussion started by: tj23
2 Replies

4. UNIX for Dummies Questions & Answers

good book to learn korn shell scripting

which is a gud book to learn advanced korn shell scripting? i know the basic shell scripting (1 Reply)
Discussion started by: shishirkotkar
1 Replies

5. Shell Programming and Scripting

SHELL Scripting Basics

Hi, I am new to shell scripting, i have experience in solaris, can anyone share me the link and experience to learn shell scripting from basics Thanks RJS (2 Replies)
Discussion started by: rajasekg
2 Replies

6. Shell Programming and Scripting

Should I learn bash scripting or is it going obsolete?

Hi folks, I'm a CS students enrolled in a sysadmin class where we've been covering bash scripting for the past few weeks. I have prior knowledge in java, c++, c#, python,and some scripting languages like asp.net w/c# and php. This bash stuff seems pretty neat and a bit different than what I am... (9 Replies)
Discussion started by: KalEl
9 Replies

7. Shell Programming and Scripting

My PM has told me to learn shell scripting in 2 weeks , how should I start?

My PM has told me to learn shell scrting in 2 weeks , how should I start?:confused::confused::confused::confused: (1 Reply)
Discussion started by: manalisharmabe
1 Replies

8. UNIX for Dummies Questions & Answers

Learn bash shell scripting

I do not know shell scripting. But at work place, I have got an in and out shell scripting task. I just need to understand a very big script. Is there any tool in which I can place the script and it can tell me the meaning of the whole script? (3 Replies)
Discussion started by: lg123
3 Replies

9. Shell Programming and Scripting

Need a good book to learn UNIX Shell Scripting

I'm going to be starting a job in a month or so that I need to brush up on my Unix shell scripting skills. About 15 years ago, I took a college class for Unix shell scripting. I would like to find a good college book again, rather than just going to Amazon and just buying anything. This is... (2 Replies)
Discussion started by: dorlow
2 Replies

10. Shell Programming and Scripting

How to learn UNIX shell scripting?

Hi Guys, I know basic command of unix and basic programming of unix as like using for loop, while loop, if..else, case statement etc. then how to learn unix shell scripting as well as use also. (1 Reply)
Discussion started by: aaditya321
1 Replies
SCRIPT(1)						    BSD General Commands Manual 						 SCRIPT(1)

NAME
script -- make typescript of terminal session SYNOPSIS
script [-adkpqr] [-F pipe] [-t time] [file [command ...]] DESCRIPTION
The script utility makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive session as proof of an assignment, as the typescript file can be printed out later with lpr(1). If the argument file is given, script saves all dialogue in file. If no file name is given, the typescript is saved in the file typescript. If the argument command is given, script will run the specified command with an optional argument vector instead of an interactive shell. The following options are available: -a Append the output to file or typescript, retaining the prior contents. -d When playing back a session with the -p flag, do not sleep between records when playing back a timestamped session. -F pipe Immediately flush output after each write. This will allow a user to create a named pipe using mkfifo(1) and another user may watch the live session using a utility like cat(1). -k Log keys sent to the program as well as output. -p Play back a session recorded with the -r flag in real time. -q Run in quiet mode, omit the start, stop and command status messages. -r Record a session with input, output, and timestamping. -t time Specify the interval at which the script output file will be flushed to disk, in seconds. A value of 0 causes script to flush after every character I/O event. The default interval is 30 seconds. The script ends when the forked shell (or command) exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-D (if ignoreeof is not set) for the C-shell, csh(1)). Certain interactive commands, such as vi(1), create garbage in the typescript file. The script utility works best with commands that do not manipulate the screen. The results are meant to emulate a hardcopy terminal, not an addressable one. ENVIRONMENT
The following environment variables are utilized by script: SCRIPT The SCRIPT environment variable is added to the sub-shell. If SCRIPT already existed in the users environment, its value is overwrit- ten within the sub-shell. The value of SCRIPT is the name of the typescript file. SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most shells set this variable automatically). SEE ALSO
csh(1) HISTORY
The script command appeared in 3.0BSD. The -d, -p and -r options first appeared in NetBSD 2.0 and were ported to FreeBSD 9.2. BUGS
The script utility places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects. It is not possible to specify a command without also naming the script file because of argument parsing compatibility issues. When running in -k mode, echo cancelling is far from ideal. The slave terminal mode is checked for ECHO mode to check when to avoid manual echo logging. This does not work when the terminal is in a raw mode where the program being run is doing manual echo. If script reads zero bytes from the terminal, it switches to a mode when it only attempts to read once a second until there is data to read. This prevents script from spinning on zero-byte reads, but might cause a 1-second delay in processing of user input. BSD
December 4, 2013 BSD
All times are GMT -4. The time now is 07:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy