mething like this would do it
>
> --- pythstart.sh --
> #!/bin/bash
>
> ps -A | grep -e "[ /]python2.1\>" 1> /dev/null 2> /dev/null
>
> if[ $? != 0]; then
> python2.1
> fi
>
> -end pythstart.sh-
Hi all,
i would like to write a simple shell script that checks for the existence of a certain
programme, in this case python2.1. if the
programme is active, do nothing, if not, start it.
i did think of doing a ps -A |grep python2.1, but then i have no idea how to
intergrate that in the shell
Hi,
i have just installed a new Debian GNU/Linux distrib on my i386 PC. i had to move the
machine by car to it's new location, and when
i plugged it in, all i got at boot time was
LI
and it just hangs there!
the machine worked fine before i moved it. i was very carefull with the box as it was
be
hi,
i'm realy no expert on this subject, but one of my freinds how was living at my place
for 6 months had a mac with OSX. it didn't
cause any problems to have long file names. i burnt the CDs on Win2k and used them on
his mac. having sayed that, i've never burnt
them on a linux box.
--Tim
>
hi all,
sorry, real newbie alert ;)
on a version of mandrake i had installed, when i typed ls, the colors appered.
i now use Cygwin on a windows machine, but my question is :
do i have to place a shortcut in a file somewhere saying ls = ls --color=auto
Thanks for your time
tim
-
To unsubscribe