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 01-20-2010, 01:43 AM   #1
swaroop07
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
Question Cant make changes in VI (SUSE 9)


Hi

I am new to Linux, and trying to install webSphere on it, when i open the installation file in VI it doesn't allow me to make any changes, i have given all the permissions and even logged in as root....

i dont know much abt linux.. i would be very happy if anyone can help!!!

-rwxrwxrwx 1 root root 47122 May 16 2006 responsefile.nd.txt
 
Old 01-20-2010, 02:04 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Check the immutable attribute: lsattr /path/to/file.
 
Old 01-20-2010, 02:07 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Quote:
Originally Posted by swaroop07 View Post
Hi

I am new to Linux, and trying to install webSphere on it, when i open the installation file in VI it doesn't allow me to make any changes, i have given all the permissions and even logged in as root....

i dont know much abt linux.. i would be very happy if anyone can help!!!

-rwxrwxrwx 1 root root 47122 May 16 2006 responsefile.nd.txt
Hi swroop07,

when open responsefile.nd.txt in vi, that will be opened in command mode by default. To edit the file press the key i ( insert ) and start editing.

lot of tutorials are avilable on net for file editing using vi.
 
Old 01-20-2010, 02:34 AM   #4
swaroop07
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
hi

I did the same as you said, i open the file in VI and then press I, which allows me to insert characters however it isn't allowing be to modify any of the characters, (for example, it allows me to type anything that i want but it doest allow me to change the existing word like i cant change false to true )
 
Old 01-20-2010, 02:36 AM   #5
swaroop07
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I have something to add previously when i had oracle linux and when i open any installation document, the characters in it were in blue and i could make changes but now the text is in black and cant make any changes... i am not sure if it makes any difference or no.
 
Old 01-20-2010, 10:24 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,976

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
I'm not sure if I understand the problem. You are opening a file from a terminal using vi, hitting the "i" key to insert and trying to make changes. Are you unable to use the arrow keys to get to where you want to make changes? Are you unable to delete "false" and insert "true" in its place? or are you unable to save the file after making changes?
 
Old 01-20-2010, 12:03 PM   #7
swaroop07
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Original Poster
Rep: Reputation: 0
yancek

i am trying to install a s/w using silent installation(not in GUI)

when i try to make the changes in the setup file, using VI it doesnt allow me to use the back arrow to make any changes, i could use the delete keys however the installation is not starting
 
  


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
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 07:25 PM
make, make install not found Suse 9.1 Phaen Ilda Linux - Software 9 12-04-2004 09:40 AM
make; make install commands in SuSE Linux 9.1 Personal johnerskine Linux - Newbie 6 06-23-2004 11:18 AM
SuSE 9.0 and Slackware 9.1, Let's make SuSE fast as Slack vdogvictor Linux - General 2 06-19-2004 04:54 PM


All times are GMT -5. The time now is 12:08 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