LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2009, 08:24 AM   #1
kvijaik
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Rep: Reputation: 0
command vi -w /etc/aliases is not opening in VIM editor


gives the following message

VIM - Vi IMproved
~
~ version 7.2.148
~ by Bram Moolenaar et al.
~ Modified by <bugzilla@redhat.com>
~ Vim is open source and freely distributable
~
~ Become a registered Vim user!
~ type :help register<Enter> for information
~
~ type :q<Enter> to exit
~ type :help<Enter> or <F1> for on-line help
~ type :help version7<Enter> for version info
 
Old 09-06-2009, 08:38 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
vi --help said that:
Code:
-w lines    Set scroll amount to "lines"
 
Old 09-06-2009, 08:26 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Forget the option, just do

vim (Or vi) /etc/aliases

(vi is prob symlinked to vim)
 
Old 09-07-2009, 12:11 AM   #4
kvijaik
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by quanta View Post
vi --help said that:
Code:
-w lines    Set scroll amount to "lines"
Thank you
 
Old 09-07-2009, 12:12 AM   #5
kvijaik
LQ Newbie
 
Registered: Sep 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
Forget the option, just do

vim (Or vi) /etc/aliases

(vi is prob symlinked to vim)
Thank you
 
Old 02-02-2012, 05:48 AM   #6
saravanan.25ece
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Please explain detail about alaises concept

Vi /etc/alaises why we use this.... how to use .please explain in detail
 
Old 02-02-2012, 07:36 AM   #7
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by saravanan.25ece View Post
Vi /etc/alaises why we use this.... how to use .please explain in detail
Hello saravanan.25ece,

It is not a good idea to use an old thread. If you have any query you can create a new thread with a proper tittle.

For your answer

go to this link
http://dictionary.reference.com/browse/alias

now once you understand the meaning this is used in mail server like postfix to give an alias name entry for any existing user on your machine.

I hope that clears your doubt.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 04:26 PM
text editor is not opening up: modified custom command vanna Linux - Newbie 2 03-10-2009 10:57 PM
vim editor shabbirhai Linux - General 5 03-02-2006 02:01 AM
syntax highlighting for ls command and vim editor cseanburns Other *NIX 0 01-02-2005 03:11 AM
Error opening type hash map aliases.db : permission denied Tazzmanian Linux - Software 2 08-24-2004 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration