Re: What is wrong with my `nmcli device status`?

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

 



On Mon, Aug 24, 2020 at 12:53 AM ToddAndMargo via users
<users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On 2020-08-23 02:19, Tom H wrote:


>> If you're worried about not finding a command, set "PATH=..." after
>> the shebang.
>
> I could use that with /usr/sbin. Sweet. Thank you!

You're welcome.


> Exact path helps where things have the same names too:
>
> /etc/alternatives/ifup
> /usr/sbin/ifup
> /usr/share/bash-completion/completions/ifup
> /var/lib/alternatives/ifup

?!

You only need "/usr/sbin" in PATH to use "ifup".

You definitely don't need any "completions" in a script.

The way that alternatives work is that imagine if Fedora offered
ksh93, mksh, and oksh as different versions of ksh and that they were
set up via the alternatives mechanism.

There'd be "/bin/{ksh,ksh93,mksh,oksh}" with "/bin/ksh" being a
symlink to "/etc/alternatives/ksh" and "/etc/alternatives/ksh" being a
symlink to whichever ksh version you wanted to use as ksh.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@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