New answers tagged patch
Assuming you want to patch an Ubuntu kernel (since this is askubuntu.com). You can easily patch your kernel by following this wiki: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel To take a patch from another Linux repo you should find the differences that repo and the Ubuntu one and merge those changes. Since both are maintained in git you can use ...
By looking at the GitHub repo, it seemed it is the kernel source. If only that file is modified, copy that file into the source and recompile.
You have the stream redirection command in the wrong place. Redirections get parsed from right to left, therefore you need to first write the > /tmp/tmp.txt and then the 2>&1. As you wrote it, it first redirects STDOUT to the file and afterwards redirects STDERR to STDOUT. This is the correct command: sudo apt-get -qq -y --force-yes remove cowsay ...
Top 50 recent answers are included