Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-28-2009, 09:20 AM
|
#1
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 922
Rep:
|
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.
|
|
|
02-28-2009, 09:25 AM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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?
|
|
|
02-28-2009, 01:49 PM
|
#3
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 922
Original Poster
Rep:
|
Quote:
Originally Posted by jschiwal
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.
Last edited by Completely Clueless; 02-28-2009 at 01:53 PM.
|
|
|
03-01-2009, 02:56 PM
|
#4
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 922
Original Poster
Rep:
|
Quote:
Originally Posted by Completely Clueless
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.
|
|
|
03-02-2009, 11:48 AM
|
#5
|
LQ Newbie
Registered: Mar 2004
Posts: 18
Rep:
|
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.
|
|
|
03-03-2009, 08:25 AM
|
#6
|
Member
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 922
Original Poster
Rep:
|
Quote:
Originally Posted by jryoung
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 10:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|