Charles Muller wrote:
> I had thought that I could run this file by going to the /chuck
> directory and typing the file name. But it doesn't run. I get the
> response:
>
> bash: backup: command not found
>
> Can someone tell me what I am missing here? I am sorry to be so slow.
>
> Thanks again
On Sun, 2002-02-17 at 14:32, Chris Keelan wrote:
> 1. Create a subdirectory within /chuck called /bin and then add that to your
> path by modifying your .bashrc, or
This worked wonderfully.
Thanks so much for taking the time to explain this.
Chuck
Want to buy your Pack or Services from M
17 Feb 2002 14:27:46 +0900: In attempt to throw the authorities off his trail,
Charles Muller <[EMAIL PROTECTED]> transmitted:
>
> I had thought that I could run this file by going to the /chuck
> directory and typing the file name. But it doesn't run. I get the
> response:
>
> bash: backup: co
This is because '.' (the current directory) is not included in $PATH by
default for security reasons. Hence, to run 'backup' from within ~chuck,
the command would be './chuck' . Otherwise it will search the current $PATH.
Michael
--
Michael Viron <[EMAIL PROTECTED]>
Project Manager / Primary D
try ./backup
-Eric
On February 16, 2002 09:27 pm, Charles Muller wrote:
> Obviously, I am somewhat dense, but after all the feedback on creating
> an executable file to run my backups, apparently I am still missing
> something.
>
> I created a text file named "backup" which I have placed in my h
Obviously, I am somewhat dense, but after all the feedback on creating
an executable file to run my backups, apparently I am still missing
something.
I created a text file named "backup" which I have placed in my home
directory, named /home/chuck. The file contains the following lines:
-
, and don't have to use ./ or the full
path.
rgds
Frank
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Barran, Richard
Sent: Friday, 15 February 2002 5:31 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [newbie] Set Backup
> >I have a backu
Barran, Richard wrote:
> Also, when I want to run a script I've written myself, I just change to the
> directory the script is kept in, and type the script name. I don't prefix it
> with a "./"
> Am I missing something here?
Yes, maybe. Does this work because you have "." on your path, or does
i
On Fri, 15 Feb 2002 09:31:09 -
"Barran, Richard" <[EMAIL PROTECTED]> revealed these words to me:
>
> Speaking as a newbie... I thought scripts had to end with a ".sh"? Or is
> that just a convention?
> Also, when I want to run a script I've written myself, I just change to the
> directory th
On Friday 15 February 2002 11:31, Barran, Richard wrote:
>
> Speaking as a newbie... I thought scripts had to end with a ".sh"?
> Or is that just a convention?
It's just a convention, so you know it's a script. If it's marked as
an executable, the system will execute it whatever (though you nee
> >I have a backup that I want to run daily, that goes
> something like this
> >
> >$ tar cvzf /mnt/win_d/docs/e-mail/evolution/evol.tar.gz
> >/home/chuck/evolution
> >
> >
> >I would like to save this in a file that I can run as a
> command, like a
> >BAT file in DOS. I assume then, that I woul
On 15 Feb 2002 14:42:50 +0900
Charles Muller <[EMAIL PROTECTED]> revealed these words to me:
> I have been going through some Linux books, and I get the general idea,
> but I am not sure exactly how to go about this.
>
> I have a backup that I want to run daily, that goes something like this
>
On 15 Feb 2002 14:42:50 +0900 Charles wrote:
>I have been going through some Linux books, and I get the general idea,
>but I am not sure exactly how to go about this.
>
>I have a backup that I want to run daily, that goes something like this
>
>$ tar cvzf /mnt/win_d/docs/e-mail/evolution/evol.tar
I have been going through some Linux books, and I get the general idea,
but I am not sure exactly how to go about this.
I have a backup that I want to run daily, that goes something like this
$ tar cvzf /mnt/win_d/docs/e-mail/evolution/evol.tar.gz
/home/chuck/evolution
I would like to save thi
14 matches
Mail list logo