On this website they show 3 ways to do the last command, do either of the other 2 work for you ?
1. execute the command as root:
2. use the "tee" command:
3. execute the command in a root shell:
1. execute the command as root:
Code:
sudo su
echo "b43" >> /etc/modules
2. use the "tee" command:
Code:
echo "b43" | sudo tee -a /etc/modules
3. execute the command in a root shell:
Code:
sudo sh -c "echo 'b43' >> /etc/modules"