Category : Linux/Unix

ps

August 19th, 2010 by usage | 0

ps – reports a snapshot of the current processes. ps displays information about a selection of the active processes. If you want a repetitive update of the selection and the displayed information, use top(1) instead. This version of ps accepts several kinds of options: 1   UNIX options, which may be grouped and must be preceded […]

7z

August 11th, 2010 by usage | 0

How to compress a folder recursively with 7zip. Exclude all .log, .gz and .tar files Example if it takes a lot of resources you may want to do this (as root of course) (thanks George Valkov) 7zip Help Related http://dotnetperls.com/7-zip-examples http://www.howtoadvice.com/7zipHelper

split – split a file into pieces

November 30th, 2009 by usage | 0

split – split a file into pieces

How to use tracd from the command line

October 21st, 2009 by usage | 1 comment

trac can be found at http://trac.edgewall.org/

curl

October 16th, 2009 by usage | 0

if you forget to renew your certificate your cron job may stop working so you may want to use this syntax instead

bashrc

August 25th, 2009 by usage | 0

Useful bashrc aliases edit your ~/.bashrc file by using VI vi ~/.bashrc alias l=”ls -la” alias st=’svn st’ alias di=’svn di’ alias di=’svn diff –diff-cmd diff -x -uw’ # ignore whitespaces alias ci=’svn ci’ alias up=”svn up” alias rs=”rsync –verbose –stats –recursive –times –perms –links –delete –exclude ‘*bak’ –exclude ‘*~’  –exclude ‘._*’ $1 $2″ EDITOR=vi […]

wget

May 14th, 2009 by usage | 0

How to download a site using wget Download the file in background. Will download all the links from the list.txt file and pretending that it’s Firefox. wget –continue –verbose –input-file=”list.txt” –output-file=”list.log” –user-agent=”Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1″ If you want to ignore the SSL expiration or validity you can pass –no-check-certificate parameter.

VBoxManage

April 16th, 2009 by usage | 0

VirtualBox command line usage Related http://www.ubuntugeek.com/how-to-control-virtual-machines-virtualbox-using-vboxmanage.html

tar

April 14th, 2009 by usage | 0

Create a tar file and verify the tar archive Related http://www.cyberciti.biz/faq/unix-verify-tape-backup/

du

April 14th, 2009 by usage | 0

Summarize disk usage of each FILE, recursively for directories.