LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 02-28-2009, 09:20 AM   #1
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Rep: Reputation: 70
Question 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.
 
Old 02-28-2009, 09:25 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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?
 
Old 02-28-2009, 01:49 PM   #3
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by jschiwal View Post
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.
 
Old 03-01-2009, 02:56 PM   #4
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Original Poster
Rep: Reputation: 70
Talking

Quote:
Originally Posted by Completely Clueless View Post
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.
 
Old 03-02-2009, 11:48 AM   #5
jryoung
LQ Newbie
 
Registered: Mar 2004
Posts: 18
Blog Entries: 1

Rep: Reputation: 0
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.
 
Old 03-03-2009, 08:25 AM   #6
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 899

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by jryoung View Post
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.
 
  


Reply

Tags
acer, aspire, backup



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Interpreting cpu line of top command fshim Linux - Newbie 1 12-22-2008 12:40 PM
interpreting perl script meniscus Linux - Newbie 35 11-30-2006 10:40 AM
The answer is half a line, but... GRboss Fedora 4 08-07-2006 01:56 PM
Need help interpreting tcpdump output line wrw3 Linux - Networking 0 10-29-2005 07:47 PM
Send string to std output without interpreting (script) ta0kira Programming 6 06-29-2005 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration