[X-Unix] removing fink

Alexandre Gauthier supernaut at underwares.org
Thu Mar 16 19:19:22 PST 2006


I really wish people should stop using --recursive --force in order to
remove files =/
It's error prone... what if you mistype 'rm -rf ./.profile' as './.
profile' or './ .profile'?

Craig Hoffman wrote:
> Thanks everybody. That worked great.
> - Craig
> On Mar 16, 2006, at 7:07 PM, Philip J Robar wrote:
>
>>
>> On Mar 16, 2006, at 5:14 PM, Eric F Crist wrote:
>>
>>> As soon as you open your terminal window, type:
>>>
>>> % rm -rf ./.profile
>>>
>>> Note, all those periods need to be there.
>>
>> There's no need for the "-r", which causes rm(1) to recurse down a
>> directory structure.
>>
>> You shouldn't need the "-f" as Craig should own the file.
>>
>> The "./" isn't needed as ".profile" is a perfectly legal and
>> unambiguous relative path name.
>>
>> More to the point wiping out the whole .profile file is gross over
>> kill, as there may be a bunch of non-fink related stuff in it. Craig
>> should be able to just remove the line that sets the SHELL
>> environment variable. I'm pretty sure that the fink documentation
>> covers what changes it or you make to your UNIX start up files.
>>
>>
>> Phil
>>
>> _______________________________________________
>> X-Unix mailing list
>> X-Unix at listserver.themacintoshguy.com
>> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>>
>> Listmom is trying to clean out his closets! Vintage Mac and random
>> stuff:
>> http://search.ebay.com/_W0QQsassZmacguy1984
>
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
> Listmom is trying to clean out his closets! Vintage Mac and random stuff:
> http://search.ebay.com/_W0QQsassZmacguy1984


-- 
Alexandre Gauthier
supernaut at underwares.org

underwares.org
Obscure IT knowledge Open Database

The human brain operates at only 10% of its capacity. The rest is overhead for
the operating system. 



More information about the X-Unix mailing list