Re: Executing script

2005-07-04 Thread Douglas Ward
On Tuesday 05 July 2005 01:10, j Mak wrote: > --- Anders Breindahl <[EMAIL PROTECTED]> wrote: > > On Tuesday 05 July 2005 05:48, j Mak wrote: > > > Hi, > > > > > > I have a script for ejecting cd from the drive. > > > > > only &g

Start-Up script

2005-07-14 Thread Dan Priestley
ed to have a mouse and keyboard plugged in? How do I write the script for that? -Dan Dan W. Priestley Phone: (248) 642-4765 Cell: (248) 321-2347 Start your day with Yahoo! - make it your home page http://www.yahoo.com

error in script

2006-01-25 Thread Jon Miller
Trying to run a test to see if certain files exists in a certain location using the following: # Check files at location LOCSAV="/usr/local/sop" if [ -e $(ls -l $LOCSAV/*.ide) ] it comes up with an error, can some lend a hand in fixing this? Thanks Trying to run a test to see if certain files

poff script problem

2006-03-06 Thread Jude DaShiell
If a user account is added to the dip group that user on reboot can use pon dsl-provider. That same user though cannot use poff dsl-provider, it has to be used by root. I just found this out so those using roaring penguin with dsl connections may want to take notice. Probably a good workarou

Shell script question

2006-03-21 Thread Andras Lorincz
Hi,   What I want is this: I have a file in which a list of files or directories are present, like below (let's name this file input_file):   /mnt/hda6/File1 /mnt/hda5/Directory1 /mnt/hda6/File2 /mnt/hda6/File3 /mnt/hda6/Directory2 ...   In a shell script I want to read this file line by

init script editor

2006-04-17 Thread lostson
Hello I was talking to a friend of mine about speeding up the boot process and he said there was a nice gui init script editor for debian but couldnt remember the name. Anyone know the name of this tool, thanks. -- LostSon http://www.lostsonsvault.org /\ \ \ \__/ \__/ \ \ (oo

procmail script question

2001-11-11 Thread Lang Hurst
I use the following procmail script to make festival speak the FROM and SUBJECT headings of new email through my speakers: SUBJECT=`formail -xSubject: \ | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'` SENDER=`formail -xFrom: \ | expand | sed -e 's/^[ ]*//g' -e 

Re: Sed script

1999-10-22 Thread Eric G . Miller
> MSH...OBR|0001||997841138254|..F > > I can use "OBR" as the starting point of the search and then use the "|" to > move to the begginning of the number... > > What would be the best way of doing this.. maybe i can use a vi script to > search and ex

Re: Sed script

1999-10-22 Thread Eric G . Miller
Duh, even easier: $ cut --delimiter='|' --fields=N < infile > outfile where N = the fields you want. See man cut. -- ++ | Eric G. Milleregm2@jps.net | | GnuPG public key: http://www.jps.net/egm2/gpg.asc | +

Re: Sed script

1999-10-22 Thread Joakim Svensson
Hi all, >i need to extract the number 997841138254, or any other number from that >position, from an hl7 file. The file will look like this : > >MSH...OBR|0001||997841138254|..F > >I can use "OBR" as the starting point of the search and then use the "|" to >move to the begginning of

Re: login script

1999-11-20 Thread Eric G . Miller
On Sat, Nov 20, 1999 at 02:05:56PM -0500, Antonio Rodriguez wrote: > after fixing my keyboard settings with xkeycaps, it told me to modify my > login script to contain a line like > xmodemap~ ... etc > Where is my login script? I already learned to vi a text file (from > window

RE: pon script

1999-11-24 Thread Pollywog
On 24-Nov-1999 Antonio Rodriguez wrote: > What could the reason be for the following? I have a serial modem in > tty0, now, some times when I do pon it works, some times it does not. I > didn't think that a chain of instructions could be moody. > Please help. Do you mean ttyS0 ? Could that be th

Re: pon script

1999-11-24 Thread Antonio Rodriguez
Sorry, is ttyS0, rushed to write. That is not the problem, remember, it works at times Pollywog wrote: > On 24-Nov-1999 Antonio Rodriguez wrote: > > What could the reason be for the following? I have a serial modem in > > tty0, now, some times when I do pon it works, some times it does not. I >

Re: pon script

1999-11-24 Thread aphro
pppd will log to /var/log/messages include an excerpt from there when you post, if you need to it should tell u exactly wahts goin on nate On Wed, 24 Nov 1999, Antonio Rodriguez wrote: arodri >What could the reason be for the following? I have a serial modem in arodri >tty0, now, some times whe

Re: pon script

1999-11-25 Thread Shaul Karl
> What could the reason be for the following? I have a serial modem in > tty0, now, some times when I do pon it works, some times it does not. I > didn't think that a chain of instructions could be moody. > Please help. > Chain of instructions ? Perhaps the link is not down completely, or some lo

Shell script anomaly

2002-05-14 Thread Alex Malinovich
I'm sure that I might be missing something obvious here, but after a few hours I still haven't figured it out. I'm writing a script to detect whether xscreensaver is running and activate it if it is. If not, it launches the daemon first and then activates. From the command line

lpd init script

2001-03-28 Thread Stephen E. Hargrove
Through some absolute idiocy on my part, I managed to trash my /etc/init.d/lpd script this morning. To further prove that I'm incapable, I don't have a back up of it. Does anyone know where I can download this script, or could someone possible email me their's? I've made

offtopic:gimp script-fu

2001-04-19 Thread alephtnull
Hi! I know this is offtopic but maybe someone knows about gimp here... I want to use script-fu to create a quick logo but everytime I try to save it (as a jpeg or bmp) the image is grayscale and not the original color in script-fu. Anybody knows how I can save whatever I create logo in script-fu

apache startup script

2001-04-20 Thread peanut butter
Hi, I felt the need to remove the apache installation I had on one of my Debian boxes to reinstall it as some things weren't making sense or as I would expect so I decided to start from scratch (with the default httpd.conf, etc.). At some point I deleted the /etc/init.d/apache wanting to "refresh"

Dialup script question

2001-05-07 Thread Kieren Diment
My computer connects to the internet with the following dialup script at the moment: pon sleep 45s fetchmail I would like to get rid of the line sleep 45s and replace it with a command that starts up the fetchmail process once pon has successfully negotiated a connection to the internet (my

remote login script

2005-11-22 Thread Amish Rughoonundon
Hi, I would like to do something only when i remote login to my debian box. I would like to run export DISPLAY=[client ip]:0.0 but i don't want linux to do this if I login on the box itself. Thanks Amish -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble?

gdm reboot script

2005-12-15 Thread Pablo Vanwoerkom
Hi, When you request a reboot or system halt from gdm it shows a new textconsole screen with color activated. Anybody know where i can find that script without downloading the gdm source and looking for it? Thanks! P -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: Script challenge

2006-01-14 Thread Matthijs
On Sat, 14 Jan 2006 11:40:13 +0100, John Smith <[EMAIL PROTECTED]> wrote: > which heroe can tell me why the following does not work : > > #!/bin/sh > cat #!/bin/sh > NOWS=$(date +%S) > NOWS=${NOWS#0} > NOWM=$(date +%M) > NOWM=${NOWM#0} > NOWH=$(date +%H) > NOWH=${NOWH#0}

Re: Script challenge

2006-01-14 Thread Simo Kauppi
what you want cat to the newscriptfile.sh, you need to escape all the $s to prevent the parameter expansions. I.e, if you want to cat the whole script into the newscriptfile.sh without expanding any parameters on the way, you have something like this: #!/bin/sh cat <newscriptfile.sh #!/bin/sh NO

Re: Script challenge

2006-01-14 Thread David Jardine
On Sat, Jan 14, 2006 at 11:37:42AM +0100, John Smith wrote: > Hi All, > > which heroe can tell me why the following does not work : > > #!/bin/sh > cat #!/bin/sh > NOWS=$(date +%S) > NOWS=${NOWS#0} > NOWM=$(date +%M) > NOWM=${NOWM#0} > NOWH=$(date +%H) > NOWH=${NOWH#0} >

Re: Script challenge

2006-01-14 Thread Almut Behrens
On Sat, Jan 14, 2006 at 02:39:17PM +0200, Simo Kauppi wrote: > On Sat, Jan 14, 2006 at 11:37:42AM +0100, John Smith wrote: > > > > #!/bin/sh > > cat [snip] > > It's driving me nuts!!! > > Depending on what you want cat to the newscriptfile.sh, you need to > escape all the

Re: Script challenge

2006-01-14 Thread David Jardine
MINUTE=$((${NOWM} + ${FROMNOW})) > MINUTE=$((${MINUTE} % 60)) > HOUR=$((${NOWM} + ${FROMNOW})) > HOUR=$((${HOUR} / 60)) > HOUR=$((${NOWH} + ${HOUR})) > HOUR=$((${HOUR} % 24)) > echo $HOUR" "$MINUTE' >newscriptfile.sh > Ah, I know a little more now abou

Re: Script challenge

2006-01-14 Thread John Smith
On Sat, 14 Jan 2006 12:26:35 +0100 Matthijs <[EMAIL PROTECTED]> wrote: > On Sat, 14 Jan 2006 11:40:13 +0100, John Smith <[EMAIL PROTECTED]> > wrote: > > > which heroe can tell me why the following does not work : > > > > #!/bin/sh > > cat > #!/bin/sh > > NOWS=$(date +%S)

Re: Script challenge

2006-01-14 Thread John Smith
driving me nuts!!! > That's why I like Debian, and especially the userlist: 3 correct answers within a few hours: - quoting the whole contents for the new script file (David) (simple, but accidentily inserting a quote within the block fsck's up your whole new script) - escape all

OT: script languages

2006-08-02 Thread chiappa
Hello, I need to write several scripts for file manipulation, for example: change name files, read specific columns and write them in a new file, call fortan programs to read these files, etc. Because I have to learn how to do this, I wonder what scrip language is better: Perl or Phyton? or anothe

RE: script languages

2006-08-02 Thread David Christensen
Marcelo wrote: > I wonder what scrip language is better: Perl or Phyton? I've been using Perl for 7+ years and have found it to be very useful. The key concept is Perl's slogan -- "There's more than one way to do it" -- TIMTOWTDI, pronounced "Tim Toady". Perl is a very flexible language -- the

Re: script languages

2006-08-03 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Christensen wrote: > Marcelo wrote: >> I wonder what scrip language is better: Perl or Phyton? > > I've been using Perl for 7+ years and have found it to be very > useful. > > > The key concept is Perl's slogan -- "There's more than one way to

RE: script languages

2006-08-03 Thread David Christensen
Ron Johnson wrote: > My big problem with Perl is "Special Variables". They are a big fat > maintainability and debugging trap. They're powerful tools, providing easy access to things "under the hood"; use with discretion. Does Python have equivalents? David -- To UNSUBSCRIBE, email to [EM

Re: script languages

2006-08-03 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Christensen wrote: > Ron Johnson wrote: >> My big problem with Perl is "Special Variables". They are a >> big fat maintainability and debugging trap. > > They're powerful tools, providing easy access to things "under > the hood"; use with dis

Bash script forking

2006-10-10 Thread Michelle Konzack
Hello, I have a BASH script which run as daemon, and now I want to fork a process which is in a function but it does not more work. (I have done this for 2 years under Woody but in the meentime forgotten how) 8<-- !/bin/bash fnc_fork() { FORK=$1 LOG=$2/.prog

Re: bash script

2005-09-17 Thread Thomas Adam
--- Rodney Richison <[EMAIL PROTECTED]> wrote: > But I'd like to add multiple lines at one time. Like the ones below. > I > realize I could cat them in from a text file, but I'd like to make > this > script non-dependant of other text files. > > ex

Re: bash script

2005-09-17 Thread Almut Behrens
to add multiple lines at one time. Like the ones below. I > realize I could cat them in from a text file, but I'd like to make this > script non-dependant of other text files. > > export LS_OPTIONS='--color=auto' > eval `dircolors` > alias ls='ls $LS

Re: bash script

2005-09-17 Thread Rodney Richison
add multiple lines at one time. Like the ones below. I realize I could cat them in from a text file, but I'd like to make this script non-dependant of other text files. export LS_OPTIONS='--color=auto' eval `dircolors` alias ls='ls $LS_OPTIONS -F' alias ll='ls $L

Re: bash script

2005-09-18 Thread Joe Smith
I was unclear. Sorry bout that. However, you hit the nail on the head! Looks like an execellant way to achieve what I was wanting to achieve! Can I give points in here for the winner. :) Well of course you can, but you first need to have points to give. I don't recall anybody granting you

startup script oops

2005-10-12 Thread Glenn English
apache and discover use /bin/sed, not /usr/bin/awk. apache2, alsa, and hylafax use awk, though... -- Glenn English [EMAIL PROTECTED] GPG ID: D0D7FF20 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

boot-time script

2009-01-26 Thread Umarzuki Mochlis
I tried making boot-time script for deluge like below #!/bin/bash /usr/bin/deluge Then I ran update-rc.d to the deluge script hat I saved in /etc/init.d # update-rc.d deluge defaults But when I rebooted my PC, it didn't start. Please tell me where I got it wrong? -- Regards, Umarzuki Mo

Re: Slow Script

2009-02-03 Thread Eugene V. Lyubimkin
Gorka wrote: > Hi! I've got a perl script with this for: > > for (my $j=0;$j<=$#fichero1;$j++) > { > if (@fichero1[$j] eq $valor1) > { > $token = 1; > } > } > Try foreach (@fichero1) { if ($_ eq $valor1) { $token = 1; bre

Re: Slow Script

2009-02-03 Thread Dave Sherohman
On Tue, Feb 03, 2009 at 06:14:48PM +0100, Gorka wrote: > Hi! I've got a perl script with this for: > > for (my $j=0;$j<=$#fichero1;$j++) > { > if (@fichero1[$j] eq $valor1) > { > $token = 1; > } > } > > The problem is that fichero

Re: Slow Script

2009-02-03 Thread Boyd Stephen Smith Jr.
On Tuesday 03 February 2009 11:24:37 Dave Sherohman wrote: > Given the small piece of code that you posted and the magnitude of the > numbers you've stated, I strongly suspect that you probably want to use > a database for this, Or, at the very least, a HashTable, Trie, or SearchTree. -- Boyd Ste

RE: Slow Script

2009-02-03 Thread Stackpole, Chris
> From: Dave Sherohman [mailto:d...@sherohman.org] > Sent: Tuesday, February 03, 2009 11:25 AM > Subject: Re: Slow Script > > On Tue, Feb 03, 2009 at 06:14:48PM +0100, Gorka wrote: > > Hi! I've got a perl script with this for: > > > > for (my $j=0;$

Re: Slow Script

2009-02-03 Thread Joel Roth
On Tue, Feb 03, 2009 at 06:14:48PM +0100, Gorka wrote: > Hi! I've got a perl script with this for: > > for (my $j=0;$j<=$#fichero1;$j++) > { > if (@fichero1[$j] eq $valor1) > if ($fichero1[$j] eq $valor1) ^^^ This is a beginner's mistake

Re: Slow Script

2009-02-03 Thread Chris Jones
On Tue, Feb 03, 2009 at 12:14:48PM EST, Gorka wrote: > Hi! I've got a perl script with this for: > > for (my $j=0;$j<=$#fichero1;$j++) > { > if (@fichero1[$j] eq $valor1) > { > $token = 1; > } > } > The problem is that fichero1 h

Re: Slow Script

2009-02-03 Thread Alex Samad
On Tue, Feb 03, 2009 at 09:02:52PM -0500, Chris Jones wrote: > On Tue, Feb 03, 2009 at 12:14:48PM EST, Gorka wrote: > > Hi! I've got a perl script with this for: > > > > for (my $j=0;$j<=$#fichero1;$j++) > > { > > if (@fichero1[$j] e

Re: Slow Script

2009-02-04 Thread Dave Sherohman
On Tue, Feb 03, 2009 at 09:02:52PM -0500, Chris Jones wrote: > More seriouly, when you are dealing with 32 million records, one major > venue for optimization is to keep disk access to a minimum. Disk access > IIRC is measured in milliseconds, RAM access in nanoseconds and above.. > > Do the math.

Re: Slow Script

2009-02-04 Thread Steve Lamb
Dave Sherohman wrote: > Given that the posted loop is operating entirely on Perl in-memory > arrays, the OP is unlikely to be deliberately[1] accessing the disk > during this process. TBH given the fragment he posted there's no way to help him. There isn't enough there to make any meaningful

Re: Slow Script

2009-02-04 Thread Chris Jones
On Wed, Feb 04, 2009 at 06:17:43AM EST, Dave Sherohman wrote: > On Tue, Feb 03, 2009 at 09:02:52PM -0500, Chris Jones wrote: > > More seriouly, when you are dealing with 32 million records, one major > > venue for optimization is to keep disk access to a minimum. Disk access > > IIRC is measured in

Re: Slow Script

2009-02-04 Thread Chris Jones
Hmm.. 32 bytes records.. maybe a bare-bones ldap directory? Naturally, with 300 bytes records, you need 10G of spare ram .. etc. Another thing.. how do you guarantee your 1GB.. (10GB.. 100GB.. etc.) of spare ram is available when your script starts running? Because if not, wouldn't that send

Re: Slow Script

2009-02-04 Thread Alex Samad
> > Naturally, with 300 bytes records, you need 10G of spare ram .. etc. > > Another thing.. how do you guarantee your 1GB.. (10GB.. 100GB.. etc.) of > spare ram is available when your script starts running? > > Because if not, wouldn't that send your system paging/swapping

Re: Slow Script

2009-02-04 Thread Ron Johnson
On 02/04/2009 08:04 PM, Alex Samad wrote: On Wed, Feb 04, 2009 at 08:45:35PM -0500, Chris Jones wrote: On Wed, Feb 04, 2009 at 01:57:04AM EST, Alex Samad wrote: [silly time] 32 * 4 = 128 so with 128M of memory he could hold 32 Million long int - I realise the record is probably got more th

RE: Slow Script

2009-02-05 Thread Gorka
> -Mensaje original- > De: Ron Johnson [mailto:ron.l.john...@cox.net] > Enviado el: jueves, 05 de febrero de 2009 3:30 > Para: debian-user@lists.debian.org > Asunto: Re: Slow Script > > On 02/04/2009 08:04 PM, Alex Samad wrote: > > On Wed, Feb 04, 2009 at 08

Re: Slow Script

2009-02-05 Thread Dave Sherohman
On Wed, Feb 04, 2009 at 08:30:23PM -0600, Ron Johnson wrote: > On 02/04/2009 08:04 PM, Alex Samad wrote: > >well he is only comparing int by the looks of (we are just guessing > >until we get more info) so 4 long int records ... > > Record overhead? (Python has it. Don't know about Perl.) Oh, y

Re: setuid script

2009-03-22 Thread Jochen Schulz
cesarino vinh: > > why doesn't setuid work? The kernel ignores the SUID bit on all script files (anything which is run by a she-bang line). http://www.faqs.org/faqs/unix-faq/faq/part4/section-7.html J. -- I will not admit to failure even when I know I am terribly mistaken and ha

Re: setuid script

2009-03-22 Thread cesarino vinh
Ok, thank you, so that's why it ignores it :) I just wanted to run my browser with a different user, because it's safer :S :( How can I do that? I'm using wright now the "gksu" - and then run as user... so I can't make a shell script to do that, and I don&

Re: setuid script

2009-03-22 Thread Chris Davies
cesarino vinh wrote: > I just wanted to run my browser with a different user, because it's > safer :S Safer than what...? > How can I do that? I'm using wright now the "gksu" - and then run as user... > so I can't make a shell script to do that, and I

Re: setuid script

2009-03-22 Thread Douglas A. Tutty
be in a separate user's sandbox. > > How can I do that? I'm using wright now the "gksu" - and then run as user... > > so I can't make a shell script to do that, and I don't want to modify the > > browser's executable, and I'm not in programmi

Re: setuid script

2009-03-25 Thread cesarino vinh
This is how I start my browser under GNOME: Alt+F2 then: gksu then I choose another user, and run iceweasel, I just want to make that "more comfortable" by just clicking "on something".

tty switching script

2008-10-04 Thread Hugo Vanwoerkom
Hi, How would you write a script that simulates a series of Alt+Ctrl+F? Including F7 for X and back into text consoles? Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Ldap browsing script

2009-04-28 Thread Philippe Le Gal
Hi I'm looking for a simple example of a bash script that browse a ldap and create a homedir+Maildir folder for each user found in the database. Thanks Philippe -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble?

nmap, script scan

2009-05-06 Thread Umarzuki Mochlis
ua/5.1/http.lua' no file '/usr/local/lib/lua/5.1/http/init.lua' no file '/usr/lib/nmap/nselib-bin/http.so' no file './http.so' no file '/usr/local/lib/lua/5.1/http.so' no file '/usr/local/lib/lua/

Re: quota script :)

2009-12-05 Thread Tudod Ki
I meant to say column 8) :D not row... --- On Sat, 12/5/09, Tudod Ki wrote: From: Tudod Ki Subject: quota script :) To: "Debian User" Date: Saturday, December 5, 2009, 7:19 PM How could I write a script that enables quota on that partition, what contains a specific users home dir

smbprint script problem

2002-01-16 Thread Kent West
I'm trying to print to a printer hanging off a WinNT box using smbprint. Here's the relevant code of /etc/samba/smbprint: == # # Some debugging help, change the >> to > if you want to save space. # echo "SERVER = $server" >> $logfile echo "SERVICE = $service" >

Re: bash script

2001-06-17 Thread Colin Watson
thomas <[EMAIL PROTECTED]> wrote: >i'm trying to write a simple bash script but with no success so far. >what this script basically does: it checks if my second isdn line is on >and if not it tries to connect it until well until its connected :) it >usually takes more

Re: bash script

2001-06-18 Thread thomas
> Ugh. Using '[' (or 'test', for which it's an alias) in conjunction with > a pipeline is often a sign you're doing the wrong thing. Try this > instead: > while isdnctrl status ippp1 | grep -q not; do > ... > done ... > lsof -n | grep lftp | tr -s ' ' | cut -d' ' -f9 > I'm assuming h

mail script attachment

2001-06-30 Thread ben djaya
Hi, I have some binary files, and I need to mail it separately. For each file I want to attach it in a mail. Can somebody help me make a script, so that they can be mailed automatically. I hope I can use pine for the script, or mail is OK. Thank you in advance. Benny

renamer script help..

2010-02-21 Thread Vadkan Jozsef
The script: http://pastebin.ca/1804613 but it's not working too well: http://pastebin.ca/1804612 e.g.: the script makes "arviztur-ukorfurogep" from "árvíztűrő tükörfúrógép", when it should be: "arvizturo-tukorfurogep" Has someone a similar script, that wor

Network manager script

2016-09-27 Thread vincenzo daniele
I have a problem in my pc with debian. I can't off debian Why freeze with network manager script dispatcher service Inviato da iPhone

bash script globbing

2015-09-20 Thread rlharris
I have been using the following script (named "enscript+") as a substitute for the package "a2ps": #!/bin/bash enscript --media=letter -2 --landscape --borders \ --header='$n|A.D. $D{%Y.%m.%d}|$* gmt | Page $% of $=' "$1" The script works p

Re: Backup script

2011-06-01 Thread James Robertson
> Hi :) > > I'm writing a script to backup the 4 Linux installs and the MBRs on my > machine. > > Is there a way to copy all 4 Linux by running one of those installs? > > With a lack of knowledge I would backup the 3 Linux that aren't running, > by the runn

Re: Backup script

2011-06-01 Thread Ralf Mardorf
On Wed, 2011-06-01 at 20:12 +1000, James Robertson wrote: > > Hi :) > > I'm writing a script to backup the 4 Linux installs and the > MBRs on my > machine. > > Is there a way to copy all 4 Linux by running on

Re: Backup script

2011-06-01 Thread Ralf Mardorf
On Wed, 2011-06-01 at 12:26 +0200, Ralf Mardorf wrote: > On Wed, 2011-06-01 at 20:12 +1000, James Robertson wrote: > > > > Hi :) > > > > I'm writing a script to backup the 4 Linux installs and the > > MBRs on my > >

Re: Backup script

2011-06-01 Thread Camaleón
On Wed, 01 Jun 2011 10:27:38 +0200, Ralf Mardorf wrote: > I'm writing a script to backup the 4 Linux installs and the MBRs on my > machine. > > Is there a way to copy all 4 Linux by running one of those installs? > > With a lack of knowledge I would backup the 3 Linux th

Re: Backup script

2011-06-01 Thread James Robertson
> > > > > > # cd /mount_point_linux_root_directory > > # tar czf /path_for_backups/backup_name.tar.gz * > > > > > Backup up your running machine using tar is fine but you should probably exclude some directories. Something like this would do (you may want to remove some of the excludes like logs f

Re: Backup script

2011-06-01 Thread Hugo Vanwoerkom
Ralf Mardorf wrote: Hi :) I'm writing a script to backup the 4 Linux installs and the MBRs on my machine. Is there a way to copy all 4 Linux by running one of those installs? With a lack of knowledge I would backup the 3 Linux that aren't running, by the running Linux and than bo

Re: Backup script

2011-06-01 Thread David Christensen
On 06/01/2011 01:27 AM, Ralf Mardorf wrote: I'm writing a script to backup the 4 Linux installs and the MBRs on my machine. Is there a way to copy all 4 Linux by running one of those installs? With a lack of knowledge I would backup the 3 Linux that aren't running, by the running Linu

Re: Backup script

2011-06-01 Thread mark
On Wednesday 01 June 2011 10:23:48 am Hugo Vanwoerkom wrote: > Ralf Mardorf wrote: > > Hi :) > > > > I'm writing a script to backup the 4 Linux installs and the MBRs > > on my machine. > > > > Is there a way to copy all 4 Linux by running one of those &g

Re: Backup script

2011-06-01 Thread shawn wilson
On Jun 1, 2011 8:29 PM, "mark" wrote: > > On Wednesday 01 June 2011 10:23:48 am Hugo Vanwoerkom wrote: > > Ralf Mardorf wrote: > > > Hi :) > > > > > > I'm writing a script to backup the 4 Linux installs and the MBRs > > > on my mac

Re: Backup script

2011-06-01 Thread Ralf Mardorf
On Wed, 2011-06-01 at 20:54 -0400, shawn wilson wrote: > > On Jun 1, 2011 8:29 PM, "mark" wrote: > > > > On Wednesday 01 June 2011 10:23:48 am Hugo Vanwoerkom wrote: > > > Ralf Mardorf wrote: > > > > Hi :) > > > > > > &

Re: Backup script

2011-06-01 Thread Tom Furie
On Thu, Jun 02, 2011 at 03:03:18AM +0200, Ralf Mardorf wrote: > It's also very time consuming to compile all the apps again, that need > to be compiled, the kernel, jack2 from svn etc.. Just saving the data > isn't an option. So, backup your configs, data, and prebuilt source trees ready for a "su

Re: Backup script

2011-06-01 Thread Ralf Mardorf
On Thu, 2011-06-02 at 02:26 +0100, Tom Furie wrote: > On Thu, Jun 02, 2011 at 03:03:18AM +0200, Ralf Mardorf wrote: > > It's also very time consuming to compile all the apps again, that need > > to be compiled, the kernel, jack2 from svn etc.. Just saving the data > > isn't an option. > > So, back

Re: Backup script

2011-06-01 Thread Nico Kadel-Garcia
On Wed, Jun 1, 2011 at 4:27 AM, Ralf Mardorf wrote: > Hi :) > > I'm writing a script to backup the 4 Linux installs and the MBRs on my > machine. > > Is there a way to copy all 4 Linux by running one of those installs? > > With a lack of knowledge I would backup th

Re: Backup script

2011-06-01 Thread shawn wilson
On Jun 2, 2011 12:30 AM, "Nico Kadel-Garcia" wrote: > > On Wed, Jun 1, 2011 at 4:27 AM, Ralf Mardorf wrote: > > Hi :) > > > > I'm writing a script to backup the 4 Linux installs and the MBRs on my > > machine. > > > > Is there a

Re: Backup script

2011-06-02 Thread Ralf Mardorf
On Thu, 2011-06-02 at 01:01 -0400, shawn wilson wrote: > > On Jun 2, 2011 12:30 AM, "Nico Kadel-Garcia" wrote: > > > > On Wed, Jun 1, 2011 at 4:27 AM, Ralf Mardorf > wrote: > > > Hi :) > > > > > > I'm writing a script to

Re: Backup script

2011-06-02 Thread Tom Furie
On Thu, Jun 02, 2011 at 04:24:52AM +0200, Ralf Mardorf wrote: > It takes just some minutes to restore a complete install from an > archive, IMO it makes no sense to make a deafult install and then to > copy back configs and data and to install additional stuff. And what > is Fair enough. Whatever

Re: Backup script

2011-06-02 Thread Ralf Mardorf
On Thu, 2011-06-02 at 14:01 +0100, Tom Furie wrote: > On Thu, Jun 02, 2011 at 04:24:52AM +0200, Ralf Mardorf wrote: > > > It takes just some minutes to restore a complete install from an > > archive, IMO it makes no sense to make a deafult install and then to > > copy back configs and data and to

Re: Backup script

2011-06-02 Thread shawn wilson
On Jun 2, 2011 1:06 PM, "Ralf Mardorf" wrote: > > On Thu, 2011-06-02 at 14:01 +0100, Tom Furie wrote: > > On Thu, Jun 02, 2011 at 04:24:52AM +0200, Ralf Mardorf wrote: > > > > > It takes just some minutes to restore a complete install from an > > > archive, IMO it makes no sense to make a deafult

Re: Backup script

2011-06-02 Thread Hugo Vanwoerkom
Guido Hecken wrote: -Ursprüngliche Nachricht- Von: Ralf Mardorf [mailto:ralf.mard...@alice-dsl.net] Gesendet: Mittwoch, 1. Juni 2011 10:28 An: Debian-User Betreff: Backup script Hi :) I'm writing a script to backup the 4 Linux installs and the MBRs on my machine. Is there a w

Re: Backup script

2011-06-02 Thread Ralf Mardorf
On Thu, 2011-06-02 at 13:21 -0400, shawn wilson wrote: > > On Jun 2, 2011 1:06 PM, "Ralf Mardorf" > wrote: > > > > On Thu, 2011-06-02 at 14:01 +0100, Tom Furie wrote: > > > On Thu, Jun 02, 2011 at 04:24:52AM +0200, Ralf Mardorf wrote: > > > > > > > It takes just some minutes to restore a complete

Re: Backup script

2011-06-02 Thread shawn wilson
On Jun 2, 2011 1:48 PM, "Ralf Mardorf" wrote: > > On Thu, 2011-06-02 at 13:21 -0400, shawn wilson wrote: > > > > On Jun 2, 2011 1:06 PM, "Ralf Mardorf" > > wrote: > > > > > > On Thu, 2011-06-02 at 14:01 +0100, Tom Furie wrote: > > > > On Thu, Jun 02, 2011 at 04:24:52AM +0200, Ralf Mardorf wrote:

Re: Backup script

2011-06-02 Thread Ralf Mardorf
On Thu, 2011-06-02 at 14:23 -0400, shawn wilson wrote: > > On Jun 2, 2011 1:48 PM, "Ralf Mardorf" > wrote: > > > > On Thu, 2011-06-02 at 13:21 -0400, shawn wilson wrote: > > > > > > On Jun 2, 2011 1:06 PM, "Ralf Mardorf" > > > > wrote: > > > > > > > > On Thu, 2011-06-02 at 14:01 +0100, Tom Furie

Re: Backup script

2011-06-03 Thread Rob Owens
On Wed, Jun 01, 2011 at 08:29:23PM -0400, mark wrote: > On Wednesday 01 June 2011 10:23:48 am Hugo Vanwoerkom wrote: > > Ralf Mardorf wrote: > > > Hi :) > > > > > > I'm writing a script to backup the 4 Linux installs and the MBRs > > > on my machi

Re: location script

2011-07-11 Thread Darac Marjal
On Mon, Jul 11, 2011 at 04:37:46PM +0200, Bonno Bloksma wrote: > Hi, > > I have a small script that checks if any updates are needed.** > > I used to have this script in /etc/network but that does not seem a > realy good location for it. Where would one keep scripts that are

Re: location script

2011-07-11 Thread Facundo Aguirre
Hi, I suggest you to try apticron (Simple tool to mail about pending package updates), does exactly what you want with some handy conf options. On Mon, Jul 11, 2011 at 04:37:46PM +0200, Bonno Bloksma wrote: > Hi, > > I have a small script that checks if any updates are needed.** >

custom init script

2011-03-18 Thread Rob Owens
If I create a custom init script (it's for a second instance of ssh), do I still use the update-rc.d command to set that script to start in the various runlevels? Or is there some new procedure due to the dependency-based init sequence. During the squeeze upgrade, I had to remove my custom

Re: Rmuser script?

1998-05-04 Thread Remco van de Meent
On Thu, 30 Apr 1998, Shaleh wrote: : DId anyone get a rmuser script created? It's called `userdel', which resides in the passwd Debian-package. bye, Remco USERDEL(8) USERDEL(8) NAME userdel - Delete a user account and rel

Re: Rmuser script?

1998-05-05 Thread Shaleh
Thank someone for reading that (_: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

<    1   2   3   4   5   6   7   8   9   10   >