Using native bash command (echo) in script - what directory?
I'm working on a script to create a single-line js file inside Firefox.app on Mac OS (/Applications/Firefox.app/Contents/MacOS/defaults/pref). The command is:
echo 'user_pref("security.tls.version.min", 1);' >> /Applications/Firefox.app/Contents/MacOS/defaults/pref/all-pcc.js
Since this is just one command, I'd like to avoid creating and pushing a separate script file, if possible.
Just using root "/" as the directory seems to work, but the file that results is empty, though in the right place.