Sponsored Content
Top Forums UNIX for Dummies Questions & Answers setEnv.sh is found in which directory(path) Post 302150949 by sachin.tendulka on Thursday 13th of December 2007 04:38:22 AM
Old 12-13-2007
Thank u Guys..I have got it...Thank u for your patience as well.
 

10 More Discussions You Might Find Interesting

1. Solaris

Path /usr/include/iso not found

Hello, I got a make compilation error saying make: *** No rule to make target `/usr/include/iso/stdio_iso.h', needed by `.test.d'. Stop. The mentioned folder `/usr/include/iso/' doesnt exist in solaris5.7 sparc that i am using. I need to know which package will actually install the... (1 Reply)
Discussion started by: Nads
1 Replies

2. UNIX for Dummies Questions & Answers

cc path problem - no acceptable path found

Hello everyone, I'm a unix noob. I have a powerbook running mac os x 10.4 and for one of my classes I need to install the latest version of php (5.0.5). I'm following the instructions at http://developer.apple.com/internet/opensource/php.html to install but I've run into a problem. The... (2 Replies)
Discussion started by: kendokendokendo
2 Replies

3. UNIX for Dummies Questions & Answers

at crontab tcsh setenv: command not found

i have written a script "master.shell" which is in the path: /a/homes.surrey.ac.uk/pgt_fs_002/bl00001/phd/griddata/shell/master.shell ==================================== #/usr/local/bin/tcsh setenv GLOBUS_LOCATION /grid/software/globus3 setenv PATH... (1 Reply)
Discussion started by: binbintriangel
1 Replies

4. Shell Programming and Scripting

Renaming of files with different extensions on the same path to .found with the help of loop

hi , I have certain files at the same path with differeent extensions like .dat , .txt etc ...........i need to rename them with extension .found at the same path with the help of loop.... also the files names will be like this ; abc_2010_c1.dat abc_2010_c2.dat xyz_2010_c1.txt (2 Replies)
Discussion started by: amitpta
2 Replies

5. Solaris

configure: error: no acceptable ld found in $PATH

When i configure apache(2.2.15) on solaris-8 server it producing following error <configure: error: no acceptable ld found in $PATH configure failed for srclib/apr > please help me any to fix this error. :confused: ---------- Post updated at 09:44 PM ---------- Previous update was... (0 Replies)
Discussion started by: kalpeer
0 Replies

6. Shell Programming and Scripting

Retrieve directory path from full file path through sh

Hi, I have a file abcd.txt which has contents in the form of full path file names i.e. $home> vi abcd.txt /a/b/c/r1.txt /q/w/e/r2.txt /z/x/c/r3.txt Now I want to retrieve only the directory path name for each row i.e /a/b/c/ /q/w/e/ How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7 Replies

7. Solaris

samba network path not found

Hello I am new to solaris samba. After configuring samba through swat I can see the the machine listed under windows workgroup computers. when selected it shows the shared directories, But when trying to connect to shares shows a error network path not found. At the same time solaris network... (5 Replies)
Discussion started by: kc2dws
5 Replies

8. UNIX for Dummies Questions & Answers

Extract directory name from the full directory path in UNIX using shell scripting

My input is as below : /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/rebate/IFIND.REBTE.WROC.txt /splunk/scrubbed/loyal/IFIND.HELLO.WROC.txt /splunk/scrubbed/triumph/ifind.triumph.txt From the above input I want to extract the file names only . Basically I want to... (5 Replies)
Discussion started by: IshuGupta
5 Replies

9. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

10. UNIX for Beginners Questions & Answers

What is the difference ../directory path and ./directory path in ksh?

What is the difference ../directory path and ./directory path in ksh? (1 Reply)
Discussion started by: TestKing
1 Replies
ost::Process(3) 					     Library Functions Manual						   ost::Process(3)

