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. |
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? |
Quote:
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. |
Quote:
CC. |
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. |
Quote:
|
All times are GMT -5. The time now is 12:03 AM. |