Ubuntu find file in directory and get file information — July 16, 2017
Ubuntu delete directories or files command line — July 13, 2017

Ubuntu delete directories or files command line

To delete all file in a directory

rm /path/to/directory/*

To remove the folder with all its contents(including all interior folders):

rm -rf /path/to/directory

To remove all the contents of the folder(including all interior folders) but not the folder itself:

rm -rf /path/to/directory/*

To remove all the “files” from inside a folder(not removing interior folders):

rm -f /path/to/directory/*

rm – stands for “remove”
-f – stands for “force” which is helpful when you don’t want to be asked/prompted if you want to remove an archive, for example.
-r – stands for “recursive” which means that you want to go recursively down every folder and remove everything.

ubuntu check free disk space command line — July 12, 2017
Ubuntu create zip and exclude directories —
jQuery Datatable fix header — July 11, 2017

jQuery Datatable fix header

need to add these two files


and this

var table = jQuery('#datatable').dataTable({});
new $.fn.dataTable.FixedHeader( table, {
    // alwaysCloneTop: true
    // "zTop": "2001"
    "offsetTop": 50

You can check more options here.

jQuery datatable multiple column sort — July 5, 2017
jQuery Datatable change column orders —