• What software uses /usr/bin/open?

    From Yeechang Lee@21:1/5 to All on Tue Feb 16 15:57:30 2016
    On RHEL/CentOS, /usr/bin/open is a symlink for /usr/bin/openvt. I'd
    like to call a shell script I've written "open". What software, if
    any, would break by having said script in ~/bin and having ~/bin first
    in my path?

    Obviously software that normally run as root or another user wouldn't
    be affected, but things I run as my normal user login, or run with
    sudo, would. I just don't know if there are any such; I do know that I
    have never knowingly invoked open/openvt in 20 years of using Red Hat
    Linux.

    --
    geo:37.783333,-122.416667

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jasen Betts@21:1/5 to Yeechang Lee on Wed Feb 17 11:54:09 2016
    On 2016-02-16, Yeechang Lee <ylee@columbia.edu> wrote:
    On RHEL/CentOS, /usr/bin/open is a symlink for /usr/bin/openvt. I'd
    like to call a shell script I've written "open". What software, if
    any, would break by having said script in ~/bin and having ~/bin first
    in my path?

    Why not put it in /usr/local/bin/open ?

    Should alreasy be first in you path.

    Otoh well written software will be using "/usr/bin/opevt" instead of
    relying on $PATH and a symlink.

    --
    \_(ツ)_ Today's message brought to you by the letters L F and S.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yeechang Lee@21:1/5 to Jasen Betts on Wed Feb 17 09:58:36 2016
    Jasen Betts wrote:
    Why not put it in /usr/local/bin/open ?

    Should alreasy be first in you path.

    I could put it there, but given that it is a "personal" script—that
    is, of use only to me, and hardwired assuming such—~/bin is more
    appropriate.

    Otoh well written software will be using "/usr/bin/opevt" instead of
    relying on $PATH and a symlink.

    This is my question; whether any such non well-written software exists
    as stock (or from common other sources, like EPEL or CentOS Plus) for RHEL/CentOS.

    --
    geo:37.783333,-122.416667

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jasen Betts@21:1/5 to Yeechang Lee on Sat Feb 20 02:01:50 2016
    On 2016-02-17, Yeechang Lee <ylee@columbia.edu> wrote:
    Jasen Betts wrote:
    Why not put it in /usr/local/bin/open ?

    Should alreasy be first in you path.

    I could put it there, but given that it is a "personal" script—that
    is, of use only to me, and hardwired assuming such—~/bin is more appropriate.

    ~/bin is a good solution ( I mis-read your suggestion as /bin )

    Otoh well written software will be using "/usr/bin/opevt" instead of
    relying on $PATH and a symlink.

    This is my question; whether any such non well-written software exists
    as stock (or from common other sources, like EPEL or CentOS Plus) for RHEL/CentOS.

    Noobs write scripts like that every day, so it exists. but such low-
    quality software is unlikely to be carried by a mainstream distro.

    --
    \_(ツ)_

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)