Skip to content
Archive of posts tagged Languages

pigz -parallel gzip

Here is a short description of pigz: pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. And for the installation: sudo yum install pigz With pigz, if you don’t have many things running on your multi [...]

15 Linux Bash History Expansion Examples You Should Know

Here is a nice link on BASH History Expansion. There are lot of examples in this page and some of them might be quite useful. But here are my list of favourites: !! This is probably the most used one by me. This will repeat the last command. And this works even in conjunction with [...]

Oracle Select the top 5 queries

Here are one sql script that I found some time back. This will be listing the top 5 SQL queries in Oracle. SET linesize 300 SET PAGESIZE 200 select * from (select sql_text, sql_id, elapsed_time, cpu_time, user_io_wait_time from sys.v_$sqlarea order by 5 desc) where rownum < 6; quit; Related articles SQL Fiddle (thinkvitamin.com) New Oracle [...]