Skip to content

Instantly share code, notes, and snippets.

@kevin39
Last active May 18, 2017 12:22
Show Gist options
  • Save kevin39/48fc012325a297f9f2f3d116d8f59f6a to your computer and use it in GitHub Desktop.
Save kevin39/48fc012325a297f9f2f3d116d8f59f6a to your computer and use it in GitHub Desktop.

Revisions

  1. kevin39 renamed this gist May 18, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. kevin39 created this gist May 18, 2017.
    1 change: 1 addition & 0 deletions new_gist_file
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    grep -rl "OLD STRING" /etc/iscsi/nodes/ | xargs sed -i "s/OLD STRING/NEW STRING/g"