Re: OT - rm different on Ubuntu than Fedora

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

 



On Sat, Jan 20, 2018 at 2:10 AM, Cameron Simpson <cs@xxxxxxxxxx> wrote:
>
> 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).

There's no "which" builtin in bash. IIRC, only tcsh and zsh have one.

On Debuntu, "which" is an sh script (as it was a csh script in the
past in Unix):

th@sid ~ $ file /bin/which
/bin/which: POSIX shell script, ASCII text executable
th@sid ~ $

It only shows a command with an absolute path and it only has a "-a" option:

th@sid ~ $ which -a which
/usr/bin/which
/bin/which
th@sid ~ $

In bash, "command -v", "command -V", "type -t" will show what an executable is.
_______________________________________________
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