Sponsored Content
Full Discussion: shell books recommend
Top Forums Shell Programming and Scripting shell books recommend Post 302490116 by homeboy on Monday 24th of January 2011 03:05:23 AM
Old 01-24-2011
Quote:
Originally Posted by Scrutinizer
I can recommend the O'Reilly books "Learning the bash shell" and if you like "Learning the Korn shell" ...
Thanks for ur reply.Actually i don't mind which kind of shell to learn,I learn bash because it's popular in Linux,Is there big difference between korn shell and Bash?If not,I would learn korn shell,eitherSmilieand i found a book named "Mastering UNIX shell scripting",seems about korn shell.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Books on Shell 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

Books on Shell programmin

Can Anyone suggest few good books on Unix Shell Programming and C on Unix. Thanks Prasad (5 Replies)
Discussion started by: pswar70
5 Replies

3. Programming

Recommend Books

Can anybody recommend a good (& maybe cheap :D ) book for c-prg in HP-UX. I a little rusty & most of expr is in PC world. (1 Reply)
Discussion started by: vslewis
1 Replies

4. Shell Programming and Scripting

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. (1 Reply)
Discussion started by: raok1997
1 Replies

5. Shell Programming and Scripting

Help for good books in Shell 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

6. Shell Programming and Scripting

i need books (programming shell)

hello.... iam need more books about programming shell by c & c++ ... please iam need it now thank you:) (2 Replies)
Discussion started by: osamasam
2 Replies

7. UNIX for Advanced & Expert Users

please recommend books or articles on cross-platform portable code

I have know some items on cross-platform portable byte order alignment I don't know if there are books or articles on this topic. your recommendation is appreciated (1 Reply)
Discussion started by: zhongyj
1 Replies

8. Shell Programming and Scripting

recommend book for unix command/ shell scripting

Hi, i wish to learn unix commands and shell scripting. platform is solaris. but i am focused more on handy unix commands than system administration. which books do you recommend? (1 Reply)
Discussion started by: nurulamin862
1 Replies

9. Shell Programming and Scripting

Books for Shell Script and UNIX

Hi i am new to UNIX completely. i dont know any thing about UNIX. can some one please help me with some books on the unix archetecture and all the internal working of UNIX OS (i want to know every thing about unix from basics) and shell programming. can any one please if available provide... (1 Reply)
Discussion started by: amiman
1 Replies

10. Shell Programming and Scripting

Best books for shell scripting

hello all, Could you point me to the best book to start shell scripting. thanks (3 Replies)
Discussion started by: acdc
3 Replies
SHELL-QUOTE(1p) 					User Contributed Perl Documentation					   SHELL-QUOTE(1p)

NAME
shell-quote - quote arguments for safe use, unmodified in a shell command SYNOPSIS
shell-quote [switch]... arg... DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands or files with embedded white space or shell globbing characters safely. Here are a few examples. EXAMPLES
ssh preserving args When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and passes them to "$SHELL -c". This doesn't work as intended: ssh host touch 'hi there' # fails It creates 2 files, hi and there. Instead, do this: cmd=`shell-quote touch 'hi there'` ssh host "$cmd" This gives you just 1 file, hi there. process find output It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote: eval set -- `find -type f -print0 | xargs -0 shell-quote --` debug shell scripts shell-quote is better than echo for debugging shell scripts. debug() { [ -z "$debug" ] || shell-quote "debug:" "$@" } With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can. save a command for later shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are things the user can't pass through), you can do something like this: user_switches= while [ $# != 0 ] do case x$1 in x--pass-through) [ $# -gt 1 ] || die "need an argument for $1" user_switches="$user_switches "`shell-quote -- "$2"` shift;; # process other switches esac shift done # later eval "shell-quote some-command $user_switches my args" OPTIONS
--debug Turn debugging on. --help Show the usage message and die. --version Show the version number and exit. AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions. AUTHOR
Roderick Schertler <roderick@argon.org> perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)
All times are GMT -4. The time now is 09:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy