MU-VMS Archives

November 1996

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
James Howard <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Fri, 15 Nov 1996 09:42:16 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (62 lines)
Clayton L. Hines ([log in to unmask]) wrote:
: In article <[log in to unmask]>,
: [log in to unmask] (James Howard) wrote:
 
: Okay, if I'm remembering right, here's how to make a directory called TEST
: in your current default directory (or your current working directory, for
: all you unix folks):
 
: $ CREATE /DIRECTORY [.TEST]
 
Simple?  Eh, a little too much typing.
 
: And here's how to delete a subdirectory called TEST, blowing away
: everything inside before you do so (rm -rf for unix lovers):
 
: $ DELETE [.TEST]*.*;*
: $ SET PROTECTION=(O:RWED) TEST.DIR
: $ DELETE TEST.DIR;*
 
: Yes, it's contorted.  However, I also have a friend who, on his
 
Very contorted.  And this is yet another reason to use Unix.  The one
command method of eating directories.
 
: Linux/Xwindows box, quickly switched to another xterm, and issued rm -rf
: *, before realizing that he had switched to the wrong xterm.  Deleted a
: good portion of his hard disk before realizing what he had done.
 
Think before you act...
 
: >By the way, I think the change directory command for VMS is the same as
: >for Unix... "cd temp".  At least that seemed to work on MIAVX1.
 
: I'm pretty sure you can do that only because Kent wrote a nifty little
: script called CD.  The actual command to move to a subdirectory called
: TEST is this:
 
Good enough for me.
 
: $ SET DEFAULT [.TEST]
 
See what I mean?  This is pointless.  "cd test"!  (I guess I should have
used "foo" as opposed to "test"... too late now.)
 
: And to see what directory you're in:
 
: $ SHOW DEFAULT
 
"pwd"!  This so much simpler.
 
: Clayton L. Hines                                         [log in to unmask]
: UNIX Software Specialist                  Miami University, Oxford, OH, USA
 
--
Jamie
********************************************************************************
  James Howard                                             [log in to unmask]
  Miami University, Ohio                   http://www.ham.muohio.edu/~howardjp
********************************************************************************
"In defeat, unbeatable; in victory, unbearable."
                -- Winston Curchill, of Montgomery

ATOM RSS1 RSS2