8

http://www.howtogeek.com

Let's say you have a directory with hundreds of files with the wrong file names, and you'd like to replace every filename containing test with prod. (this is a contrived example). We can easily do this with the "for" command in bash, combined with a little bit of bash goodness. Today we'll learn how to replace text in a variable in a for loop.

Full story »
dave's picture
Created by dave 7 years 1 week ago
Category: End User   Tags:

Popular upcoming - End User