Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # my snippet to list a directory, write the list to a file, match and replace the word in the file, and output the
- # content of the file.
- ls -l /home/$USER | grep "Down" > word.txt; sed -i -e 's/Down/Up/g' word.txt; cat word.txt;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement