0
votes
3answers
139 views

CentOS - how to use ln command in this situation?

Create a file like the log file in CentOS, when this log file is updated, then the copy of the log file is also updated. Maybe I use this command: ln -s logfile copy_of_logfile Then when logfile's ...
0
votes
1answer
90 views

How do I find all the symbolic links to a master file? [duplicate]

Possible Duplicate: How can I find out if a symbolic link exists, that points to /tmp? I have an mpeg file that has been linked to in a number of directories. I need to replace all those ...
-2
votes
1answer
19 views

I have multiple installs of wordpress, all using the same plugins but in different locations. how can i use a symlink link to avoid duplication?

I have multiple installations of wordpress on my server, all using the same plugins but in different locations. i.e i have /home/site1/wp-content/plugins/plugin1 ...
0
votes
1answer
109 views

How do I automate removing a symlink and adding a new one

Basically I want to create a quick set of commands so that I can type into the terminal and have it do this: cd /path/to/folder/of/symlink sudo rm -f symlink sudo ln -s /new/path/of/symlink cd ...
0
votes
3answers
4k views

How to soft link/ Hard link a folder to a remote server's folder

I'm new to modifying links as well as administering Linux, Is it possible to soft link a specific folder to a remote server's folder? (I'm not sure what to use hardlinks/symlinks/etc.) Sorry for ...
1
vote
1answer
2k views

symlink and sudo executable

If I have the below sudoers entry usera ALL=(userb) NOPASSWD: /home/userc/bin/executable-file usera ALL=(userb) NOPASSWD: /home/userc/bin/link-to-another-executable-file When I log-on as usera and ...