Re: GNOME hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, it's an old thread. But I'd just like to highlight for the
archives...

Tony Nelson wrote:
> They may also have actually said to do something slightly different:
> 
>     rm -rf $HOME/.*
> 
> That would get all the .configuration files, even for other applications.
> I'd have suggested trying a new user first, and it that worked, mv'd the
> dot files out of the way.

Wouldn't necessarily have helped (it would depend on which user issued
the command).

$HOME/.* will be matched by $HOME/..
So if $HOME is /home/user
rm -rf $HOME/.*
will expand to 
rm -rf /home/user/. /home/user/.. 
(and all the other files in /home/user) which is equivalent to
rm -rf /home

Similarly, if root tried running that, everything on the machine would
potentially be deleted.

James.

-- 
New address: james  | Remember, half-measures can be very effective if all you
@aprilcottage.co.uk | deal with are half-wits.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux