LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Need help interpreting half a line of script! (http://www.linuxquestions.org/questions/linux-software-2/need-help-interpreting-half-a-line-of-script-708199/)

Completely Clueless 02-28-2009 09:20 AM

Need help interpreting half a line of script!
 
Hi all,

I'm somewhat confused by this bit of script: "&& sudo ./aa1blinux"

In complete context, the whole line is this:

"chmod 755 aa1blinux && sudo ./aa1blinux"

Can some kind soul tell me exactly what, character-by-character, "&& sudo ./aa1blinux" is supposed to do?

Thanks!

CC.

jschiwal 02-28-2009 09:25 AM

The && characters stand for "AND". It divides the line into two separate commands. The statement on the right "sudo ./aa1blinux" runs the aa1linux program as root if the first command was successful. The first statement sets the executable bits for owner, group & other.

What is this script from?

Completely Clueless 02-28-2009 01:49 PM

Quote:

Originally Posted by jschiwal (Post 3460448)
What is this script from?

It's the install script for a backup routine adapted specifically for the Acer Aspire One netbook, of which I am currently still the owner of (third model so far and here's hoping the last).

Thanks for the info. The command executed without complaint, but didn't create the program in the USB stick as it was supposed to, so I guess I executed it from the wrong directory. I should have been in the root of the USB volume, it seems. The instructions were rather sparse.

CC.

Completely Clueless 03-01-2009 02:56 PM

Quote:

Originally Posted by Completely Clueless (Post 3460648)
The instructions were rather sparse.

CC.

Turns out it's a waste of space, anyway. It doesn't work; just throws up a string of binary characters to stdout on boot-up. I gather it was written by some waster who calls himself macles* according to his blogspot and his coding abilities are obviously equal to the attentiveless instructions he scribbles. Still, his software is free so it's worth exactly what you pay for it: nothing.

CC.

jryoung 03-02-2009 11:48 AM

macles is a guru - he has posted many detailed tips about the aa1 - and the backup script does work excellently - you need a large usb stick, and you run the command from where you downloaded the utility to. He is certainly not a waster.

I suggest you have a closer read of the instructions. You need to set up the usb stick, then boot from it, and follow the instructions. If you can't boot from the usb stick, or the program can't locate the usb stick in the first place, there is probably a config problem with that device.

Completely Clueless 03-03-2009 08:25 AM

Quote:

Originally Posted by jryoung (Post 3462588)
I suggest you have a closer read of the instructions. You need to set up the usb stick, then boot from it, and follow the instructions. If you can't boot from the usb stick, or the program can't locate the usb stick in the first place, there is probably a config problem with that device.

It simply didn't work. Not just for me, but for several others who posted follow-up comments. To cut a long story short, I have found that Clonezilla does a perfectly good job when you disable the default NTFSclone option (what WERE they thinking of for ext2/3 partitions??), as does "sudo dd if=/.... of=/ etc....." as does Acronis TI. So thankfully I won't be needing anything more.


All times are GMT -5. The time now is 05:22 PM.