• RSS
  • SmsJobs
  • Sms
  • GoogleBuzz
  • Facebook
  • Twitter
  • Linkedin
  • Youtube
The Linux Juggernaut

The Linux Juggernaut

roles on……

Archive for the ‘Scripting’ Category

Linux_redirection_operators

 Redirecting operators in Linux

 In order to understand about Redirecting operators in Linux we should know how we communicate with a computer. When we are communicating with a computer there should be a way to do it and this is achieved by STDIN (0), STDOUT (1), STDERR (2) file descriptors. There are numbers assigned to these file descriptors as shown below.

STDIN --> 0 
STDOUT  --> 1 
STDERR --> 2

We will see what … Continue Reading

Posted by Surendra Anne On Thursday-Feb - 9 - 2012 Add Comments READ FULL POST
shell_scripting_debug

Debugging a shell script is very essential to check your script for any errors before moving in to production. In this post we will see different debugging tips and tricks useful for running your scripts without a flaw.

Before debugging a script we have to learn how to write a shell script professionally in order to minimize the errors.

 When executing a shell script use sh command with below options to debug a shell script … Continue Reading

Posted by Surendra Anne On Tuesday-Aug - 16 - 2011 Add Comments READ FULL POST
shell_scripting_debug

There are many shell inbuilt variables which are used for administrating and writing shell scripts. In this post we will see important inbuilt variables and their importance. Please add any other built-ins which are useful for administration and for shell scripting.

Note: in order get present values of these variables use echo command to get them. For example if you want to see present shell then you can give echo $SHELL to get the … Continue Reading

Posted by Surendra Anne On Monday-Aug - 15 - 2011 Add Comments READ FULL POST
shell_scripting_debug

How to write a shell script professionally and why to write it?

Most of the time when we work and write shell script we write on the go not considering others who want to understand it. Suppose you write a shell script and did not given any info what that shell script do, all your efforts will be in vain if a new system admin is unable to understand it. We have to make a … Continue Reading

Posted by Surendra Anne On Sunday-Aug - 14 - 2011 Add Comments READ FULL POST
shell_scripting_debug

This is a small how-to topic on running the shell script you just received or created. The basic philosophy of Linux is to consider everything as files. And if you want to execute a file/app the permissions are set to executable on that file otherwise you will get permissions denied.

Let’s try to execute a script without setting executable permissions to the shell script file and see what happens?.

./numper.sh bash: ./numper.sh: Permission denied

So … Continue Reading

Posted by Surendra Anne On Wednesday-Aug - 10 - 2011 1 Comment READ FULL POST
regular-expressions-regex

Regular expressions (Regexp)is one of the advanced concept we require for writing efficient shell scripts. We divided regular expressions in to 3 types for better understanding.

1)Basic Regular expressions
2)Interval Regular expressions
3)Extended Regular expressions(Use option -E for grep and -r for sed)

Basic regular expressions: The set includes very basic set of regular expressions which do not require any options to execute.

Which commands support regular expressions?
tr, grep, sed, awk etc.… Continue Reading

Posted by Surendra Anne On Friday-Jul - 1 - 2011 Add Comments READ FULL POST

email newsletter

Linux_redirection_operators

Linux/Unix redirecti

 Redirecting operators in Linux  In order to understand about Redirecting operators ...

dns records, dns configuration, dns stuff, dns server, open dns, dns report, how dns works, dns port number, dns in linux, global dns, types of dns, define dns, universal dns, dns address, domain name system, dns advantage, dns ip address, dns watch, dns query types, open dns address, check dns, dns namespace, dns resource records, dns tutorial, dns details, a dns, what is a dns, who is dns, how to dns, dns who is, dyn dns, dns servers, dns server service, dns a name, search dns, dns name, domain dns, dns setup, set dns

Domain Name Server(D

History of DNS server How DNS server evolved? To understand why we ...

Linux Bash Shell sho

This is a small post on improving your productivity when working with ...

Up coming posts on D

We are very much happy to announce that we started posting on ...

Wishing you Happy an

Dear Friends/Readers, I take this opportunity to convey our sincere thanks ...

  • About Linux Juggernaut

    How the blog name selected? Juggernaut: * a massive inexorable force that seems to crush everything in its way ...readmore>>

  • Contact Me

    Contact us Send an Email Phone number and vCard LinkedIn profile Advertise with us
  • About Me

    Surendra Kumar Chowdary

    My name is Surendra Kumar Anne. I am from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present i work at Persistent Systems as Module Lead.   read more »