Sponsored Content
Top Forums Shell Programming and Scripting Question on tweaking the PATH variable to allow the world to run my executable script Post 302406795 by amitranjansahu on Wednesday 24th of March 2010 12:16:10 AM
Old 03-24-2010
Only two things can be possible for this senario.

1) add the "/data/misc/scripts/dev/" to the PATH variable for all users.

2) Create a softlink (name it my.script1) in any of your path for /data/misc/scripts/dev/my.script1.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I make a cgi script World-executable

I'm trying to set up a form mail script on a website that when Submitted, a cgi script is executed and a perl translator (located in a secured and inaccessible folder) translates the script. After speaking to my hosting provider, I was told to "Telnet into the system and make the script... (2 Replies)
Discussion started by: tylerl
2 Replies

2. UNIX for Advanced & Expert Users

process executable file full path

hi guys i give "ps -ef | grep some_executable_file" on the command line. this "some_executable_file" resides on many paths which r included in the PATH environment variable, so the output depicts only "some_executable_file" in the COMMAND column. how can i get the full path? thanx (3 Replies)
Discussion started by: xtrix
3 Replies

3. Shell Programming and Scripting

script run when executable is launched

I need to know how to have a BASH script run every time Firefox is launched, what is the simplest way to do this? (1 Reply)
Discussion started by: glev2005
1 Replies

4. Shell Programming and Scripting

Automatically select records from several files and then run a C executable file inside the script

Dear list its my first post and i would like to greet everyone What i would like to do is select records 7 and 11 from each files in a folder then run an executable inside the script for the selected parameters. The file format is something like this 7 100 200 7 100 250 7 100 300 ... (1 Reply)
Discussion started by: Gtolis
1 Replies

5. UNIX for Dummies Questions & Answers

PATH variable and script execution

Hello everyone, I wrote a simple script (ksh) that I would like to be able to execute no matter where in the directory structure I am sitting at. I typed echo $PATH to retrieve my path info and looking at that I decided the directory where to place my script. I copied the scripts to that... (3 Replies)
Discussion started by: gio001
3 Replies

6. Shell Programming and Scripting

how to run an already made script run against a list of ip addresses solaris 8 question

how to run an already developed script run against a list of ip addresses solaris 8 question. the script goes away and check traffic information, for example check_GE-VLANStats-P3 1.1.1.1 and returns the results ok. how do I run this against an ip list? i.e a list of 30 ip addresses (26 Replies)
Discussion started by: llcooljatt
26 Replies

7. UNIX for Dummies Questions & Answers

Getting correct path to run appropriate script

I have tcsh scripts on path /home/chrisd/tatsh/trunk/hstmy/bin/tcsh/ I want to run the script from within another script. Suppose I go to directory /home/chrisd/tatsh/trunk/hsdata/n02/terr0.25/darwin and want to run checksrdist.tcsh So I do cd ... (1 Reply)
Discussion started by: kristinu
1 Replies

8. Shell Programming and Scripting

Script working when run manually but not in crontab showing path not found

i have a script running using variable defined in .profile when i run that script manually its working but when i run the same script through cron its giving path not found I had defined path in .profile (3 Replies)
Discussion started by: raj_saini20
3 Replies

9. Solaris

Find path of executable having problem

Hi cannot find the path to a running process on a host. I looked and tried some suggestions in forums to no avail. can someone please help? I need to know where this process is starting from as we have several versions in multiple directories --------- Process name 1201 1 0 Feb 14 ?... (14 Replies)
Discussion started by: mnassiri
14 Replies

10. Solaris

Finding the path to an executable , installed package

Hi all, Recently i wanted to see if i have openssl installed in my system (solaris 10), so i do this (not sure if this is the right way to do this) pkginfo -i | grep -i "ssl" system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include ... (3 Replies)
Discussion started by: javanoob
3 Replies
HIER(7) 					       BSD Miscellaneous Information Manual						   HIER(7)

NAME
hier -- layout of filesystems DESCRIPTION
A historical sketch of the filesystem hierarchy. The modern OS X filesystem is documented in the ``File System Programming Guide'' available on Apple Developer. / root directory of the filesystem /bin/ user utilities fundamental to both single-user and multi-user environments /dev/ block and character device files fd/ file descriptor files; see fd(4) /etc/ system configuration files and scripts /mach_kernel kernel executable (the operating system loaded into memory at boot time). /sbin/ system programs and administration utilities fundamental to both single-user and multi-user environments /tmp/ temporary files /usr/ contains the majority of user utilities and applications bin/ common utilities, programming tools, and applications include/ standard C include files arpa/ C include files for Internet service protocols hfs/ C include files for HFS machine/ machine specific C include files net/ misc network C include files netinet/ C include files for Internet standard protocols; see inet(4) nfs/ C include files for NFS (Network File System) objc/ C include files for Objective-C protocols/ C include files for Berkeley service protocols sys/ system C include files (kernel data structures) ufs/ C include files for UFS lib/ archive libraries libexec/ system daemons & system utilities (executed by other programs) local/ executables, libraries, etc. not included by the basic operating system sbin/ system daemons & system utilities (executed by users) share/ architecture-independent data files calendar/ a variety of pre-fab calendar files; see calendar(1) dict/ word lists; see look(1) web2 words from Webster's 2nd International words common words man/ manual pages misc/ misc system-wide ascii text files mk/ templates for make; see make(1) skel/ example . (dot) files for new accounts tabset/ tab description files for a variety of terminals; used in the termcap file; see termcap(5) zoneinfo/ timezone configuration information; see tzfile(5) /var/ multi-purpose log, temporary, transient, and spool files at/ timed command scheduling files; see at(1) backups/ misc. backup files db/ misc. automatically generated system-specific database files log/ misc. system log files mail/ user mailbox files run/ system information files describing various info about system since it was booted utmpx database of current users; see utmpx(5) rwho/ rwho data files; see rwhod(8), rwho(1), and ruptime(1) spool/ misc. printer and mail system spooling directories mqueue/ undelivered mail queue; see sendmail(8) tmp/ temporary files that are kept between system reboots folders/ per-user temporary files and caches SEE ALSO
ls(1), apropos(1), whatis(1), whereis(1), finger(1), which(1), find(1), grep(1), fsck(8) HISTORY
A hier manual page appeared in Version 7 AT&T UNIX. BSD
July 23, 2007 BSD
All times are GMT -4. The time now is 04:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy