Most of us know that history command on Ubuntu shows the list of previously executed commands. This command is really handy either to examine the previously executed command or re-execute the previous command. The default configuration just lists out the entry number and the commands. It doesn’t display the time of execution. This post provides […]

,

Often need arises to merge text files. Recently even I encounter similar situation where I had to merge the two JMeter csv result file for some analysis. It took a little while to figure it out. This can easily be done using cat and redirection operator (> OR >>). This command is handy and saves […]

, ,

We often need command to truncate large log files while working on production server. I have listed few of the commands which are really handy in such case. The command below is the smallest one and most handy. Some people also use the following command. Both of the commands do the same thing, it just […]

,

We often need to search for java class file in given jar files to make sure that the class is present. Or sometimes it may happened that you reference the class in your java code but while compilation you don’t know which jar should be included in the compile time dependencies. There is also jarscan […]

, ,

Basic commands cp <source-file>  <destination-file> Copies the file scp <source-file> <destination-file> Copies file from one host machine to another host machine. mv <source-file> <destination-file> Moves the file/folder from one place to other. touch <file> Creates the file mkdir <directory-name> Creates the directory. If you want to create a chain of parent and child directory you […]