Monday, December 3, 2007

cool stuffs

tail -100 /var/log/messages | tee /var/log/messages

find /olddir -depth | cpio -pdvm ./newdir

[root@abc123 ~]# dumpe2fs /dev/cciss/c0d0p9
dumpe2fs 1.37 (21-Mar-2005)
Filesystem volume name:
Last mounted on:
Filesystem UUID: a525996f-d183-45bc-bb39-1dc4d5d82825
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file
Default mount options: (none)
...


cool.

read more...