Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

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

Bash

Bash 

Search and replace in the terminal

November 15, 2019November 19, 2019 JP 0 Comments

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:

  • Twitter
  • Facebook
Read more
Bash 

Bash – How to know where the script is

July 27, 2016November 19, 2019 JP 0 Comments

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

Share this:

  • Twitter
  • 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.