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

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

 



On 2020-08-22 15:07, ToddAndMargo via users wrote:
I use absolute paths when I will sometimes be operating
outside the shell.

Okay, before someone tells me that bash programs ALWAYS
run inside the shell and I do not path many of the other
comands, it is because I program in Raku a lot.  I ADORE
Raku.  (The documentation stinks though.)  And I use
nmcli a lot inside Raku.

And I prefer run system command OUTSIDE the shell, especially
since my programs often run outside the shell as well.
Since I trouble shoot them from a shell, it gets weird trying
to figure out what you did wrong when you run them outside
them shell.

One thing you have to wrap your head around when call
things outside the shell it that the quotes you use
inside the shell are interpreted by the shell.

So
   command "1" "2 3 4"

would be
   $1 = 1
   $2 = 2 3 4

But run outside the shell would be
   $1 = "1"
   $2 = "
   $3 = 3
   $4 = 4"

Once you get the hang of it, it is kind of fun.
_______________________________________________
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