*BSD News Article 48476


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!tank.news.pipex.net!pipex!howland.reston.ans.net!news.sprintlink.net!its.hooked.net!localhost
From: rcb@hooked.net (Rich Bland)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Humble BSD 4.4 Newbie seeks assistance...
Date: Mon, 14 Aug 95 05:58:34 GMT
Organization: ISH Roadkill Anonymous
Lines: 44
Message-ID: <40moma$h94_001@news.hooked.net>
NNTP-Posting-Host: worm.hooked.net
To: All
X-Newsreader: News Xpress Version 1.0 Beta #3

I've recently struggled through the installation for BSD 4.4 which I got on a CD.

I'm about ready to wade into kernel tweaking, NFS installation/config, etc.

I've got a couple of basic questions though.  I've purchased the 4.4 BSD
set of books from O'Reilly and Associates, and have gone through them looking
for my answers to these questions but havent been having any luck.

First question.

I hacked the install 'cause the CD install routines wouldnt work (big
suprise).  But, I've got all these 00_TRANS.TBL files to delete.  Been doing
it manually, but it sucks.  Tried various combos of rm -r, to no avail.

Hacked through the 'find' command and redirected the output showing
the full path name of each file to delete.

Cant seem to get the rm command to take the redirected input from this
file, or pipe the output from the find command to the rm command.

Deleting these one by one is not only a pain, but an insult.  Whats the
proper syntax to redirect a input for the rm command?

Tried "find / -name 00_TRANS.TBL | rm -f"  which just gives me the error
message showing proper syntax use of the command.

Tried "rm -f < rm.dat" and got the same result.

Puzzled to say the least, and dont want to have to go to the trouble of
writing a c shell script...

Second question.

I cant seem to get the system prompt to display the current working
directory.  Help with this would be nice.

Thanks in advance for any suggestions provided.

Rich

Rich Bland
rcb@hooked.net

In Cyberspace, the First Amendment is a local ordinance.