Download your favorite Linux distribution at LQ ISO.
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 02-06-2004, 01:48 PM   #1
Registered: Feb 2004
Posts: 34

Rep: Reputation: 15
Kernel development Script

I wonder how can I do the following in my script:

-> Change the value of one variable...when this variable
in present in some other file.......I have the idea to replace
particuler value using replace and subsitute option
:4 s/testing/tested...........

but my problem is how to get into file having this variable
to be changed and then save the changes while exiting
from that file...

Any clue?
Thanks for your insight
Old 02-06-2004, 07:31 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"Any clue?"

I think that the heart of your script will probably be a sed command. Here is the sed command man page.

Be prepared. Create a LifeBoat CD.

Steve Stites


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
kernel development rpm ust Linux - Software 0 07-20-2004 04:21 AM
kernel development distp? alaios Linux - Distributions 1 03-21-2004 03:29 PM
Kernel development linuxdev Linux - Newbie 2 02-05-2004 04:00 PM
kernel development chrismiceli Linux - General 1 10-16-2003 01:27 PM
nvidia for development kernel watashiwaotaku7 Linux - General 2 03-18-2003 09:22 PM > Forums > Linux Forums > Linux - Newbie

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