Skip to main content

Strace Examples


Trace the Execution of an Executable You can use strace command to trace the execution of any executable. The following example shows the output of strace for the Linux ls command. $ strace ls execve(“/bin/ls”, [“ls”], [/* 21 vars */]) = 0 brk(0) = 0x8c31000 access(“/etc/”, F_OK) = -1 ENOENT (No such file or directory) […]

A Basic MySQL Tutorial

mysql tutorial

A Basic MySQL Tutorial About MySQL MySQL is an open source database management software that helps users store, organize, and retrieve data. It is a very powerful program with a lot of flexibility—this tutorial will provide the simplest introduction to MySQL How to Install MySQL on linux: Ubuntu and CentOS If you don’t have MySQL […]

5 Deadly Linux commands that can Destroy...

deadly linux commands

5 deadly linux commands that can destroy your System Here are 5 ways to destroy your system, learn and avoid :) deadly linux commands #1: Delete Everything rm -rf / Explanation : It is a combination of three keywords. First is : rm – It will remove all the files followed by this command. Second is […]

auto login between Linux machines

Allow auto login

Tutorial: Allow auto login between Linux machines In my work, I create many shell scripts which automate different procedures. Sometimes, it is required that a script will be able to log into a remote machine and run some commands there or get files from the remote machine, so doing this “trick” will allow the script […]