Write your first Linux Kernel module
http://www.linuxvoice.com/be-a-kernel-hacker/
http://www.linuxvoice.com/be-a-kernel-hacker/
To check if passwordless login (using keys) has been setup simply run the following command: ssh -o BatchMode=yes <user>@<host> true For example: ssh -o BatchMode=yes user@192.168.1.101 true And examine the…
http://www.shellcheck.net/ The code: https://github.com/koalaman/shellcheck
Of course, everybody knows 'gcc --version' option to check gcc version, but output is quite verbose and is not easy to parse and use in scripts. Luckily, gcc has option…
Sometimes your programs crash and you need to do "postmortem" analysis (another case is that someones else's program crashes and you need to send them core dump file), for that…
http://raid6.com.au/~onlyjob/posts/arena/
Use $HOME environment variable: echo “$HOME” This should work on most machines, but on some environments (this took place with me) this variable is not set. In this case you…
https://shkspr.mobi/blog/2014/04/submitting-trivial-linux-kernel-patches/
POSIX compatible systems have LOGNAME environment variable set whose value will equal to current user name: echo $LOGNAME This is the most portable way to detect current user name. Quite…
If you want to redirect your connection or pretend to appear from another host/location and have SSH account you can use SSH itself for that. Just run the following command:…