- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Navigation keys on command prompt
Operating System - HP-UX
1753278
Members
5637
Online
108792
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
тАО05-15-2009 06:45 AM
тАО05-15-2009 06:45 AM
Navigation keys on command prompt
Hi,
i was curious to know all possible navigation option on command prompt of hp-ux like for e.g., cltr+c to switch or log off as a root user or terminate. likewise what are the keys to move on command prompt (how to bring up previously used commands)and that sort. Guess there are few tricks too.. looking forward for ur quick assistance.
Thanks in advance
UKUX
i was curious to know all possible navigation option on command prompt of hp-ux like for e.g., cltr+c to switch or log off as a root user or terminate. likewise what are the keys to move on command prompt (how to bring up previously used commands)and that sort. Guess there are few tricks too.. looking forward for ur quick assistance.
Thanks in advance
UKUX
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 06:52 AM
тАО05-15-2009 06:52 AM
Re: Navigation keys on command prompt
First,
# set -o vi
then, you can use Esc k to retrieve old command. Or Esc k/ to trace back the similar old command.
# set -o vi
then, you can use Esc k to retrieve old command. Or Esc k/ to trace back the similar old command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 06:55 AM
тАО05-15-2009 06:55 AM
Re: Navigation keys on command prompt
Typically these are set up in /etc/profile with the stty command so you might want to start with a peek at the /etc/profile file and then the man page for stty.
grep stty /etc/profile
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
stty susp ""
stty dsusp ""
Command recall is a funtion of the shell you are using and is usually (korn or posix shells) set up with the HISTFILE, HISTSIZE environmental variables and invoked with "set -o vi" in your login file (.kshrc, for example).
Pete
Pete
Pete
grep stty /etc/profile
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
stty susp ""
stty dsusp ""
Command recall is a funtion of the shell you are using and is usually (korn or posix shells) set up with the HISTFILE, HISTSIZE environmental variables and invoked with "set -o vi" in your login file (.kshrc, for example).
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2009 07:40 AM
тАО05-15-2009 07:40 AM
Re: Navigation keys on command prompt
Hi u can use following if you have posix or k shell
ksh -o vi
then
ESC+K=up
ESC+J-down
ESC+L=right
ESC+H=Left
Please assign points to each answer.
Regards
Sunny
ksh -o vi
then
ESC+K=up
ESC+J-down
ESC+L=right
ESC+H=Left
Please assign points to each answer.
Regards
Sunny
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