Hi Patrick,

practically you say me to create my own script to realize the connection to
the file (script) locate in /usr/ bin (as an alternative to the creation of
a link).
I understand your idea:  this can 'be just an alternative -More "COMPLEX
than to use a link- to get the same result.


However even before writing the script, I did an experiment

the file /usr/bin/firefox exists and has execute permission:
[angelo_dev@localhost ~]$  ls -l /usr/bin/firefox
-rwxr-xr-x. 1 root root 6995 Nov  2  2015 /usr/bin/firefox

*but is is not run :*
[angelo_dev@localhost ~]$ sudo /usr/bin/firefox
[sudo] password for angelo_dev:
Error: /usr/lib64/firefox/firefox not found
       /usr/lib/firefox/firefox not found



I made this test is to try the feasibility of the realization of the
work before
you do it, and also to enter into the implementation of this mechanism ...

I would like to understand more concerning this incident.

On Mon, Oct 3, 2016 at 12:14 PM, Patrick O'Callaghan <pocallag...@gmail.com>
wrote:

> On Mon, 2016-10-03 at 08:00 +0300, Angelo Moreschini wrote:
> > do you mean to change the location (the directory) of the script ?
>
> [Please don't top-post, see the list Guidelines]
>
> No, I mean create your own small script that calls the supplied one,
> and put it in your own bin directory. Edit your .profile (or
> .bash_profile or .login or whatever) to insert that directory in your
> $PATH ahead of the standard system directories, then log out and in
> again. Make sure that your script is executable.
>
> (None of this has anything to do with Nautilus, as I'm not a Gnome
> user. It's simply a way to get your own variants of system commands
> which has worked on Unix-like systems for decades and most users
> probably already know about).
>
> poc
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to