Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français

Bash

Bash
November 15, 2019 JP

Search and replace in the terminal

On Ubuntu it is possible to search and replace a word or phrase with a simple command line sed -i’s/original/new/g’

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
Bash
July 27, 2016 JP

Bash – How to know where the script is

To find out which folder the script is being executed in, and it doesn’t matter where it’s called DIR””$( cd

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
Read more
  • Français
  • English

Recent Posts

  • Symfony – Doctrine – How to see where a sql query is executed
  • Install drupal/console on drupal 9
  • PHP Spaceship Operator <=>
Copyright © 2025 Jean-Pierre Lambelet. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.