08-31-2011 02:44 AM
Please can someone tell where can I find or RECOMMEND a very basic tutorial on scripting for starters. I know I just have to go to google, but there is really lots of them, ...
Solved! Go to Solution.
08-31-2011 04:53 AM
First, if you are working on HP-UX, use the HP-standard POSIX shell ('/usr/bin/sh' for normal users and for root, '/sbin/sh'). This is a Korn-like shell. HP-UX offers the Korn88 ('ksh') shell as well as the Korn93 ('/usr/dt/bin/dtksh') which requires the installation of the CDE bundle on 11.31 from your core OS DVD.
Whatever you do, avoid the C-shell.
If you are a Linux users, the Bash shell is the de facto standard. It has a great many enhacements over the POSIX or Korn shells named above.
As for a beginning guide, I always liked this:
Excelent script samples and tutorials can be found here:
And when you want to understand why the C-shell is an abomination, read this classic:
08-31-2011 06:26 AM
Thanks for the links, but the first one shell user´s guide HP9000 does work only the first page, subsequente pages/links are not working.
Actually it does if you click the hyperlinks individually from the first page. The following link will take you to a number of documents. There is a PDF version of the Shell Users Guide there too: