- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help on learning to write scripts
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
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
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
08-31-2011 02:44 AM
08-31-2011 02:44 AM
Hi All
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, ...
FR
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2011 03:45 AM
08-31-2011 03:45 AM
Re: help on learning to write scripts
Hi Nandhino:
Search for "korn shell" information.
http://www.well.ox.ac.uk/~johnb/comp/unix/ksh.html
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2011 04:53 AM
08-31-2011 04:53 AM
SolutionHi:
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:
http://web.archive.org/web/20081220020252/http://docs.hp.com/en/B2355-90046/index.html
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:
http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/
Regards!
...JRF...
- Tags:
- scummy C shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2011 06:07 AM
08-31-2011 06:07 AM
Re: help on learning to write scripts
James!
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.
FR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2011 06:26 AM
08-31-2011 06:26 AM
Re: help on learning to write scripts
@Nandinho wrote: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.
Hi (again):
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:
http://web.archive.org/web/20081231081339/http://docs.hp.com/en/hpux10.x.html
Regards!
...JRF...