Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-06-2006, 10:53 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
vi / vim command

Dear All,

I am a new user of cygwin to practice the linux/unix commands in the window.

But i am unable to use the vi or vim command. I downloaded the vim-7.0.tar file. Now what should i do as there is no exe file....

Can anyone please help me?

Best regards,

Old 12-06-2006, 11:10 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Use the setup program to download and install the vim package. It should untar the package for you and copy the files where they need to go. In the cygwin shell enter "which vim" to see if it is installed. It should be in either the /bin/ or the /usr/bin/ directory. I bet it is in the /usr/bin/ directory. Other files that vim uses such as the help files and language syntax files will be installed in other directories (under /usr/share/vim/ ).

From your comment about the vim.exe file, I'm not certain whether you realize that you run the commands from inside the cygwin shell. I installed Cygwin/X on my computer at work. I find the textutils to be very useful. I can take a directory listings of dvd backups to produce a tab separated file containing a db of discs and filenames, and then use enscript to produce a post script catalog. Then I use ps2pdf to convert it to a pdf file that I copy to the server for the other employee's to reference if they need to bring back a backed up video spot. The script that does all this is only 3 or 4 lines long! Consider the massive gui program that a windows only user would use to do the same thing!

Last edited by jschiwal; 12-06-2006 at 11:14 PM.


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
no colors in vim on command line rajeev1982 AIX 5 02-05-2015 10:03 AM
VIM Command Tab not working AMMullan Linux - Software 1 06-18-2006 05:17 AM
Vim: run shell command without acknowledgement jrdioko Linux - Software 2 02-25-2006 08:52 PM
syntax highlighting for ls command and vim editor cseanburns Other *NIX 0 01-02-2005 03:11 AM
vi/vim command xviddivxoggmp3 Linux - Software 4 06-13-2004 10:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:39 PM.

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