Saturday, February 4, 2012

Linux File Structure

  • All Directories are in Hierarchical structure or tree structure
  • Topmost directory is "/" which is called slash or root.
A typical linux structure will look like this
 /boot       This is where the Linux kernel is kept. It is a file called vmlinuz, this is also the version of the OS installed.

/bin          This contains files that are essential for normal operation of the system. These are available for use by all users.

/dev          This contains the information for all the devices such as hard disk, CD-ROM drive, etc.

/etc          Various system configuration files are stored in this location.

/home       This is where the users have their home directory. Similar to Documents and settings in Windows

/lib           The shared libraries (similar to DLLs in Windows) are kept here.
/lib64






Wednesday, February 1, 2012

Linux for CAE Engineers

As a fresh start for many of the young engineers, who are being forced to use Linux in office, I will be covering some of the basic topics in the blog initially. Some of you, who have attended my training will find it useful.

  • Overview of Unix System
  • Basic Commands
  • Relative & Absolute Path
  • Redirect, Append and Pipe
  • Permission
  • Process Management
  • Install Software
  • Text Editor
  • Foreground and Background Jobs
  • Handling large text/data files
  • Shell scripting basics

Monday, January 30, 2012

I have been asked by lot of my friends to teach them a bit of shell scripting. I am trying to put in my humble effort to add as many scripts as possible. I will try to explain each and every line of the script. To begin with I will be giving out explanation to simple commands and then move to scripts for job scheduling and text editing. Please put in your comments, and ask as many doubts as you wish. Remember no question is a silly question. Regards, Pavan