Find Jobs
Hire Freelancers

bash script

$10-30 USD

Closed
Posted over 10 years ago

$10-30 USD

Paid on delivery
I have this script : cd /tmp/ scp user@8.8.4.1:/onboot/[login to view URL] /tmp -i /usr/script/id 2> /dev/null if chmod 775 /tmp/[login to view URL] /tmp/[login to view URL] & sleep 30 rm -rf /tmp/[login to view URL] fi i have this script i want to tell in the script that if the scp failed, try wget
Project ID: 5217557

About the project

26 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
26 freelancers are bidding on average $13 USD for this job
User Avatar
let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now. let fix it now.
$12 USD in 1 day
5.0 (4 reviews)
2.4
2.4
User Avatar
I am a linux administrator and shell scriptor also. I can help you to modify the script so that it use wget if scp gets fail.
$10 USD in 0 day
5.0 (4 reviews)
2.1
2.1
User Avatar
Hi, If you are interested in my profile, please let us know.. I am really interested in working with bash scripts.. I am waiting for your response...
$10 USD in 0 day
5.0 (3 reviews)
2.1
2.1
User Avatar
Hi, I'm ready to do it. Great knowledge on bash script. I'm certified RHCE and LPIC-2. Best Regards
$25 USD in 1 day
5.0 (4 reviews)
1.7
1.7
User Avatar
I am Linux administrator. I already write a script and test it it is working, so waiting you to choose me so i could you altered script
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Well, it doesn't get any simpler. Check $? after the scp and if it's non-0, run a wget. I'll put that in there for the minimum price for you.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
i can do this script optimize then your script will working proper as you want. Accuracy 100% for desire result from my side. give me chance to prove my self.
$11 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have vast (10 year+) experience in Unix/embedded programming/scripting with both (ba)sh or python. I have been a long term developer on an NVR product doing mostly unix systems programming, as well as spent 3 years on the Google ChromeOS team as build/systems engineer doing a lot of automation work in Python. I sometimes touch kernel or system library code as well, if needed. I believe I can help you fix/improve your script to better suit your needs.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I can do it for you, we have to intercept the end status of the scp command and if it is in error status launch the wget command ;-)
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
i'll fix the script for you. i'm quite an expert of Linux/Bash programming and all related tools (e.g. awk, grep, ...). kind regards, luca
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I am a software engineer with 10+ years Linux development experience including shell scripting. I believe I modify your script to implement what you are looking for.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
La propuesta todavía no ha sido proveída
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
一个有效的提议尚未被提供
$17 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I'm a professional Linux and open source developer, more than 10 years of experience using shell scripts to automatize my work environment.
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, if i understand correctly you need to check if scp execution was successful if so proceed with script, if not prompt to try wget and exit from script? If that is so, i'd be happy to do it quickly for you and recieve good feedback. Regards, Mario
$10 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I already have the command ready for you sir, will send it to you as soon as you pick my offer.
$10 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I'll provide you with the robust code. I'll fine tune your current code, as well. Please let me know.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
sydney, Australia
5.0
16
Member since Dec 12, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.