List of commands you use most often


$ history | <a class="zem_slink" title="AWK" rel="homepage" href="">awk '{a[$2]++}END{for(i in a){print …

concatenate compressed and uncompressed logs


$ find /var/log/apache2 -name 'access.loggz' -exec <a class="zem_slink freebase/guid/9202a8c04000641f800000000001abd9" title="Gzip" rel="homepage" …

Delete all files in a folder that don’t match a certain file extension


$ rm !(.foo|.bar|*.baz) Deletes all files in a folder that are NOT *.foo, *.bar or *.baz files. Edit the pattern inside the brackets as you like. […] <a …

This website uses cookies to ensure you get the best experience on our website. Learn more Got it