Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
===SED===
* Update application domain:
sed -i 's|<nowiki>http://app</nowiki>|<nowiki>http://app</nowiki>.'"$HDA_DOMAIN"'|' app.sql;
* Remove blank lines from file:
sed -i '/^$/d' filename
* Retrieve System Information
apaste --sysinfo
* Update application domain:
sed -i 's|<nowiki>http://app</nowiki>|<nowiki>http://app</nowiki>.'"$HDA_DOMAIN"'|' app.sql;
* Replace string in files
find ./ -type f -exec sed -i 's/string1/string2/' {} \;
12,424

edits