Re: OT: Shell script

2005-07-11 Thread Gerhard Meier
On Mon, Jul 11, 2005 at 01:36:31PM -0500, Brian Henning wrote: I want it to be able to get a filename without the extention on the end. [...] file.mp3 i would like it to return 'file'. Well, I like the following solution, because it doesn't fork: FILE=file.mp3 echo ${FILE%.*} bye, Gerhard

Re: bash - superuser

2004-12-20 Thread Gerhard Meier
On Mon, Dec 20, 2004 at 08:41:57AM -0200, Giuliano Cardozo Medalha wrote: I have a machine with FreeBSD 5.3 - release -p2. I have installed bash from ports. How is possible to use bash in root account ? Do not change the shell of the root account. If you have /usr or /usr/local on a

Re: what does rm // delete?

2004-11-30 Thread Gerhard Meier
On Tue, Nov 30, 2004 at 04:58:16AM +0100, Oliver Fuchs wrote: rm -rf /path/to/dir/with/rogue/file Tried it but had no chance. In any case I had to formate that drive new so I finally made it to disappear. You did not try fsck before this radical method? /GM