How to list history commands on VMS ?

3k Views Asked by At

How to list history commands on VMS ?

On linx, we can use "history".

I cannot find corresponding commands on VMS .

Any help will be appreciated.

Thanks

2

There are 2 best solutions below

1
On

The command you're looking for is RECALL /ALL. See this handy-dandy list of OpenVMS commands and their UNIX equivalents.

0
On

you can use Recall/all its give you last buffer commands in following format

  • 42 help
  • 43 @mydcl
  • 44 set verify
  • 45 @mydcl
  • 46 create mydcl.com

now you can run again using

recall 42
ie 
help 

and as in unix "!pattern" its run very last command matching with pattern same in OpenVMS RECALL PATTERN example

$ recall s

the result is

$ set verify = procedure