- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HP-UX 11.11 vs Linux command
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
Forums
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
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
12-15-2004 11:55 AM
12-15-2004 11:55 AM
I am currently moving my shell (sh/ksh) scripts from HP-UX 11.11 environment to our newly acquired "Red Hat Enterprise Linux AS release 3 (Taroon Update 1)" enviroment. I found that Linux do not have "pg" command. Can anyone suggest what command should I use in place of "pg".
One more thing how do I know what is my OS release version? "uname -a" return the following output.
Linux XXX 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 ES
T 2004 i686 i686 i386 GNU/Linux
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 12:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 12:33 PM
12-15-2004 12:33 PM
Re: HP-UX 11.11 vs Linux command
http://bhami.com/rosetta.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2004 12:38 PM
12-15-2004 12:38 PM
Re: HP-UX 11.11 vs Linux command
"more" command work just fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 01:16 AM
12-20-2004 01:16 AM
Re: HP-UX 11.11 vs Linux command
Try the man page for all the details on how to use less.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 02:01 AM
12-20-2004 02:01 AM
Re: HP-UX 11.11 vs Linux command
less is more!
and that is true however you want to take it ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 02:18 AM
12-20-2004 02:18 AM
Re: HP-UX 11.11 vs Linux command
This setting for $LESS I use on both Linux and all my HP-UX versions, and supports about everything you need
lt09:/home/merijn/itrc 117 > echo $LESS
-CRQsieP?f"%f":-. %lt ?pB%pB\% .?e(EOF) ?xNext\: %x ..>
lt09:/home/merijn/itrc 118 >
Less for 11i (11.11):
http://hpux.connect.org.uk/hppd/hpux/Gnu/less-385/
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 02:33 AM
12-20-2004 02:33 AM
Re: HP-UX 11.11 vs Linux command
$ uname -srv
Linux 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003
is absolutely correct.
Therefore -s (system) shows Linux,
-r (release) is the booted kernel's release and subversion, and -v (version) here is the time the kernel was built.
If you're on a RedHat box you could additionally look out for this file
$ cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
But this is Distro specific and not garuanteed to be exsitent.
Btw, I'm curious how you use a pager in a script? ;-)
On Linux, always use "less".
It's so much better than more that I even installed it on our Solaris and many HP-UX boxes.