LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-09-2011, 07:36 AM   #1
raahul
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
Question vim


hi all
i am rahul i have done linux but i am begineer can anyone tell me why i am not able to open a file with vim editor & how to trouble shoot linux booting problem and how to open recovery console
 
Old 06-09-2011, 07:44 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Hi and welcome to LQ.

You might not have permissions to do it. Can you post the error you get when you try:

Quote:
vim yourfile

Last edited by sycamorex; 06-09-2011 at 08:10 AM.
 
Old 06-09-2011, 08:07 AM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,078

Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by raahul View Post
hi all
i am rahul i have done linux but i am begineer can anyone tell me why i am not able to open a file with vim editor & how to trouble shoot linux booting problem and how to open recovery console
I advise creating separate posts for each of your problems since they are entirely unrelated to each other. Threads which start with a post requesting help with multiple unrelated issues tend to very quickly get messy and confusing. Since someone's already responded to your vim enquiry and your subject header just says 'vim', you could start separate posts for the booting and recovery console issues, or maybe just one if they are actually related in some way. You will have to provide a lot more information than you have done so though. 'booting problem' is hopelessly vague. You need to provide some information on exactly what is going wrong during boot, including an error messages which occur.
 
Old 06-09-2011, 08:47 AM   #4
roygbiiv
LQ Newbie
 
Registered: May 2011
Distribution: Arch Linux
Posts: 25

Rep: Reputation: 13
Please post here the output of running the following commands in a terminal:
Code:
which vim
Code:
echo $PATH
By the way there is not such thing as a recovery console in linux. If you ever screw up you linux system badly, then you should try booting into a linux live cd and go from there.

Please rename your post title, give some more information about your issue - then people will likely be more responsive and helpful.

Last edited by roygbiiv; 06-09-2011 at 08:54 AM.
 
Old 06-09-2011, 11:34 AM   #5
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: PC-BSD / FreeBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 438

Rep: Reputation: 57
By recovery console, do you mean Single User Mode?

That's possible, but you really should open different threads for each of your issues.

The Vim issue - check first if you can read the file. Try
Code:
 tail filename
Booting issues, what point in the boot is it failing?
 
Old 06-09-2011, 11:39 AM   #6
roygbiiv
LQ Newbie
 
Registered: May 2011
Distribution: Arch Linux
Posts: 25

Rep: Reputation: 13
Quote:
Originally Posted by MBybee View Post
That's possible, but you really should open different threads for each of your issues.
Quote:
Booting issues, what point in the boot is it failing?
Er-hem! You just owned yourself

Last edited by roygbiiv; 06-09-2011 at 11:44 AM.
 
Old 06-09-2011, 01:32 PM   #7
MBybee
Member
 
Registered: Jan 2009
Location: wherever I can make a living
Distribution: PC-BSD / FreeBSD / Debian / Ubuntu / Win7 / OpenVMS
Posts: 438

Rep: Reputation: 57
Quote:
Originally Posted by roygbiiv View Post
Er-hem! You just owned yourself


Recursive attempt to help?
 
  


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
LXer: Personalize and Optimize Vim editor using Packtís new Vim 7.2 book LXer Syndicated Linux News 0 05-20-2010 11:20 PM
Switching from vim to vim -g from inside vim iDragoon Linux - Software 4 05-15-2009 12:46 PM
Editor comparison: vim VS vim-lite, Cleaning vim Ruler2112 *BSD 4 04-13-2009 05:26 PM
LXer: Vim tips: Using Vim mappings and abbreviations LXer Syndicated Linux News 0 06-18-2006 02:54 PM
LXer: Cream for Vim - Making Vim more user friendly LXer Syndicated Linux News 0 06-18-2006 12:54 AM


All times are GMT -5. The time now is 08:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration