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

 

How to use tar command in Unix

In continuation of our series of Unix tutorial ,i am here presenting the Unix Tutorial:  tar command example tar – create tape archives and add or extract files.A more common use for tar is to simply combine a few files into a single file, for easy storage and distribution. The tar command archives and extracts files to and from a single file called a tarfile. -I … Continue reading How to use tar command in Unix »

Must read unix shell scripting interview questions

Last updated on March 20th, 2017 at 04:02 amUnix is used everywhere and knowledge of the operating system is must for any interview. Here are the must read  unix shell scripting interview questions 1) What is Shell Script? Answer A shell script is a collection of command which are executed in a order given. There are conditional statement and looping also available like if ,while which … Continue reading Must read unix shell scripting interview questions »

awk command in unix with examples

Last updated on April 22nd, 2017 at 07:38 amAwk is a powerful command. In this post,i will try to put awk command in unix with examples What is awk command in Unix? a)awk command is a Pattern Scanning and Processing Language. b)awk command is a programming language whose basic operation is to search a set of files for patterns, and to perform specified actions upon … Continue reading awk command in unix with examples »

Useful Unix command for Oracle DBA

Last updated on November 27th, 2016 at 08:38 am Oracle DBA need to operate on Unix/Linux/Solaris/AIX Operating system. He has to locate various file, process, kill session ,clear directories, schedule cron and various other activities. Here in this article I am trying to give some Useful Unix command for Oracle DBA  to help them in day-to-day activities.These same commands are applicable for Linux also. Hope you … Continue reading Useful Unix command for Oracle DBA »

5 Must have Unix books to enrich your brain and arsenal

Last updated on August 16th, 2016 at 05:27 pmHere are 5 Must have Unix books to enrich your brain and arsenal 1) Sed & Awk sed & awk describes two text processing programs that are mainstays of the UNIX programmer’s toolbox.sed is a “stream editor” for editing streams of text that might be too large to edit as a single file, or that might be generated … Continue reading 5 Must have Unix books to enrich your brain and arsenal »

PuTTY CONNECTION MANAGER (PuttyCM)

Last updated on August 19th, 2016 at 04:49 pmWhat is PuTTY CONNECTION MANAGER (PuttyCM) PuttyCM displays multiple PuTTY sessions in Tabs. It is very useful for  the administrator who is working on multiple server at a time. This enables the administrator to perform multiple function with ease. Moreover this is freeware   Significant Features of PuttyCM 1.Display Multiple PuTTY Sessions in Tab You can open … Continue reading PuTTY CONNECTION MANAGER (PuttyCM) »

Functions in Shell Script with some practical examples

Last updated on October 11th, 2016 at 06:30 pmShell programming provides the feature of functions  just like any other programming  language. This help us develop the program in a modular manner.Using functions in shell script to perform repetitive tasks is an excellent way to create code reuse. Code reuse is an important part of modern object-oriented programming principles. What are functions in Shell Script? Functions are  group … Continue reading Functions in Shell Script with some practical examples »

Useful Advanced shell scripting examples

Last updated on August 19th, 2016 at 05:18 pmWe have learned the basics of shell scripts.Now its time to turn to more useful advanced shell scripting side. Here are the Useful Advanced  shell scripting examples How to Invoke vi within shell script and make changes while executing the script We often get requirement where we are supposed to edit the file and make changes during the … Continue reading Useful Advanced shell scripting examples »

How to check physical RAM ,swap space on Unix

Last updated on August 19th, 2016 at 05:31 pmWe often get question on how to check physical RAM  ,swap space on Unix . Command varies as per the Operating system. Here are the command  for common operating system How to check Physical RAM , Swap Space on Unix Operating System: HP Tru64 UNIX Physical RAM: # /bin/vmstat -P grep “Total Physical Memory” Swap Space: # … Continue reading How to check physical RAM ,swap space on Unix »

Writing loop statement in Unix shell scripting with examples

Last updated on November 12th, 2016 at 08:02 amWhat is loop statement in Unix shell scripting A group of instruction that is executed repeatedly until a termination condition is met is called a loop. Bash supports for and while loops. Some shell supports until also How it works In each and every loop, The variable used in loop condition must be initialized, then execution of … Continue reading Writing loop statement in Unix shell scripting with examples »

split ,tr and tee unix command with examples

Last updated on August 19th, 2016 at 06:07 pmIn this article, we will be discussing the useful cases of split  unix command with examples. We will also be discussing the tr and tee commands split unix command it split a file into pieces. SYNTAX for the Split command split [-linecount | -l linecount | -b bytes]  [file [name] ] -l linenumber -b bytes This command is … Continue reading split ,tr and tee unix command with examples »

Bg,Fg,CtrlZ Unix command to Manage Unix Background Jobs

Last updated on August 19th, 2016 at 06:01 pmThere are several commands which allow you to manage the processes that belong to you. Off course You cannot do anything with processes belonging to other users unless you are root user. Here is the detail on Bg, Fg, CtrlZ  Unix command  to Manage Unix Background Jobs with Examples Some definition What is foreground process When you enter … Continue reading Bg,Fg,CtrlZ Unix command to Manage Unix Background Jobs »