Find Jobs
Hire Freelancers

Shell Script Experts

$12-30 SGD

Closed
Posted over 3 years ago

$12-30 SGD

Paid on delivery
Hi, I need seroius programmer that expert in shell programming code. i have hacked xiaofang camera to use by telegram and send my notification if someone coming (motion), and also want to reboot script. for test that you expert in this case, i need you to let me know how you fix this code: myIP() { INTFC=eth0 MYIPV4=$(ip -4 -o addr show eth0 | awk '{print $4}' | cut -d "/" -f 1) $TELEGRAM m $MYIPV4 } this code is wrong, cannot showing local ip address. and i want you to tell me what you will do to fix this code? i want pay per hour until this script done
Project ID: 27427563

About the project

7 proposals
Remote project
Active 3 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
7 freelancers are bidding on average $21 SGD for this job
User Avatar
I can help you out with the script. I am a senior Linux administrator with over 20 years of experience. As for your question about what is wrong: - you set the interface name in variable, but you are later not using this variable, but using hardcoded eth0 instead - $TELEGRAM variable might by uninitialized - you are missing "function" before myIP()
$20 SGD in 1 day
5.0 (1 review)
0.6
0.6
User Avatar
Hi, There are multiple reasons for it to not work. Have you verified the interface name? I have 7+ years of work experience and can help you fix it. Please initiate the chat to discuss further. Regards, Sanchit
$22 SGD in 1 day
5.0 (1 review)
0.2
0.2
User Avatar
I well experienced in Shell scripting, please let me know if you are interested and provide me the details.
$16 SGD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I'm a DevOps Engineer/System Administrator, based on your project details you need someone who knows bash script. I think I am best fit for it, since it's my everyday job, And part of my job is included with scripting. Feel free to drop me a message. So that I can tell you what was the problem is and I can help you solve or rewrite your script.
$28 SGD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi if you want to get ipv4 address on the eth0 interface on variable like for example $MYIPV4 i can help you to get Exact ipv4 from the interface with in minutes. feel free to discuss it further
$12 SGD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
There are multiple way, we can calculate ip using myIP=$(hostname -I | awk '{print $1}') There are other commands to achieve the same.
$21 SGD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDONESIA
Indonesia, Indonesia
5.0
1
Payment method verified
Member since May 5, 2006

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.