Re: OT: Shell script
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bash - superuser
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 separate partition, and you cannot mount for some reason, you wont be able to fix that, without booting from another device. But you can change the shell of the toor user, who has also a uid of 0. /GM ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what does rm // delete?
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]