Unix

Notes

Find and replace text within a file

echo "Current shell: <SHELL>" | awk -v VAR=$SHELL '{gsub(/<SHELL>/, VAR)}1'

Last updated