Re: OT - rm different on Ubuntu than Fedora

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

 



On 19Jan2018 19:18, Kenneth Wolcott <kennethwolcott@xxxxxxxxx> wrote:
On Fri, Jan 19, 2018 at 7:03 PM, Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:
Off-topic, but I struck an oddity trying to help a friend using Ubuntu
send a wayward Firefox back to un-munged condition.  I laboriously gave
him instructions over the phone to type in:

  rm -rfd .cache/mozilla/firefox

Only to have it chuck a hissy fit and claim the options were invalid.
I tried changing the r option to R, with no further success.  My quick
search for on-line man pages for Unbuntu didn't show anything different
than the options that would work in Fedora.
[...]
It wasn't helped by his (very) old Ubuntu installation having no menus,
so had to figure out how to open a terminal without being able to see
what he was doing, likewise for where they'd stashed the file browser.

 Please make certain which "rm" is being used.  Try "/bin/rm" to make
sure that it is not an alias problem or a path problem.

Also: "which rm" should show what executable is being used, and the bash "which" IIRC also shows if an alias or function is involved (I'm a zsh person myself).

"( set -x; rm ........ )" is a useful debugging command (spawn subshell, turn on tracing, run command). It should show things as they are _after_ any alias expansion.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx> (formerly cs@xxxxxxxxxx)
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux