- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Keyboard Setup?
Operating System - HP-UX
1752781
Members
5983
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-04-2009 01:43 AM
тАО09-04-2009 01:43 AM
Re: Keyboard Setup?
So you can use bash - but what happens when you're working on another box where it's not installed (or in single user mode)?
There are all sorts of tools out there that can enhance productivity, but a good sysadmin should be able to admin a box successfully in its "virgin" state - on HP-UX that means using the POSIX shell, and using vi style command line editing - so like vi, we press ESC to exit input mode, and then use h, j, k, and l to navigate left, down, up and right respectively, and then use the normal vi commands to go back to input mode (such as i to insert a to append or cw to change a word). To get all this to work by default for the roor user just make sure the following lines are included in root's .profile
export HISTFILE=/.sh_history
export HISTSIZE=1000
That will keep the last 1000 commands entered by root
I'm surprised about a bunch of UNIX tutors complaining about this! They should have known better.
HTH
Duncan
I am an HPE Employee
There are all sorts of tools out there that can enhance productivity, but a good sysadmin should be able to admin a box successfully in its "virgin" state - on HP-UX that means using the POSIX shell, and using vi style command line editing - so like vi, we press ESC to exit input mode, and then use h, j, k, and l to navigate left, down, up and right respectively, and then use the normal vi commands to go back to input mode (such as i to insert a to append or cw to change a word). To get all this to work by default for the roor user just make sure the following lines are included in root's .profile
export HISTFILE=/.sh_history
export HISTSIZE=1000
That will keep the last 1000 commands entered by root
I'm surprised about a bunch of UNIX tutors complaining about this! They should have known better.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2009 02:55 AM
тАО09-04-2009 02:55 AM
Re: Keyboard Setup?
matey> That is why I am here asking the experts before trying things on our production server.
One piece of advise: don't try things on the production box. If you "try something" and manage to break the production box, people are going to be upset with you. Use a development/training box, if you have one and if you don't try to find one. I understand that some somewhat older hardware can be found on ebay for quite reasonable pricing, if that is a problem.
At the very least, if you must use the production box use a test account as a normal user. Be extremely careful with the root account.
My 0.02 US Dollars worth.
And please assign points if you find the replies useful.
One piece of advise: don't try things on the production box. If you "try something" and manage to break the production box, people are going to be upset with you. Use a development/training box, if you have one and if you don't try to find one. I understand that some somewhat older hardware can be found on ebay for quite reasonable pricing, if that is a problem.
At the very least, if you must use the production box use a test account as a normal user. Be extremely careful with the root account.
My 0.02 US Dollars worth.
And please assign points if you find the replies useful.
What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2009 03:52 AM
тАО09-04-2009 03:52 AM
Re: Keyboard Setup?
Thank You All:
OldSchool
Duncan and
Tom Henning
For taking the time and posting complete replies.
This is a great place.
:-)
One question tho.
As Tom said (and he is right) the Production server should never be used to test or play around...
so is there a way I could do the my testings?
(like the Linux in Windows sort of thing)?
Anyways thanks a lot!
btw lol @ 2 cents in USD (dollars worth)
:D
I hope I am alive to see the day that all moneys have gold and silver backing. as for these information they are already gold to me.
thanks a lot!
OldSchool
Duncan and
Tom Henning
For taking the time and posting complete replies.
This is a great place.
:-)
One question tho.
As Tom said (and he is right) the Production server should never be used to test or play around...
so is there a way I could do the my testings?
(like the Linux in Windows sort of thing)?
Anyways thanks a lot!
btw lol @ 2 cents in USD (dollars worth)
:D
I hope I am alive to see the day that all moneys have gold and silver backing. as for these information they are already gold to me.
thanks a lot!
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP