Sunday, 28 September 2014

Remove Blank Lines From Vim

:d                                remove single blank line

:g/^\_$\n\_^$/d           remove only multi blank lines

:v/./d                           remove multi blank lines

:g/^$/d                        remove multi blank lines

  

Thursday, 25 September 2014

Introduction to unix command , shell and accounts

What is a command??

A command is a program

Types of commands

1.Simple Commands
2.Complex Commands
3.Compound Commands

What is the shell??

A special program is the shell.
An interface to the unix system.

Types of shells

1.The Bourne shell
2.The C shell

Types Of Unix Accounts

1.Root account
2.Normal user accounts