Newbetuts
.
How can I replace line #6 in a text file in a bash script?
bash
text
shell-scripting
Solution 1:
Try
sed "6s/old/new/g" file.txt
Related
How to make MediaWiki search work better?
Postfix + SASL = "Relay Access Denied" when sending from outside the network
Double Hop Window Authentication
How do I build debian packages of kernel modules?
Networking security and TCP/IP internals books/sites
How does VMWare generate unique MAC addresses?
long SSH password vs SSH Keys
How to configure OpenLDAP 2.4 with bdb backend?
How to create an rpm without a build step
How do I reverse a commit in git?
Count number of times value appears in particular column in MySQL
php call class function by string name
Recent Posts
org.apache.kafka.common.errors.TimeoutException: Topic not present in metadata after 60000 ms
Why my code runs infinite time when i entered non integer type in c++ [duplicate]
How to retrieve Instagram username from User ID?
Serverless Framework - Variables resolution error
How do we access a file in github repo inside our azure databricks notebook