Skip to content
September 6, 2010 / Nandha kumar

Joined Internship

Hi to all,

After a long gap I sat on system today. From Yesterday( 4-9-2010) I joined for an Internship program with ChandraShekhar Babu sir.

Already my friend Ramachandran had joined that class last week itself. He insisted me to join asap. So, I joined there and The training has started in a Interesting manner.

Already I have attended Python Training program conducted by Chandrashekhar sir. So, After reaching the venue, I met and spoke to him. He told me about the internship plans and scope of it. Then the class started at 11.30 AM.

The first session was about Javascript. Sir started with the HTTP protocol working .It was really interesting. Then He told about the History of Javascript , its features and advantages as a scripting language.

He , inbetween, said many useful informations. Then He taught about the Basics of Javascript through W3schools.com . At the end of the class we asked him several doubts and got clarified . The day went very happily and usefully.

Today (5-9-10) , It was Linux administration session. The class started by 11.15 AM. Sir first revised few of the commands like date, chmod, chown, dd, df, etc that were taught on last class. Then He started to explain us about a very old but great Line editor known as “ed” . He showed us the editor in terminal.

We were shocked to see such a light weight and extremely good editor. Ed was created by Dennis Ritchie. This editor is a base for many new editors that we use now like “vi”.

Ed editor’s features were also utilised by languages like Awk, Tcl. Sir also told about his experiences with Ed editor.

Then We started exploring the grep command. Also we started using regular expressions in building patterns for the grep command. We also tried with egrep command since some advanced features were available with egrep rather than grep.

Some of the commands that I Learnt today :

$ cp *

This command will copy the files present in the directory within the folder   contained in that directory. For example I have a directory /home/nnk .Within the directory I have 3 text files a.txt, b.txt, c.txt and also a folder sample. When I execute the above cp command , The three files will be copied into the folder sample . This is called as wildcard expansion. The Shell will execute symbols like * before executing the command by itself.

df -h

Command that is used to check Disk usage and Free Disk space in HardDisk

dmesg

This is a debug message generated by the system. This message will list         all the devices’ information that are connected with the system like CD- ROM, DVD, HDD, etc. we can identify the devicenames and their partition details and these information are useful when our system displays some hardware related errors.

watch to execute a process every two seconds and see the progress. Suppose if             We are copying a huge data in size GBs via Terminal commands , we cannot be able to see how much amount of data is being copied. We can use watch command for these kind of purposes.

example, watch free –  will execute free command to check the RAM and Swap memory usage statistics every 2 seconds.

cut

Separate the input obtained from standard input as fields using a delimiter character [ say : or – ] and process them to output.

ntpdate    clock.redhat.com

To synchronise our system date with the standard clock of Redhat . [ this cmd needs Internet Connection and also needs to be executed several times to adjust time latency in micro seconds ].

grep a filter that is used for search and output processing.

Three types of grep

egrep – a grep command with more features like alternation , grouping, Identifires, Ranges, …

grep – a grep command with normal usage

fgrep – a grep command with fast processing minimal features.

I have listed only few of the commands that were discussed in the class. I will try to prepare more detailed post on the commands later. Finally the day went happier, informative and useful and most of all interesting.

Regards

N.Nandhakumar

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: