Category : General

convert

April 24th, 2011 by Slavi | 0

convert – convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more.

xcopy

April 24th, 2011 by Slavi | 0

How to copy all doc files xcopy /s /c /y “c:Documents and SettingsMYUSER*.doc” d:BackupsMyLaptopAll_Docs Copies files and directory trees. XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U] [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z] [/B] [/EXCLUDE:file1[+file2][+file3]…] source Specifies the file(s) to [...]

7z

August 11th, 2010 by Slavi | 0

7zip Help [code language="html"] 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 [...] [...] [] 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 of [...]

vnc

January 22nd, 2010 by Slavi | 0

How to Start Vine Server (OSXvnc) on 5901 port with no authentication on a different port [code language="bash"] Server:~ Slavi$ /Applications/Vine Server.app/OSXvnc-server  -rfbnoauth -rfbport 5901 [/code] 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 [...]

lsof

November 26th, 2009 by Slavi | 0

lsof – list open files [code lang="bash"] /usr/sbin/lsof |wc -l [/code] [code lang="bash"] /usr/sbin/lsof -u root |wc -l [/code]

arp

June 4th, 2009 by Slavi | 0

#/usr/sbin/arp -av (192.168.0.1) at 00:01:02:FB:FC:4E [ether] on eth1 arp -a 192.168.0.1

rsync

April 14th, 2009 by Slavi | 0

rsync -e ssh –verbose –stats –compress –recursive –times –perms –links –delete –exclude “*bak” –exclude “.svn” –exclude “*~” –exclude “._*” /var/www/vhosts/domain.com user@domain.com:/var/www/vhosts/domain.com Recommendations: setup keyless login for user@domain.com also the user must have permissions to write in /var/www/vhosts/domain.com