• Post Reply Bookmark Topic Watch Topic
  • New Topic

UNIX  RSS feed

 
chukkapalli chowdary
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know the command for refresh?
Is there any command like doskey in MS-DOS?
 
George Brown
Ranch Hand
Posts: 919
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some of the shells provide the facility for doing doskey-esque things. For example, if you use ksh or the posix shell you can use the following command to revisit previous commands, use in-line editing with your chosen editor, and various other handy features:
<pre>set -o [vi|gmacs|emacs]</pre>
The bash shell also provides a similiar feature. So it depends on what shell you use. Look at the documentation for the shell you are using to see whether it is supported for your shell:
<pre>man $SHELL</pre>
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!