![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with AWK -- quick question | Probos | Shell Programming and Scripting | 5 | 07-18-2007 04:26 PM |
| quick question | keith.m | AIX | 5 | 12-21-2006 09:27 AM |
| quick sed question | vbm | Shell Programming and Scripting | 2 | 11-09-2006 10:44 PM |
| quick question | pkolishetty | UNIX for Dummies Questions & Answers | 2 | 09-02-2006 11:56 AM |
| Ok quick question | Corrail | Shell Programming and Scripting | 1 | 11-11-2005 01:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
repeat previous UNIX command
Oh wow, something that I can answer.
at a command prompt, type ksh this will get you to the other shell if you are currently in the bourne shell. then type in set -o vi To test things out, type in a command and execute. To repeat this command, press the ESC key. Then use the j and k keys to scroll through the old commands. After you execute the old command, you will have to press the ESC key again to get to the old commands. You can, also, edit the old command as though you were in vi editor.. |
|
||||
|
Another shell, bash (often installed in /usr/local/bin/bash), allows you to scroll through the command history with the up/down arrow keys. Bash is typically installed in Linux or Solaris 8 machines but can be added to most UNIX flavors. To see if bash is on you system, execute;
which bash or ls /usr/local/bin/bash |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|