Skip to content
Latest Posts:
Creating test data using Python
How to replace multiple strings with their corresponding replacement strings in Scala
How to make the first character uppercase of each word of a List in Scala

Clear ur Doubt

  • Home
  • Technologies
    • Scala
    • Java
    • Hadoop
    • Apache Spark
    • C
  • Tips & Tricks
    • Unix
    • Java 8
  • Projects
    • Python
      • Simple ETL Pipeline
  • Home
  • Blog
  • sed

Tag: sed

Aug 28

How to replace a string with another in a file in UNIX

Sai Gowtham BadvityLeave a commentUNIXreplace a string, sed, UNIX

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at replacing a string with another string in a file in UNIX. We can use the sed command to replace the strings in a file. Syntax: sed -i ‘s/<current-string>/<replacement-string>/g’ <file-path>   Read more

Recent Posts

  • Creating test data using Python
  • How to replace multiple strings with their corresponding replacement strings in Scala
  • How to make the first character uppercase of each word of a List in Scala

Recent Comments

  • Sai Gowtham Badvity on Calculator program in Scala
  • Sai Aditya on Calculator program in Scala
  • pragadeeshwaran on How to add a new column and update its value based on the other column in the Dataframe in Spark
June 2025
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  
« Aug    
Copyright © All rights reserved.
University Hub by WEN Themes
Scroll Up