GDB step into all lines to get full application flow

While debugging one application that I was working with, I needed to have full application flow, I want to get a list of all functions calls, and I couldn’t find an automated way to do that within GDB itself, or within any other IDE like eclipse or netbeans or codeblocks. Continue reading GDB step into all lines to get full application flow

Run a script at startup on Linux

If you need to run few commands or a script at boot, just for one time to set some settings or to mount few folders or to set iptables rules or set processor power saving and settings ..etc, you can do so using crontab.

Continue reading Run a script at startup on Linux

Force power off the monitor on Linux

If you run a computer or a laptop remotely, you may need to shutdown its monitor, so that if you connect to it using VNC, the mouse and keyboard do not result in the screen automatically reopening and showing everything done on that computer.

Continue reading Force power off the monitor on Linux