Can't Editing File in Single mode (using vi)


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Can't Editing File in Single mode (using vi)
# 1  
Old 06-18-2007
Can't Editing File in Single mode (using vi)

Dear All,

Yesterday I'm change
Code:
/etc/vfstab

file ( disable 1 Device mounting)
and now I can't login to multiuser mode just single user mode, and now I want enable again, but I can't using vi editor in single user mode
How to edit this file? thereis default can't using vi editor in single mode?
Thank you for your help

Regards,

heru
# 2  
Old 06-18-2007
#export EDITOR=vi
#export TERM=dtterm

could help you.
# 3  
Old 06-18-2007
Thanks encrypted,

I already tried
Code:
#export EDITOR=vi
EDITOR=vi is not an identifier
#export TERM=dtterm
TERm=dtterm is not an identifier
#vi /etc/vfstab
"/var/tmp" no such file or firectory
#

I'm still can't edit my /etc/vfstab file, I'm sorry not inform my Unix OS, I'm using Solaris 10 X86..

Thank's for help

regards,

heru
# 4  
Old 06-18-2007
#EDITOR=vi; export $EDITOR
#TERM=dtterm; export $TERM
# 5  
Old 06-18-2007
Dear encrypted,

Thank's very much for helping me,
Code:
#EDITOR=vi; export $EDITOR
#TERM=dtterm; export $TERM
#vi /etc/vfstab
"/var/tmp" no such file or firectory
#

still can't edit my file.. any way for change my vfstab?

regards,

heru
# 6  
Old 06-18-2007
im new/newbie and im just looking for some one who has some time to help me contact number deleted

REFLE[X], please read the rules and adhere to it.

Last edited by vino; 06-18-2007 at 05:20 AM..
# 7  
Old 06-18-2007
vino can you help me contact number deleted or any body
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Single user mode

Hi all I am new on sun OS. I have have little experience on linux. The Story start from this point: I want to put some script on start-up the terminal, but I cant do that. my shell was sh and I tried so much to find way to do that. at last someone said to me change your shell to bash. I ask how... (4 Replies)
Discussion started by: Rahim_T
4 Replies

2. Shell Programming and Scripting

editing single line in html file in perl script

Hi Folks, It is regarding the perl scripting. I have an html file(many files) which contains the below line in the body tag. <body> <P><STRONG><FONT face="comic sans ms,cursive,sans-serif"><EM>Hello</EM></FONT></STRONG></P> </body> Now I want to read that html file through perl... (3 Replies)
Discussion started by: giridhar276
3 Replies

3. UNIX for Advanced & Expert Users

What is the difference between single line mode and multiline mode in Regular expressions?

Hi All, Can please let me know what is the difference between the single line mode and multi line mode in regular expresions? Thanks, Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies

4. Solaris

editing /etc/vfstab in single user mode

Hi Experts, My /etc/vfstab got corrupted and have no bootable CD or system , I can get into the system in maintenance mode however the root file system is in read only mode and i am unable to modify the /etc/vfstab. Is there any option through which i can modify the /etc/vfstab ? Thanks (4 Replies)
Discussion started by: kumarmani
4 Replies

5. Shell Programming and Scripting

Single line file editing command?

Hello everyone. I have been reading a lot about the various different text editors at my disposal through Unix, but I just can't seem to close the deal for what I am trying to do. Is there a way to issue a single line command to edit a file where pattern=x, and do it non-destructively AND in-place?... (1 Reply)
Discussion started by: gator76
1 Replies

6. UNIX for Dummies Questions & Answers

how to Single user mode?

How to enter single user mode when UNIX/LINUX system is starting? (1 Reply)
Discussion started by: gkreddy
1 Replies

7. AIX

Boot in Single-Mode

Hi All, I have AIX 5.1 & I forgot the root password. I find out the solution is to boot in single-mode and remove the root password from the /etc/passwd file. My question is how to boot in single-mode? Also is there any password required when booting in this mode? (9 Replies)
Discussion started by: aldowsary
9 Replies

8. UNIX for Advanced & Expert Users

single user mode

How to diable the single user mode.. what i want is dat my users are unable to boot in single user mode via GRUB.. (1 Reply)
Discussion started by: ankit.jss
1 Replies

9. UNIX for Advanced & Expert Users

single user mode

Is there another way of switching to single user mode except by typing /usr/sbin/shutdown 0 ??? :rolleyes: (5 Replies)
Discussion started by: kekanap
5 Replies

10. UNIX for Dummies Questions & Answers

Single user mode

Hi all, Well back at work and back to crashing systems again :-) Does anyone know where I can find some decent information on single user mode? I need to be able to fix a few things. Don't know if it's possible in single user mode but I need to fix the "etc/vfstab" mainly I re-wrote it to... (2 Replies)
Discussion started by: merlin
2 Replies
Login or Register to Ask a Question