On Linux systems, I can append to a system file like this:
echo "# New data" | sudo dd of=/etc/config_file conv=notrunc oflag=append
But the dd command under OS X doesn't have the
oflag option. Is this possible under OS X?
- I need root access.
- I'm not asking for alternative solutions, I'm asking if dd has the capability.