LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command vi -w /etc/aliases is not opening in VIM editor (https://www.linuxquestions.org/questions/linux-newbie-8/command-vi-w-etc-aliases-is-not-opening-in-vim-editor-753062/)

kvijaik 09-06-2009 08:24 AM

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

quanta 09-06-2009 08:38 AM

vi --help said that:
Code:

-w lines    Set scroll amount to "lines"

chrism01 09-06-2009 08:26 PM

Forget the option, just do

vim (Or vi) /etc/aliases

(vi is prob symlinked to vim)

kvijaik 09-07-2009 12:11 AM

Quote:

Originally Posted by quanta (Post 3671797)
vi --help said that:
Code:

-w lines    Set scroll amount to "lines"

Thank you

kvijaik 09-07-2009 12:12 AM

Quote:

Originally Posted by chrism01 (Post 3672379)
Forget the option, just do

vim (Or vi) /etc/aliases

(vi is prob symlinked to vim)

Thank you :)

saravanan.25ece 02-02-2012 05:48 AM

Please explain detail about alaises concept
 
Vi /etc/alaises why we use this.... how to use .please explain in detail

deep27ak 02-02-2012 07:36 AM

Quote:

Originally Posted by saravanan.25ece (Post 4591578)
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.


All times are GMT -5. The time now is 05:45 PM.