Wednesday, February 23, 2011

how to unfreez the variable

1.take duplicate of that variable
ex .month_name=Date::MONTHNAMES[4]
month=month_name.dup


2.and then use the month variable

Tuesday, May 18, 2010

gzip a directory

how to 'tar and gzip' a directory?


tar -cvzf new_file_name directory_name
ex.
tar -cvzf backup.tar.gz images

Saturday, July 11, 2009