Am 2006-08-18 05:22:12, schrieb Mumia W.:
> Sorry Michelle.
Oh...
> It's too bad this isn't a news-server that supports cancels
> because I would've canceled my post.
>
> We all contribute in our own ways with the resources we have.
> You are in the military; you don't have the freedom to do
On 08/11/2006 12:42 PM, Mumia W. wrote:
On 07/30/2006 03:39 PM, Michelle Konzack wrote:
LOCATION=$(dirname $(readlink /proc/$$/exe))
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
Michelle Konzack, it's August 11, 2006, and yo
On 07/30/2006 03:39 PM, Michelle Konzack wrote:
LOCATION=$(dirname $(readlink /proc/$$/exe))
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
Michelle Konzack, it's August 11, 2006, and you posted a
message you created twelve da
LOCATION=$(dirname $(readlink /proc/$$/exe))
Greetings
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant ##
Paolo Pantaleo wrote:
>I have a script in something like
>/media/sda1/backup/script.sh
>since sda1 could be also sda2 or anything, I want to determintate at
>run-time what is the directory in which the script is located, how can
>I do?
Here's an unportable implementation dependent way:
script_
On 6/18/06, Paolo Pantaleo <[EMAIL PROTECTED]> wrote:
I have a script in something like
/media/sda1/backup/script.sh
since sda1 could be also sda2 or anything, I want to determintate at
run-time what is the directory in which the script is located, how can
I do?
pwd doesn't work, since I cuold
On Monday 19 June 2006 03:43, Erik Steffl wrote:
> Paolo Pantaleo wrote:
> > 2006/6/18, Paolo Pantaleo <[EMAIL PROTECTED]>:
> >> I have a script in something like
> >>
> >> /media/sda1/backup/script.sh
> >>
> >> since sda1 could be also sda2 or anything, I want to determintate
> >> at run-time what
On Mon, 2006-06-19 at 09:18 +0200, Paolo Pantaleo wrote:
> 2006/6/18, Paolo Pantaleo <[EMAIL PROTECTED]>:
> > I have a script in something like
> >
> > /media/sda1/backup/script.sh
> >
> > since sda1 could be also sda2 or anything, I want to determintate at
> > run-time what is the directory in whi
On 19/06/06, Paolo Pantaleo <[EMAIL PROTECTED]> wrote:
2006/6/18, Paolo Pantaleo <[EMAIL PROTECTED]>:
> I have a script in something like
>
> /media/sda1/backup/script.sh
>
> since sda1 could be also sda2 or anything, I want to determintate at
> run-time what is the directory in which the script
Paolo Pantaleo wrote:
2006/6/18, Paolo Pantaleo <[EMAIL PROTECTED]>:
I have a script in something like
/media/sda1/backup/script.sh
since sda1 could be also sda2 or anything, I want to determintate at
run-time what is the directory in which the script is located, how can
I do?
pwd doesn't wor
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paolo Pantaleo wrote:
> 2006/6/18, Paolo Pantaleo <[EMAIL PROTECTED]>:
>> I have a script in something like
>>
>> /media/sda1/backup/script.sh
>>
>> since sda1 could be also sda2 or anything, I want to determintate at
>> run-time what is the directory
2006/6/18, Paolo Pantaleo <[EMAIL PROTECTED]>:
I have a script in something like
/media/sda1/backup/script.sh
since sda1 could be also sda2 or anything, I want to determintate at
run-time what is the directory in which the script is located, how can
I do?
pwd doesn't work, since I cuold call t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paolo Pantaleo wrote:
> I have a script in something like
>
> /media/sda1/backup/script.sh
>
> since sda1 could be also sda2 or anything, I want to determintate
> at run-time what is the directory in which the script is located,
> how can I do?
>
>
The command with which the skript was invoked is stored in $0. That might be
what you need.
Am Sonntag, 18. Juni 2006 19:45 schrieb Paolo Pantaleo:
> I have a script in something like
>
> /media/sda1/backup/script.sh
>
> since sda1 could be also sda2 or anything, I want to determintate at
> ru
I have a script in something like
/media/sda1/backup/script.sh
since sda1 could be also sda2 or anything, I want to determintate at
run-time what is the directory in which the script is located, how can
I do?
pwd doesn't work, since I cuold call the script from some other direcotry
Thnx
PAolo
15 matches
Mail list logo