I know i can run cksum <filename> . However, how i can run cksum on all the files and directories in the $HOME ?? (SUNOS)
Wecome to the 'find' command.
find $HOME -exec cksum '{}' ';'
cksum does not apply to directories.
cksum *
will run on all files in the current directory.
In that case:
find $HOME -type f -exec cksum '{}' ';'
got the baby going..lol..
ran it from the home drive..and bam
find . \! -type p -exec cksum {} \; >> check.out