No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help
View Responses


Grex Info Item 177: how do you make a dir?
Entered by bleitner on Fri Sep 16 22:38:01 UTC 1994:

I was wondering...I cant seem to create a dir..."md" and "mkdir" dont work
can anyone help?

12 responses total.



#1 of 12 by steve on Fri Sep 16 22:44:05 1994:

   Try !mkdir at the OK prompt.  mkdir is the right command, but PicoSpan,
the conferencing system doesn't know about that command itself, you
you have to put a ! in front of the command to make it a UNIX command.


#2 of 12 by popcorn on Sat Sep 17 02:52:43 1994:

This response has been erased.



#3 of 12 by rcurl on Mon Sep 19 04:46:33 1994:

md makes a directory (and rd removes a directory) in unix. I presume
!md and !rd will do the same from Picospan.


#4 of 12 by kentn on Mon Sep 19 04:55:03 1994:

Except that "md" and "rd" are not Unix commands...mkdir and rmdir are.
You can alias them to md and rd if you like (md and rd are acceptable
in MS-DOS along with mkdir and rmdir--no need for aliasing).


#5 of 12 by popcorn on Mon Sep 19 05:06:50 1994:

This response has been erased.



#6 of 12 by rcurl on Mon Sep 19 05:06:58 1994:

Oh. Well, I never thought about it, and they both work here, so
*someone* must have aliased them to mkdir and rmdir - I didn't.


#7 of 12 by rcurl on Mon Sep 19 05:07:44 1994:

popcorn (#5) slipped in.


#8 of 12 by popcorn on Mon Sep 19 05:07:54 1994:

This response has been erased.



#9 of 12 by popcorn on Mon Sep 19 05:08:06 1994:

This response has been erased.



#10 of 12 by srw on Mon Sep 19 06:25:32 1994:

If you're done slipping, I'd like to say that my personal preference
would be not to have that done with symlinks, but rather to have
each person who wants them to define their own aliases.
Of course it would then be nice to have a file with a lot of 
useful aliases for people to select from, plus instructions for
the unix-impaired on how to create aliases. Your way seems less effort,
albeit less pure.


#11 of 12 by davel on Mon Sep 19 10:13:29 1994:

As long as it's only in Picospan, I have no objections to DOS-isms being
globally available, I think.  I would hate to see too many of these things
done through symlinks, for exactly the reasons Valerie mentioned.  A lot
of people are getting their first exposure to Unix here.  (I also note
that in /usr/local/bin there's a program dir, which is the same size &
date & owner (gregc) as ls in the same dir (but is not a hard link)) which
seems to work the same.  Same comments.)

A possible alternative, tossed out off the cuff just for discussion: set
up scripts with these names, which echo (to stderr, I think) something like:
(The normal Unix command to remove a directory is rmdir.)
and then go ahead & call the appropriate Unix command with the full
command line.


#12 of 12 by wh on Fri Oct 21 23:52:06 1994:

I like that last idea, Dave, if we do any substituting at all. I
get on Grex for conferences and to learn Unix.

Response not possible - You must register and login before posting.

No Next Item No Next Conference Can't Favor Can't Forget Item List Conference Home Entrance    Help

- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss