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 [...]
7zip Help 7z –help 7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30 p7zip Version 9.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU) Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles...>] <Commands> a: Add files to archive b: Benchmark d: Delete files from archive e: Extract files from archive (without using directory names) l: List contents of archive t: Test integrity [...]
How to Start Vine Server (OSXvnc) on 5901 port with no authentication on a different port Server:~ Slavi$ /Applications/Vine\ Server.app/OSXvnc-server -rfbnoauth -rfbport 5901 This is usually considered insecure however I am using this configuration in conjunction with ssh to connect to the LAN network first! I also start the vnc server when I really needed. [...]
split – split a file into pieces
lsof – list open files /usr/sbin/lsof |wc -l /usr/sbin/lsof -u root |wc -l
trac can be found at http://trac.edgewall.org/ tracd –port 8000 /var/trac_project_env tracd –port 8000 –auth=Product1,/var/trac_project_env/conf/trac.htpasswd,CompanyName /var/trac_project_env tracd –port 8000 –basic-auth="*",/var/trac_project_env/conf/trac.standalone.htpasswd,CompanyName /var/trac_project_env tracd –help Usage: tracd [options] [projenv] … Options: –version show program's version number and exit -h, –help show this help message and exit -a DIGESTAUTH, –auth=DIGESTAUTH [projectdir],[htdigest_file],[realm] –basic-auth=BASICAUTH [projectdir],[htpasswd_file],[realm] -p PORT, –port=PORT the port number [...]
/usr/bin/curl https://secure.mydomain.com/cronjob.php 2>/dev/null >/dev/null if you forget to renew your certificate your cron job may stop working so you may want to use this syntax instead /usr/bin/curl –insecure https://secure.mydomain.com/cronjob.php 2>/dev/null >/dev/null
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 [...]
Daylite uses ports from 6113-6117
#/usr/sbin/arp -av (192.168.0.1) at 00:01:02:FB:FC:4E [ether] on eth1 arp -a 192.168.0.1