Convert line ending from Windows to Linux
sed -i 's/\r//g' ./drivers/input/keyboard/qx1000.c
https://stackoverflow.com/a/19283453/3969362
Remove trailing empty spaces
This will also convert you line endings from Windows to Linux.
sed -i 's/\s*$//g' ./drivers/input/keyboard/qx1000.c
On that page you find some tips on how to do things from the command line on Linux.
Batch chmod
I'm no Linux crack, so I won't be able to tell you how many variants there are of Shell languages out there. In fact I don't even know what version of Shell I've been using myself.
I had to change...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.