Find Jobs
Hire Freelancers

Shell Script Experts

$12-30 SGD

Zaprt
Objavljeno pred več kot 3 leti

$12-30 SGD

Plačilo ob dostavi
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
ID projekta: 27427563

Več o projektu

7 ponudb
Projekt na daljavo
Aktivno pred 3 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
7 freelancerjev je oddalo ponudbo s povprečno vrednostjo $21 SGD za to delo
Avatar uporabnika
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 v 1 dnevu
5,0 (1 ocena)
0,6
0,6
Avatar uporabnika
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 v 1 dnevu
5,0 (1 ocena)
0,2
0,2
Avatar uporabnika
I well experienced in Shell scripting, please let me know if you are interested and provide me the details.
$16 SGD v 2 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 7 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 7 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 7 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava INDONESIA
Indonesia, Indonesia
5,0
1
Plačilna metoda je verificirana
Član(ica) od maj 5, 2006

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.