This is an old revision of the document!
Three lines tip
Do you have a tip/hack that's max. three lines long??
Removing whitespaces from filename
# i in *.[jJ][pP][gG]; do mv "$i" $(echo "$i" | sed "s/ /_/g"); done
ali
# rename 's/ /_/' *.[jJ][pP][gG]
:)
How to get Webserver Version
# printf "HEAD / HTTP/1.0nn" | nc $server 80 | grep Server
Spliting .tgz file on the fly
tar -czf /dev/stdout $(DIRECTORY_OR_FILE_TO_COMPRESS) | split -d -b $(CHUNK_SIZE_IN_BYTES) - $(FILE_NAME_PREFIX)
putting them together agian
cat $(FILE_NAME_PREFIX)* >> /dev/stdout | tar -xzf /dev/stdin