Re: Create a symbolic link to run firefox 49 ..

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

 



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 <pocallaghan@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@lists.fedoraproject.org

_______________________________________________
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