01-09-2007
Good books on Shell Scripting
All,
I am new to shell scripting. Can you guys suggest me some good books/online tutorials for shell scripting(KSH/BASH)? Thanks in advance.
Janardhan.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Does anyone know of some good books on shell scripting. Any and all help is greatly apprieciated. (3 Replies)
Discussion started by: Naaou
3 Replies
2. Shell Programming and Scripting
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
3. UNIX for Dummies Questions & Answers
Hello people.I'm new to the forum and would like to seek your opinion in purchaing a copy of a good Unix and Shell scripting book.
I have good knowledge of basic unix concepts and now i would like to delve into more details.
Your suugestion much appreciated.
Thx (1 Reply)
Discussion started by: aeontoam82
1 Replies
4. Shell Programming and Scripting
Hi,
I am knew to Shell Scripting.
Can someone please tell me some good books for Shell Scripting which explains in a very simple language and covers all the topics nicely.
Thanks,
Shubh. (3 Replies)
Discussion started by: shubhranshu
3 Replies
5. UNIX for Dummies Questions & Answers
Hi ,
I am aware of basics of UNIX like general commands for files & directories.
However now I have to move on to shell programming .
Please suggest any good book for beginners for shell programming basics & advanced which might have some practice questions also.
Thanks,
Ankur (4 Replies)
Discussion started by: ankurvohra
4 Replies
6. Shell Programming and Scripting
Hi,
I had completed RHCE and i am interested to learn shell scripting.
Request you to please let me know which book is best for learning shell scripting or any online website.
Thanks & Regards
arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
7. Shell Programming and Scripting
hello all,
Could you point me to the best book to start shell scripting.
thanks (3 Replies)
Discussion started by: acdc
3 Replies
8. Ubuntu
pleas suggest free e books to begin Bash scripting in ubuntu..... (2 Replies)
Discussion started by: vyom
2 Replies
9. Shell Programming and Scripting
as title suggest i am looking for good book to start learning shell programming.please help me with this. (5 Replies)
Discussion started by: pvk21
5 Replies
10. Shell Programming and 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
LKSH(1) BSD General Commands Manual LKSH(1)
NAME
lksh -- Legacy Korn shell built on mksh
SYNOPSIS
lksh [-+abCefhiklmnprUuvXx] [-+o opt] [-c string | -s | file [args ...]]
DESCRIPTION
lksh is a command interpreter intended exclusive for running legacy shell scripts. It is built on mksh; refer to its manual page for details
on the scripting language.
LEGACY MODE
lksh has the following differences from mksh:
o lksh is not suitable for use as /bin/sh.
o There is no explicit support for interactive use, nor any command line editing code. Hence, lksh is not suitable as a user's login
shell, either; use mksh instead.
o The KSH_VERSION string identifies lksh as ``LEGACY KSH'' instead of ``MIRBSD KSH''.
o Some mksh specific extensions are missing; specifically, the -T command-line option.
o lksh always uses traditional mode for constructs like:
$ set -- $(getopt ab:c "$@")
$ echo $?
POSIX mandates this to show 0, but traditional mode passes through the errorlevel from the getopt(1) command.
o lksh, unlike AT&T UNIX ksh, does not keep file descriptors > 2 private.
o lksh parses leading-zero numbers as octal (base 8).
o Integers use the host C environment's long type, not int32_t. Unsigned arithmetic is done using unsigned long, not uint32_t. Neither
value limits nor wraparound is guaranteed. Dividing the largest negative number by -1 is Undefined Behaviour (but might work on 32-bit
and 64-bit long types).
o lksh only offers the traditional ten file descriptors to scripts.
SEE ALSO
mksh(1)
https://www.mirbsd.org/mksh.htm
https://www.mirbsd.org/ksh-chan.htm
CAVEATS
lksh tries to make a cross between a legacy bourne/posix compatibl-ish shell and a legacy pdksh-alike but ``legacy'' is not exactly speci-
fied. Parsing numbers with leading zero digits or ``0x'' is relatively recent in all pdksh derivates, but supported here for completeness.
It might make sense to make this a run-time option, but that might also be overkill.
The set built-in command does not have all options one would expect from a full-blown mksh or pdksh.
Talk to the MirOS development team using the mailing list at <miros-mksh@mirbsd.org> or the #!/bin/mksh (or #ksh) IRC channel at
irc.freenode.net (Port 6697 SSL, 6667 unencrypted) if you need any further quirks or assistance, and consider migrating your legacy scripts
to work with mksh instead of requiring lksh.
MirBSD February 11, 2013 MirBSD