smart grouping shorten long command line 2

June 19th, 2007 mysurface

This post is to illustrate additional usage of curly brackets { } for range of numbers, continues from smart grouping shorten long command line. Let say you have a list of logs where you want to pick a range of logs for analysis, the sample log files shows as bellow tcp_06062007_1.txt … tcp_06062007_180.txt tcp_06062007_181.txt tcp_06062007_182.txt [...]

Posted in curly brackets, Symbol, tar | Hits: 50733 | 1 Comment »

Overview: Archive tools for linux

April 7th, 2007 mysurface

There are various archive file format exist, such as .tar.gz, .tgz, .tar.bz2, .gz, .bz2, .zip, .rar, .7z. The common questions regarding archives are “how to extract files from tar.gz?”, “how to create rar in Linux?” etc. Therefore this overview aims to covers simple examples of archive tool usage for the common format such as: tar, [...]

Posted in 7z, Archive, bunzip2, bzip2, gunzip, gzip, rar, tar, unzip, zip | Hits: 99837 | 4 Comments »

Installing From Tarballs

November 17th, 2006 mysurface

We usually download linux programs through package handling tools such as yum and apt-get. Download programs through package handling tools is easy, but not all programs is available in your Linux distribution repository. Sometimes, we need to download the source code, compile and install manually. Usually, source code are compress in the archive format, its [...]

Posted in Common, make, tar | Hits: 62075 | 5 Comments »

tar normal operation

September 19th, 2006 mysurface

I am here to show you examples of how to use tar to zip and unzip two types of files ( tar.bz2, tar.gz) Remember certain option defined, c for create, z for extract and t for test. v verbose, and f is file. There are 2 common archive people are interested in, bz2 and tar.gz [...]

Posted in Archive, tar | Hits: 38802 | 8 Comments »