Bash Scripting questions (2)
I have 2 pretty simple questions, (I think)
1. How do I pipe the output to the end of a file without erasing the front?
ie (cat x >something.txt) always erases what was in there.
2. How do I give someone root access to a command that requires root access?
I would like to make a script to let some run ping tests, it requires root though. Do I need to make them a /usr/bin directory and chown it to them, or is it better to change permissions on ping and let them run a ping script?