- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- 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
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
тАО12-15-2004 11:34 AM
тАО12-15-2004 11:34 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.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 01:43 PM
тАО12-15-2004 01:43 PM
Solutionln -sf /usr/bin/less /usr/bin/pg
If you were relying upon 'pg', you might also want to put an exported 'PAGER' variable in some profiles.
The release (version) of Linux is 'uname -r', which would be '2.4.21-9.ELsmp' on that machine, the kernel version.
If you are wondering what platform, then you want 'uname -s' (Linux) or 'uname -o' (GNU/Linux). Note that 'uname -o' doesn't work on HP-UX, so don't use it for cross-platform testing (-s returns 'HP-UX').
Any more info needed? ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 11:24 PM
тАО12-15-2004 11:24 PM
Re: Linux command
if you want to check OS version in RH or Mandrake linux, you should
cat /etc/redhat-release
Rgds,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 01:21 AM
тАО12-16-2004 01:21 AM
Re: Linux command
2.4.9-25 ---> AS 2.1
2.4.21-9 ---> AS 3.1
2.4.21-15 ---> AS 3.2
2.4.21-20 ---> AS 3.3
So your systems is running AS 3 update 1, and it has a multi-processor kernel, indicated by "smp" after 1.4.21-9.EL.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2004 01:54 AM
тАО12-16-2004 01:54 AM
Re: Linux command
determine release you can try
#cat /proc/version
best regard
kevinhu