tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Dermot Paikkos <dermot@sciencephoto.com>
Subject: OT: Korn shell questions
Date: Wed, 04 Dec 2002 14:14:31 +0000	[thread overview]
Message-ID: <3DEE0DC7.19191.1053FFD@localhost> (raw)

Hi Managers,
Sorry if this is a bit off topic but it seemed a good place to start. I 
have just moved from csh to ksh and am try to acclimatize. There are 
a couple of features that I am really missing but think there is a 
similar functions in the korn shell.

1) Recall past command. Is there a similar function to !n (where n is 
the history number) in ksh?

2) Filename completion. I read that ESC ESC (just like the csh) should 
do filename completion - this doesn't seem to be working for me. My 
term is Putty for win32. Does anyone know why?

3) Re-use past arguments. One of my favourite recall commands was 
!$ to get the last argument from my previous command. EG:
>ls /var/adm/syslog.dated/current
> cd !$ (puts me in /var/adm/syslog.dated/current
Can you do this, or something similar, in ksh?

Thanx.
Dp.
~~
Dermot Paikkos * dermot@sciencephoto.com
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668



                 reply	other threads:[~2002-12-04 14:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox