Unix VIM Editor - Tutorial

Unix vim editor can be useful for file processing and editing.

Escape Mode Commands:

  • A -> will append the upcoming text at the end of the file
  • i -> Will change the vim editor into insert mode to enter content.
  • o -> Insert new line (below)
  • O-> Insert new line (above)
  • w -> move by word (forward)
  • b -> move by word (backward)
  • ) -> move by line (forward)
  • ( -> move by line (backward)
  • } -> move by paragraph (forward)
  • { -> move by paragraph (backward)
  • p -> paste
  • u -> undo
  • ctrl+r -> redo
  • To jump to a particular line.

:linenumber

  • To go the last line: G

Unix File Commands

Few file related commands in Unix Operating System.

  • The “wc” can be used to count the number of lines, words and characters in a file.

Example:

wc filename -> will list the number of lines, words and characters.

wc -l filename -> will list the number of lines.

wc -w filename -> will list the number of words

wc -c filename -> will list the number of characters.

  • To find the duplicate lines in a file, we can use the “uniq” command.

Example:

uniq filename -> will list the distinct lines (removes the duplicate lines in a consecutive order).

wp_468_60

Some Basic UNIX Commands

File Copying in UNIX:

We can copy the files by using the unix command “cp”, The “cp” command requires “source” & “destination”.

Example:

cp “mysourcefile.extension” “destinationpath/destinationfile.extension”.

Creating a Folder or Directory in Unix:

We can create the directory using the “mkdir” command.

Example: mkdir “foldername”.

Free Web Templates Online

The free template web site offers all ranges of web templates for free including free wp themes, free drupal templates, joomla templates and all kind of free HTML and CSS templates for free.

If you are a theme designer and you want to promote your themes or template, there is a section in this site to promote your themes, where you can submit themes.

How to buy a reliable web hosting?

Finding a reliable web hosting is a hard thing nowadays. Because many hosting providers offers with N GB number of disk space and N X N number of bandwidth even some hosting providers offers Unlimited disk space with unlimited traffic. But quality?, it’s the big question, so that we need to concentrate on few more thing when we buying the web hosting. The first thing is we need to see the up time & downtime for their servers. The second thing is technical and other support, then the hosting features such as scripting languages, one click installation of scripts and web server features etc.

It’s always better to read online hosting reviews before buying any web hosting. Also, search for web hosting discount vouchers, So that we can buy discount and quality web hosting. And also check for money back guarantee period.