- To reverse all the lines in a file -
:g/^/m0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node_modules | |
| *.swp |
cd /opt/bitnami/apps/wordpress/
sudo ./bnconfig --userpassword YOUR_NEW_PASSWORD$stdout = File.new('console.out', 'w')
#You may also need to call this once:
$stdout.sync = true
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Confirmation Form</title> | |
| </head> | |
| <body> | |
| <p id="demo"> | |
| </p> |
Watermarking with an image is as simple as
composite -dissolve 30% -gravity south watermark.jpg input-file.jpg output-file.jpgUsing the above command as an example, a Bash command for doing this to all files in folder would be: