Sorry, but I'm having some trouble following these steps, the sed command given is not working for me, using livecd:
ubuntu@ubuntu:~/Desktop/net-tools-1.60$ sed -i '/^COPTS/ s/# -g/ -g #/' -e '/^COPTS/ s/-O2//' /home/ubuntu/Desktop/net-tools-1.60/Makefile
sed: can't read /^COPTS/ s/# -g/ -g #/: No such file or directory
ubuntu@ubuntu:~/Desktop/net-tools-1.60$ sed -i '/^COPTS/ s/# -g/ -g #/' -e '/^COPTS/ s/-O2//' -f /home/ubuntu/Desktop/net-tools-1.60/Makefile
sed: file /home/ubuntu/Desktop/net-tools-1.60/Makefile line 76: extra characters after command
I have no experience using sed and is somewhat clueless here.
I have however, attached output from lspci
Sorry, but I'm having some trouble following these steps, the sed command given is not working for me, using livecd:
ubuntu@ ubuntu: ~/Desktop/ net-tools- 1.60$ sed -i '/^COPTS/ s/# -g/ -g #/' -e '/^COPTS/ s/-O2//' /home/ubuntu/ Desktop/ net-tools- 1.60/Makefile
sed: can't read /^COPTS/ s/# -g/ -g #/: No such file or directory
ubuntu@ ubuntu: ~/Desktop/ net-tools- 1.60$ sed -i '/^COPTS/ s/# -g/ -g #/' -e '/^COPTS/ s/-O2//' -f /home/ubuntu/ Desktop/ net-tools- 1.60/Makefile
sed: file /home/ubuntu/ Desktop/ net-tools- 1.60/Makefile line 76: extra characters after command
I have no experience using sed and is somewhat clueless here.
I have however, attached output from lspci