LinuxQuestions.org
Help answer threads with 0 replies.
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, 09: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, 09:38 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
vi --help said that:
Code:
-w lines    Set scroll amount to "lines"
 
Old 09-06-2009, 09:26 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

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

vim (Or vi) /etc/aliases

(vi is prob symlinked to vim)
 
Old 09-07-2009, 01: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, 01: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, 06: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, 08: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:26 PM
text editor is not opening up: modified custom command vanna Linux - Newbie 2 03-10-2009 11:57 PM
vim editor shabbirhai Linux - General 5 03-02-2006 03:01 AM
syntax highlighting for ls command and vim editor cseanburns Other *NIX 0 01-02-2005 04:11 AM
Error opening type hash map aliases.db : permission denied Tazzmanian Linux - Software 2 08-24-2004 12:56 PM

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

All times are GMT -5. The time now is 03:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration