Re: two questions

2004-06-24 Thread Hemal Pandya
On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp <[EMAIL PROTECTED]> wrote: > > I'm having a brain freeze tonight and apparently forgot some > basic UNIX commands.. > > what is the command to remove the file "--directory" > > rm *directory* = nope > rm "*directory*" = nope > rm \-\-\direc

Re: two questions

2004-06-24 Thread Hemal Pandya
On Thu, 24 Jun 2004 23:51:09 -0400, epilogue <[EMAIL PROTECTED]> wrote: > > On Thu, 24 Jun 2004 20:29:35 -0700 > Hemal Pandya <[EMAIL PROTECTED]> wrote: > > > On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp <[EMAIL PROTECTED]> > > wrote: > &g

Re: two questions

2004-06-24 Thread Hemal Pandya
On Fri, 25 Jun 2004 01:24:50 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > [snip] > > > > On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp > > > > <[EMAIL PROTECTED]> wrote: > > > > > [snip] > > > > > > > > > > what is the command to remove the file "--directory" > > > > > [snip] >

Re: two questions

2004-06-24 Thread Hemal Pandya
On Fri, 25 Jun 2004 01:22:05 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > [] > > as requested...(standard shell and standard user) > > ~> mkdir test Don't forget the leading hyphen. Try ~> mkdir -test which will, of course, give you an error. then try ~> mkdir ./-test and proceed

Re: Configure ssh to behave like rsh. How?

2004-06-25 Thread Hemal Pandya
I was interested in this for a slightly different reason --- I would like to allow some users to ssh into my machine so they can port forward but not allow them to actually login to the machine. I found http://groups.google.com/groups?selm=200206210808.g5L88SJ15420_splat.grant.org%40ns.sol.net to

Re: command-line calculator?

2004-06-25 Thread Hemal Pandya
man expr man bc On Fri, 25 Jun 2004 08:41:02 -0700, CD Baby <[EMAIL PROTECTED]> wrote: > > What simple built-in command-line tools are available if I want to > just do some simple math on the command line? > > If I'm there in a shell, and need to know what 17 times 36 equals? >