09-22-2003
Hi,
Most of the shells can use the arrow keys. Korn-shell (standard on your OS) can do it as well. It's just a matter of telling him to do.
"set -o vi" will set him in vi mode
"set -o emacs" will set him in emacs mode.
I think vi mode will get the most close to your needs. Maybe someone else knows the best option for you. (Don't know how bash exact works)
Regs David
P.S. : If it is your job to maintain a server, I'dd defintly choose for h,j,k and l. What happens if your server dies and you should boot up in single user mode? First install bash?
4 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
does anybody know what the bcb feature is in EMC? (5 Replies)
Discussion started by: jigarlakhani
5 Replies
2. HP-UX
we got our first Itanium server, and was wondering if the cpu sequence listed below is normal?
rx8640, running 11.31
System: myBOX Tue Mar 25 07:21:45 2008
Load averages: 0.00, 0.00, 0.00
219 processes: 187 sleeping, 31 running, 1 zombie
Cpu... (2 Replies)
Discussion started by: mr_manny
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm working on two flavours of unix namely HP-UX and sun solaris.
In HP-UX, for executing the previous commands, i use the arrow keys. But on sun solaris this is not working.
Can anyone explain how to use history feature effectively in sun solaris os?
Thanks (4 Replies)
Discussion started by: venkatesht
4 Replies
4. UNIX for Beginners Questions & Answers
Dear Tech Guys,
I am trying to send some commands on the local server and it always asks for user name and password after each command. To serve the purpose I am using expect function as follows:
#!/usr/bin/expect
set timeout 20
spawn "./data1.sh"
expect "Please Enter UserName: "... (6 Replies)
Discussion started by: Xtreme
6 Replies
LEARN ABOUT OPENSOLARIS
shells
shells(4) File Formats shells(4)
NAME
shells - shell database
SYNOPSIS
/etc/shells
DESCRIPTION
The shells file contains a list of the shells on the system. Applications use this file to determine whether a shell is valid. See getuser-
shell(3C). For each shell a single line should be present, consisting of the shell's path, relative to root.
A hash mark (#) indicates the beginning of a comment; subsequent characters up to the end of the line are not interpreted by the routines
which search the file. Blank lines are also ignored.
The following default shells are used by utilities: /bin/bash, /bin/csh, /bin/jsh, /bin/ksh, /bin/ksh93, /bin/pfcsh, /bin/pfksh, /bin/pfsh,
/bin/sh, /bin/tcsh, /bin/zsh, /sbin/jsh, /sbin/sh, /usr/bin/bash, /usr/bin/csh, /usr/bin/jsh, /usr/bin/ksh, /usr/bin/ksh93, /usr/bin/pfcsh,
/usr/bin/pfksh, /usr/bin/pfsh, and /usr/bin/sh, /usr/bin/tcsh, /usr/bin/zsh, and /usr/sfw/bin/zsh. /etc/shells overrides the default list.
Invalid shells in /etc/shells could cause unexpected behavior, such as being unable to log in by way of ftp(1).
FILES
/etc/shells list of shells on system
SEE ALSO
vipw(1B), ftpd(1M), sendmail(1M), getusershell(3C), aliases(4)
SunOS 5.11 20 Nov 2007 shells(4)