Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- line_index="2d";
- file="./Desktop/books.sh";
- sed -i.bak -e $line_index $file
- sed -i "s/harry/potter/g" $file
- sed '2s/harry/potter/g'
- sed -i "2s/harry/potter/" $file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement