LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-03-2012, 06:26 AM   #1
shibir
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
how to delete a stanza without using vi editor?


hi

there are two stanza of repo client config in local.repo file

i want to delete the first stanza without using vi editor, how?

thanks
 
Old 09-03-2012, 09:30 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,009

Rep: Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193Reputation: 3193
http://www.grymoire.com/Unix/Sed.html
 
1 members found this post helpful.
Old 09-03-2012, 01:03 PM   #3
shibir
LQ Newbie
 
Registered: May 2012
Posts: 28

Original Poster
Rep: Reputation: Disabled
thanks. its helpful
 
  


Reply



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
[SOLVED] to get delete the blank lines from vi editor. vaibhavs17 Linux - Newbie 3 07-09-2012 03:09 PM
Do I need a new stanza in network-interfaces to get wireless connection up? sonichedgehog Linux - Networking 9 08-26-2009 04:30 AM
how do I delete *certain* lines in vi editor? zim64half Linux - General 3 04-23-2007 07:39 PM
need lilo stanza for suse eclectic4 SUSE / openSUSE 3 08-18-2006 03:12 PM
Jed editor and delete key tw001_tw Slackware 4 02-01-2005 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 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
Open Source Consulting | Domain Registration