Category Archives: Unix command and scripts

Unix operating system like solaris, AIX,linux is widely used . All the major installation will have Unix server at the base.

I am covering here  unix commands like awk,sed,find. Also this catagory consists of lot  of articles on Unix scripts

So this is one stop place for all unix command, unix scripts and various other unix features

 

basic unix commands pdf

Last updated on November 11th, 2016 at 06:34 pmWe have touched upon many unix command before in previous article.Here are some more command with downloadable basic unix commands pdf   mv – move files(s) /dirs Options: – -f   mv will move the file(s) without prompting even if it is writing over an existing target. -i   mv will prompt for confirmation whenever the  move would  overwrite  an  … Continue reading basic unix commands pdf »

if condition in unix shell script

Last updated on October 10th, 2016 at 05:32 pmUnix Shell programming like other languages have the conditional statement processing also.if condition in unix shell script (Conditional statement) add intelligence to our scripts. This gives us the functionality to perform various command based on various conditions We will be working on if condition in unix shell script (if/then/else statement) in this post The basic format for the if/then/else … Continue reading if condition in unix shell script »

Learn unix shell scripting: The Basics

Last updated on November 27th, 2016 at 04:07 pmWe have already written about Unix Shell scripting ,What is its uses, what are various type of shells and what are positional parameters What is Shell and Shell Scripts In this post, I will  write about unix shell scripting basics and creating first shell scripts for the beginners and how to learn unix shell scripting First of … Continue reading Learn unix shell scripting: The Basics »

RSYNC command – sync the data between two directory

Last updated on September 3rd, 2016 at 03:19 amI have to sync up the two directory many times on Unix boxes.The simple steps would be to delete the directory from destination and take a backup on source destination  and copy it to the destination directory. It was good for small directories but This process will consume lot of time  as directory size grow up. I searched … Continue reading RSYNC command – sync the data between two directory »

Awesome sed command in unix examples

sed command in unix example

Last updated on November 7th, 2016 at 05:55 pmIntroduction to sed command in unix sed – Stream EDitor – works as a filter processing input line by line. Sed reads one line at a time, chops off the terminating newline, puts what is left into the pattern space (buffer) where the sed script can process it (often using regular expressions), then if there anything to … Continue reading Awesome sed command in unix examples »

Unix Tutorial: Compress,Uncompress command,gzip and gunzip command

In continuation of our series of Unix tutorial,I am here presenting the Unix Tutorial: Compress,Uncompress command,gzip and gunzip command Compress,Uncompress command compress – The compress utility will attempt to reduce the size of the named files. File will be replaced by one with the extension .Z, while keeping the same ownership modes, change times and modification times. uncompress – The uncompress utility will restore files to … Continue reading Unix Tutorial: Compress,Uncompress command,gzip and gunzip command »

vi tutorial -3

Last updated on August 11th, 2015 at 08:18 amRanges Ranges may precede most “colon” commands and cause them to be executed on a line or lines. For example :3,7d would delete lines 3-7. Ranges are commonly combined with the :s command to perform a replacement on several lines, as with :.,$s/pattern/string/g to make a replacement from the current line to the end of the file. … Continue reading vi tutorial -3 »

Unix Tutorial : vi tutorial -2

Last updated on November 12th, 2016 at 05:55 amHere we would be continuing our series on Vi editor learning. We have learned about how to open file using vi editor, how to edit it in the below link Unix Tutorial :vi editor Part -1 Now we would be seeing vim search command, vi substitution, vi replace with examples vim search command /string Search forward for string … Continue reading Unix Tutorial : vi tutorial -2 »

Unix Tutorial: how to use grep command in unix/linux

Last updated on November 27th, 2016 at 01:11 pmgrep command Means – globally search regular expression. It is very useful while searching for strings in Unix /linix operating syste. Here we would be taking  a look on linux grep command examples, how to use grep command in unix/linux how to use grep command in unix The grep utility searches text file.txt for a pattern and … Continue reading Unix Tutorial: how to use grep command in unix/linux »

Useful find command examples in unix

Last updated on November 11th, 2016 at 06:53 pmfind command examples in unix Find command in Unix is a extremely useful command. you can search for any file anywhere using this command provided that file and directory you are searching has read write attributes set to you ,your, group or all. Find descends directory tree beginning at each pathname and finds the files that meet … Continue reading Useful find command examples in unix »