command - How to simulate "set -o vi" in csh , like we do in ksh? -



command - How to simulate "set -o vi" in csh , like we do in ksh? -

i used ksh lot moving csh company has scripts etc written in that. 1 thing loved ksh ease of using command history. in case have edit lastly command or sec lastly command, press "escape - k" cycle through commands , edit them.

csh not seem have equivalent. displays history of commands have re-create paste 1 of them , edit.

that's pain when want alter number of in file name illustration :

cat abcdef1 | grep "linking"

you utilize (as workaround):

"the commonly used feature of csh command history "!!" (pronounced "bang bang") recalls previous command": % date mon nov 25 13:52:36 pst 1996 % !! date mon nov 25 13:52:52 pst 1996

here other useful commands.

but work in ksh , create script , whatever in csh. if istalled launch: /bin/ksh

command ksh csh

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -