![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automatically Running Scripts | jeffreydavisjr | UNIX for Dummies Questions & Answers | 4 | 11-19-2008 05:05 AM |
| running sshd server from home directory without root access | sayeo | SUN Solaris | 0 | 03-13-2008 04:53 PM |
| scripts running under different users | csnewbie | UNIX for Dummies Questions & Answers | 1 | 02-14-2007 04:52 PM |
| Running scripts parallely | santho | UNIX for Dummies Questions & Answers | 4 | 07-23-2006 12:42 PM |
| get home-directory in shell-scripts | qsi | Shell Programming and Scripting | 5 | 06-18-2005 10:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Running scripts from home
I have created a Bourne shell script that helps with metric counting and it has to be run in a ClearCase view. It has been placed in a directory where if User A cd'd to it and runs it, a bunch of errors occur. Because this is a tool that several users would want access to and the program assumes that it is being run from User A's home directory, I have a couple of questions:
a) is there a way to create a script where User A can run the script from their home directory and have the results stored in their home directory? b) what other solutions would be easier to accomplish this task. Any help is appreciated. Thanks. |
|
||||
|
Use Soft link concept:
lets assume /usr is a directory having all the list of 3 the users A,B,C And you are user "A" created a script and you want other users to execute the same without logging your directory. ln -s /usr/A/file.sh /usr/B/file.sh ln -s /usr/A/file.sh /usr/C/file.sh Soft links are applicable for both files and directories. (like shortcut in windows) Hope my soln will wrk out. Plz reply me whether it has worked out or not? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|