Archive

Archive for the ‘Unix administration’ Category

vi commands quick reference

June 24th, 2009 admin No comments

Unix vi commands quick reference

General Notes:
1. Before practicing using this vi tutorial, type the following command followed by a   carriage return: :set showmode
2. vi is not VI. It is case sensitive!!! So make sure Caps Lock is OFF.

Requirements:

In order to work correctly the vi need correct terminal type (TERM) setting. The TERM setting depends on the type of terminal you have. Commonly used TERM types are vt100, vt220 and ANSI.  In most cases vt100 will work fine. In case vi is not able to understand the TERM you have given, it starts in open mode giving you a line by line display. Generally TERM is taken from .profile or /etc/profile, but can be set at the command line as:

$TERM=vt100

$export TERM

echo $TERM will display the current TERM set.

Read more…

  • Share/Bookmark

Unix/Linux commands Quick reference

June 24th, 2009 admin No comments

Quick Reference: Unix Commands and options

The following format is used for commands:
Italic indicates a variable that you supply
Bold indicates exactly what you type
[ ] Square brackets indicate that the thing which they surround is optionally typed. The square brackets themselves are not to be typed.

To display a command description from the Unix Manual and can be used to get more information on each command. Type following on shell prompt to see the manual:
man command
Example: man ls to find more about the command ls

If you are not sure of the exact command name, you can use man with the -k option to help you find the command you need. To see one line summaries of each reference page that contains the keyword you specify, enter: man -k keyword Read more…

  • Share/Bookmark

Installing RedHat Linux

April 27th, 2009 admin No comments