<program name> &
Gareth
> Do you know how is possible to start a program in shell in foreground, in
> background
Please, in future post related topics together, and if posting to both
comp.unix.shell and comp.unix.questions, then cross-post and not multiple-post.
That way I only have to read your message once.
--
Andrew Smallshaw
> > Do you know how is possible to start a program in shell in foreground, in
> > background
> if you use the '&'-sign you can put a pgm in the backgroud.
HTH,
Tom
--
-----------------
|-------------------------------------------------------|
| PSW Technologies IBM RISC/System Graphics |
| AIX GOS/PVT Bldg 45, 2L-070, Austin, TX |
|-------------------------------------------------------|
hi everyone,
i still try to get which done so that it knows about the shell built-ins
like exit etc...
i worked on it but still it won't run. i am pretty sure it is just a small
mistake. please help me out here.
thanks a lot
joyce
opath=$PATH
PATH=
($1 2> /dev/null ) && (echo 'built in shell' :exit 0)
echo x
PATH=/bin:/usr bin
case $# in
0) echo 'Usage: which command' 1>&2; exit 2
esac
for i in `echo $opath | sed 's/^:/.:/
s/::/:.:/g
s/:$/:./
s/:/ /g'`
do
if test -x $i/$1 # this is /bin/test
then # or /usr/bin/test
only
echo $i/$1
exit 0 # found it
fi
done
exit 1 #not found
2. C++ 3.0 static initializers invoke order on SunOS 4.x v. 5.3
3. PID of the program my shell script just started?
7. Can't start shell scripts by another program
9. !!Getting rid of auto start programs at start/Dialing up freeserve!!
10. Automatically starting program when GNOME starts
11. which file to start program on x start/login?
12. Start a program at X-Window start?
13. How to start a program when a Window Manager is started ?