- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Esc characters on Linux
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
тАО05-07-2005 06:44 AM
тАО05-07-2005 06:44 AM
1. Type "history" and see my previous commands.
2. Type "ESC-k" and get back my last command.
3. Type ll xxx[ESC-ESC] and have the rest of the file name fill in for me.
Can somebody please tell me how to do those simple little things on Linux? We are using RedHat Linux on a Dell PowerEdge. I'm running the bash shell.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2005 10:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2005 10:36 AM
тАО05-07-2005 10:36 AM
Re: Esc characters on Linux
1. "history" does the same on my Linux box (SuSE).
2. "ESC-k" is very easy to configure : edit the .bashrc file in your home dir, and add :
UNSET INPUTRC
set -o vi
3. On linux I use TAB for filename completion. It has some nice features, like "TAB-TAB" that looks into the "PATH" and displays all executable files that match the first characters you typed.
Of course if you prefer another shell than bash, you can configure your Linux box to use it. As an example : pdksh is a clone of korn shell.
Good lcuk.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-07-2005 08:04 PM
тАО05-07-2005 08:04 PM
Re: Esc characters on Linux
Place the following in your $HOME/.inputrc
"\e\e":complete-filename
ESC-ESC will now complete the filename.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 12:53 AM
тАО05-08-2005 12:53 AM
Re: Esc characters on Linux
#cat /etc/shells
On most Linux distribution you will have the following shell available
/bin/sh
/bin/bash
/sbin/nologin
/bin/ash
/bin/bsh
/bin/ksh
/usr/bin/ksh
/usr/bin/pdksh
/bin/tcsh
/bin/csh
To interactively change this use chsh command
for permanent change modify the /etc/passwd entry for the user
Also the default is usualy bash in emacs line mode, but if you like vi line mode better follow the set -o vi will do the trick.
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 06:49 PM
тАО05-08-2005 06:49 PM
Re: Esc characters on Linux
If you use set -o vi, the auto-complete function changes in [ESC][\] in stead of [ESC ESC] which you are used to on HP-UX.
The first time for me with bash, I really missed vi-ing on the command line (i.e. ESC-k /
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2005 04:25 AM
тАО05-09-2005 04:25 AM