Handy Linux commands

Following are some useful linux commands:

# Command to create a tar.gz file
tar -cvzf file_to_compress.tar.gz file_to_compress

# Command to unzip a tar.gz file
tar -xvzf file_to_uncompress.tar.gz

# Command to create a tar ball
tar -cvf file_to_compress.tar file_to_compress

# Check GLIBC version of your system
ldd --version