NAME
ost::Process - A class for containing portable process related functions that help create portable code. SYNOPSIS
#include <process.h> Public Types typedef RETSIGTYPE(* Trap )(int) Public Member Functions bool lock (bool future=true) Lock a process in memory. void unlock (void) Unlock process pages. Static Public Member Functions static void detach (void) Detach current process into a daemon, posix only. static void attach (const char *devname) Attach the current process to another device or i/o session. static Trap setPosixSignal (int signo, Trap handler) Set a posix compliant signal handler. static Trap setInterruptSignal (int signo, Trap handler) Set system call interuptable signal handler. static int spawn (const char *exec, const char **argv, bool wait=true) Spawn a process and wait for it's exit code. static int join (int pid) Get the exit status of another process, waiting for it to exit. static bool cancel (int pid, int sig=0) Cancel a running child process. static const char * getEnv (const char *name) Get system environment. static void setEnv (const char *name, const char *value, bool overwrite) Set system environment in a standard manner. static const char * getConfigDir (void) Get etc prefix path. static const char * getHomeDir (void) Get home directory. static const char * getUser (void) Get user name. static bool setUser (const char *id, bool grp=true) Set user id by name. static bool setGroup (const char *id) Set the effective group id by name. static size_t getPageSize (void) Return the effective operating system page size. static void setPriority (int pri) Used to set process priority and optionally enable realtime. static void setScheduler (const char *policy) Used to set process scheduling policy. static void setRealtime (int pri=0) Portable shortcut for setting realtime... static bool isScheduler (void) Return true if scheduler settable. static bool isRealtime (void) Return true if realtime scheduling. Detailed Description A class for containing portable process related functions that help create portable code. These are typically referenced thru Process::xxx static member functions. Many of these members are used both for win32 and posix systems although some may be platform specific. Peocess wrapper class. Author: David Sugar dyfet@ostel.com Member Typedef Documentation typedef RETSIGTYPE(* ost::Process::Trap)(int) Member Function Documentation static void ost::Process::attach (const char *devname) [static] Attach the current process to another device or i/o session. It is deamonified and dissasociated with the prior parent process and controlling terminal. Parameters: devname path to attach to. static bool ost::Process::cancel (intpid, intsig = 0) [static] Cancel a running child process. Returns: 0 on success. Parameters: pid process id. sig cancel signal to apply. static void ost::Process::detach (void) [static] Detach current process into a daemon, posix only. Perhaps a similar method can be used for creating win32 'services'? static const char* ost::Process::getConfigDir (void) [static] Get etc prefix path. Returns: etc prefix. static const char* ost::Process::getEnv (const char *name) [static] Get system environment. Returns: system environ symbol. Parameters: name of symbol. static const char* ost::Process::getHomeDir (void) [static] Get home directory. Returns: user home directory. static size_t ost::Process::getPageSize (void) [static] Return the effective operating system page size. Returns: system page size. static const char* ost::Process::getUser (void) [static] Get user name. Returns: user login id. static bool ost::Process::isRealtime (void) [inline], [static] Return true if realtime scheduling. static bool ost::Process::isScheduler (void) [static] Return true if scheduler settable. static int ost::Process::join (intpid) [static] Get the exit status of another process, waiting for it to exit. Returns: exit code from process. Parameters: pid process id. bool ost::Process::lock (boolfuture = true) Lock a process in memory. Ideally you should be deep enough where additional memallocs for functions will not kill you, or use false for future. Returns: true if successful. Parameters: future pages as well... static void ost::Process::setEnv (const char *name, const char *value, booloverwrite) [static] Set system environment in a standard manner. Parameters: name of environment symbol to set. value of environment symbol. overwrite true if replace existing symbol. static bool ost::Process::setGroup (const char *id) [static] Set the effective group id by name. Returns: true if successful. static Trap ost::Process::setInterruptSignal (intsigno, Traphandler) [static] Set system call interuptable signal handler. #return previous handler. Parameters: signo signal no. handler trap handler. static Trap ost::Process::setPosixSignal (intsigno, Traphandler) [static] Set a posix compliant signal handler. Returns: previous handler. Parameters: signo signal no. handler trap handler. static void ost::Process::setPriority (intpri) [static] Used to set process priority and optionally enable realtime. static void ost::Process::setRealtime (intpri = 0) [static] Portable shortcut for setting realtime... static void ost::Process::setScheduler (const char *policy) [static] Used to set process scheduling policy. static bool ost::Process::setUser (const char *id, boolgrp = true) [static] Set user id by name. Returns: true if successful. static int ost::Process::spawn (const char *exec, const char **argv, boolwait = true) [static] Spawn a process and wait for it's exit code. In win32 this is done with the spawn system call. In posix, this is done with a fork, an execvp, and a waitpid. Warning: The implementation differences between posix and win32 systems may cause side effects. For instance, if you use atexit() and this spawn method, on posix systems the function set up with atexit() will be called when the parent process of the fork exits, which will not happen on Win32 systems. Returns: error code from process. Parameters: exec name of executable. argv list of command arguments. wait for process to exit before return. void ost::Process::unlock (void) Unlock process pages. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::Process(3)
All times are GMT -4. The time now is 10:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy