Re: [newbie] Set Backup

2002-02-17 Thread Ronald J. Hall
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

Re: [newbie] Set Backup

2002-02-16 Thread Charles Muller
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

Re: [newbie] Set Backup

2002-02-16 Thread Chris Keelan
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

Re: [newbie] Set Backup

2002-02-16 Thread Michael Viron
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

Re: [newbie] Set Backup

2002-02-16 Thread Eric Paynter
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

Re: [newbie] Set Backup

2002-02-16 Thread Charles Muller
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: -

RE: [newbie] Set Backup

2002-02-15 Thread Franki
, 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

Re: [newbie] Set Backup

2002-02-15 Thread Randy Kramer
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

Re: [newbie] Set Backup

2002-02-15 Thread Anuerin G. Diaz
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

Re: [newbie] Set Backup

2002-02-15 Thread Robin Turner
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

RE: [newbie] Set Backup

2002-02-15 Thread Barran, Richard
> >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

Re: [newbie] Set Backup

2002-02-14 Thread Anuerin G. Diaz
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 >

Re: [newbie] Set Backup

2002-02-14 Thread Paul
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

[newbie] Set Backup

2002-02-14 Thread Charles Muller
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