LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vim (https://www.linuxquestions.org/questions/linux-newbie-8/vim-885382/)

raahul 06-09-2011 06:36 AM

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

sycamorex 06-09-2011 06:44 AM

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

arizonagroovejet 06-09-2011 07:07 AM

Quote:

Originally Posted by raahul (Post 4380839)
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.

roygbiiv 06-09-2011 07:47 AM

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.

MBybee 06-09-2011 10:34 AM

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?

roygbiiv 06-09-2011 10:39 AM

Quote:

Originally Posted by MBybee (Post 4381067)
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 :)

MBybee 06-09-2011 12:32 PM

Quote:

Originally Posted by roygbiiv (Post 4381070)
Er-hem! You just owned yourself :)

:D

Recursive attempt to help?


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