I'm an experienced UNIX and vi user. I'm looking for the equivalent of what was called command line editing on the Korn Shell (ksh), where I could pull up a previously executed command by hitting the Esc key. This would put me in a "one line vi editing mode" and I could easily rerun previous commands.
Looks like this Linux system runs something called bash. Is there a way to set up analogous ksh command line editing under bash? In ksh this setup was done in the .profile but I didn't see a .profile in my login directory
Also, I note that my vi editor on this system paints lines in a file in an attempt to "help" me see the structure of the file. That's OK sometimes but there are times when I just want to see a plain file without any painting by vi. I presume there is a vi setting that controls this. What is it?
Denis


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks