grep command in unix with example
Grep command is very useful in UNIX.Grep searches for similar pattern on file and return the result.Example of grep command is grep ‘word’ filename – Will return the line which contain word. grep -i ‘nocase’ filename – This option will make grep case insensitive. grep – r ‘sear’ /etc/ – This will search in the [...]
File Compression and archival in UNIX
There are lot of times when you need to compress and archive files in UNIX in data warehousing project.The reason for this is files in DWH are huge.In this article I will explain how to compress files and than archive them.Files compression is not useful for small files.There are few command and utilities you can [...]