Find Jobs
Hire Freelancers

Script with Sed to delete a selective line in a file

$10-30 USD

Imekamilika
Imechapishwa about 7 years ago

$10-30 USD

Kulipwa wakati wa kufikishwa
Here is my script ubuntu@chefnode7:~$ cat [login to view URL] #!/bin/bash echo "###############################################################################" echo "Setting Entry in /etc/hosts v3 " echo "###############################################################################" echo "passed.....$1" echo "passed.....$2" echo "passed.....$3" echo "passed.....$4" echo "passed.....$5" echo "passed.....$6" myentry="$1 $3 $2" mychef="$4 $6 $5" echo "myentry....$myentry" sudo chmod 777 /etc/hosts sudo sed [login to view URL] '/$3/d' /etc/hosts # this line does not work sudo sed [login to view URL] '/$6/d' /etc/hosts # this line does not work sudo echo $myentry >> /etc/hosts sudo echo $mychef>> /etc/hosts sudo chmod 644 /etc/hosts sudo cat /etc/hosts # end of file echo "pass: ip fqdn node ip cheffqdn chefnode" ubuntu@chefnode7:~$ This is something that I need ASAP - only accept if you can do this right now and IM me? We can work together and have a webex? Please note I will pay promptly and leave 5 stars for the project to help me with SYNTAX asap please ?
Kitambulisho cha mradi: 13455246

Kuhusu mradi

3 mapendekezo
Mradi wa mbali
Inatumika 7 yrs ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
A proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been providedA proposal has not yet been provided
$20 USD ndani ya siku 1
5.0 (16 hakiki)
4.0
4.0
3 wafanyakazi huru wana zabuni kwa wastani $46 USD kwa kazi hii
Picha ya Mtumiaji
Hi Ejbest2000, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements and we can move forward to the next step. Thanks, Joseph C Ocero
$49 USD ndani ya siku 0
4.4 (8 hakiki)
3.2
3.2
Picha ya Mtumiaji
Hi, I have a lot of experience working with Linux Shell as well as with Shell Scripting. However, I have not worked with SED before but getting my hands on to this... Based on my extensive experience with programming, I believe I should be able to help you. Shall we discuss further? :)
$70 USD ndani ya siku 1
5.0 (1 hakiki)
2.4
2.4

Kuhusu mteja

Bedera ya UNITED STATES
Lyndhurst, United States
5.0
49
Njia ya malipo imethibitishwa
Mwanachama tangu Sep 14, 2013

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.