20Jan/110
Verifying your Linux Distro is 64bit.
I ran into a situation that I had to verify that I was running a 64bit os. Below is a quick command line check. It checks based on the current kernel loaded.
mrochford@host1:~$ fgrep CONFIG_64BIT /boot/config-`uname -r`
CONFIG_64BIT=y
mrochford@host1:~$
Popularity: 6% [?]
22Sep/100
Run a command randomly
I wanted to run a command randomly everyday. Here is a one liner cron that I created.
echo "
Popularity: 6% [?]
18Nov/090
Moving a directory from one host to another using tar over ssh
tar cf - * | ssh
Popularity: 6% [?]