- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Scripting book
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 08:14 AM
тАО04-16-2003 08:14 AM
I have very little knowledge of scripting in Unix. Could you guys tell me, in your opinion, what would be the BEST book for someone like me to learn scripting from?
Thanks everyone!
Tony500
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 08:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 08:22 AM
тАО04-16-2003 08:22 AM
Re: Scripting book
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 08:22 AM
тАО04-16-2003 08:22 AM
Re: Scripting book
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 08:25 AM
тАО04-16-2003 08:25 AM
Re: Scripting book
http://www.amazon.com/exec/obidos/tg/detail/-/0201675234/qid=1050510102/sr=1-3/ref=sr_1_3/102-7602643-0235320?v=glance&s=books
You can browse some of the pages from the book.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 08:59 AM
тАО04-16-2003 08:59 AM
Re: Scripting book
http://docs.hp.com/hpux/pdf/B2355-90046.pdf
http://docs.hp.com/hpux/pdf/B2355-90072.pdf
and if you can search on Google for "UNIX Unleashed", you can read free this book. Currently, I am at office and I don't have that complete free link. I'll post from home.
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:47 AM
тАО04-16-2003 10:47 AM
Re: Scripting book
Korn Shell Programming by example
by Dennis OBrien & David Pitts
sed and awk
from Oreilly
by Dale dougherty and Arnold Robbins
I had never written scripts before I read these and I've learned very rapidly using them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 10:59 AM
тАО04-16-2003 10:59 AM
Re: Scripting book
Tony500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 11:07 AM
тАО04-16-2003 11:07 AM
Re: Scripting book
http://pluto.phys.nwu.edu/~zhaoyj/learn/Unix-internet/toc.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 11:34 AM
тАО04-16-2003 11:34 AM
Re: Scripting book
But there is a big jump from the commands to the technique. While a good Korn shell book will show you a few examples on using certain commands and variables, technique is what makes for stable and reliable shell programs. I always start my shell programs with the courtesy loader directive (always a good idea for every interpreted language such as perl or ksh or csh, etc), followed by set -u (to avoid big errors later), then if the program will need tempfiles, I created a unique temp directory (not a tempfile). That way, I can store all my temp files in one spot and use the trap command to remove everything if the program is aborted or terminates normally. I will code variables as ALL CAPS so they stand out, functions are name with LeadingCaps, and I tenmd to code about 20-30% comments, mostly because I forget why I did something a certain way.
Other techniques are found simply by reading shell scripts and figuring out what is happening. Look at the Shelldorado website http://www.shelldorado.com/ which gives a lot of techniques for good scripting. Another resource for HP-UX scripts (that do useful things) is: ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/coolscripts/
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2003 06:22 PM
тАО04-16-2003 06:22 PM
Re: Scripting book
http://www.maththinking.com/boat/booksIndex.html
Thanks
Zafar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2003 06:14 AM
тАО04-17-2003 06:14 AM
Re: Scripting book
http://www.novia.net/~phridge/programming/awk/