Operating System - OpenVMS
1752779 Members
6025 Online
108789 Solutions
New Discussion

Re: LOGIN.COM file. How, if possible, can I add UNIX commands to my LOGIN.COM ?

 
peresw
Occasional Advisor

Re: LOGIN.COM file. How, if possible, can I add UNIX commands to my LOGIN.COM ?

All,

After setting  to the proper LOGIN.COM (as suggested), the entries or "aliases" are working.

1. set def $1$DUA110:[INGRES64.INGRES]

$ dir

Directory $1$DUA110:[INGRES64.INGRES]

edit LOGIN.COM
added
$! UNIX like commands
$who :== "SHOW USER"
$lsltr :== "DIR/DATE/OWNER"

logout/logon

$ who
OpenVMS User Processes at 21-SEP-2017 13:07:12.35
Total number of users = 4, number of processes = 15

Username Interactive Subprocess Batch
A27O6QT 3
INGRES 1
RABBIN 1
UNKRICH 10
$ lsltr

Directory $1$DUA110:[INGRES]

ABF.DIR;1 29-DEC-1997 11:08:38.17 [SYSTEM]
ACP_START.COM;4 1-AUG-2017 14:47:06.58 [SYSTEM]

Thank you all for the imputs and contribuitions. :)

 

Steven Schweda
Honored Contributor

Re: LOGIN.COM file. How, if possible, can I add UNIX commands to my LOGIN.COM ?

> After setting  to the proper LOGIN.COM (as suggested), the entries or
> "aliases" are working.

   What could go wrong?

> $who :== "SHOW USER"

   You still don't need the quotation marks with := (or :==).  (That's
the benefit of := .)

      help :=
      help =