2010/08/13

Simple file backup

cp - Copy files and stuff; since tar and rsync are sometimes overkill.
    This is, by far, the simplest way to backup and archive files. Also see ln for symbolic and hard links.

BASIC
cp file backupFile
SHORTHAND - This uses a shell trick to copy file to file-backup
cp file{,-backup}
RECURSIVE
cp -r folder destination
PRESERVE - Retain file permissions, attributes, and user and group IDs (I think)
cp -p file file2
VERBOSE
cp -v file file2

2010/08/05

Remote Desktop

rdesktop Remote DESKTOP connection client. For linux, this tool replaces mstsc.

    I can't seem to fully escape Windows. Yet. 
    It's like the end of the Universe: I can't escape it... Yet. But I will find a way eventually.
    In the meantime, I still don't have to have it installed on my local computer.
CONSOLE - /admin or /console argument in mstsc
rdesktop -0 hostname
AUTHENTICATION - (Is there a way to specify the local computer as the domain?)
rdesktop -uUserName -pPassWord -dWindowsDomain hostname
SEAMLESS - Full Screen
rdesktop -A hostname
CACHING - Persistent bitmap caching to disk to speed up performance.
rdesktop -P hostname
COLOR DEPTH
rdesktop -a <8, 15, 16 or 24>