CLI

4 posts

Program Code

Recursive chmod in Linux and MacOSX

Recursively chmod directories only OR files only Recursively search directory tree (starting at the current directory ‘dot’): Recursively chmod 755 all directories only: find . -type d -exec chmod 755 {} \; Recursively chmod 644 all files only (and ignore the directories): find . -type f -exec chmod 644 {} […]

Open Hard Drive HDD

Disk Usage Summary in Linux or Mac OS X

Here is a simple way to get a disk usage summary in Linux or Mac OS X using the command-line. The “du” command is the conventional choice, but gives a lot of information by default. So, here is the exact syntax for “du” to return just the single, bottom-line, disk usage […]

Open Hard Drive HDD

Burn ISO File to CD on Linux

How to burn an ISO file to CD on Linux cdrecord -v dev=’ATAPI:1,1,0′ driveropts=burnfree -sao -eject “filename.iso” See larger image How Linux Works, 2nd Edition: What Every Superuser Should Know (Paperback) New From: $32.28 USD In Stock

Sync Key

Rsync Delete Files Safety Net

The –delete flag in rsync will deactivate if something goes wrong during the sync, such as invalid files. I’ve just seen this happen. See larger image Backup & Recovery: Inexpensive Backup Solutions for Open Systems (Paperback) New From: $32.97 USD In Stock