LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-07-2002, 05:39 AM   #1
rverlander
Member
 
Registered: May 2002
Distribution: A few
Posts: 488

Rep: Reputation: 30
Unhappy gnu patch problems


I'm trying to use gnu patch to patch a file, I did the usual patch -p0 filename.patch but the patch utility just displays nothing and doesn't take me to command prompt but I can use Ctrl + Alt + Delete to reboot.

HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!

Last edited by rverlander; 07-07-2002 at 06:02 AM.
 
Old 07-07-2002, 01:58 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
zcat /path/to/file.gz | patch -p(#)

# = the amount of directories to patch ... (silly i know)
Example = If you are in /linux/src/kernel.x.x.x and want to patch it with a patch in /linux/src you would do:
zcat /linux/src/patchfile.gz | patch -p1
to make it easy, just throw the patch in the same dir though and use -p0 lol
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
patch and evdev problems godhugh Linux - Newbie 0 01-06-2005 10:52 AM
openmosix: patch problems opabil Linux - Distributions 0 12-21-2004 03:53 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM
problems with a rhas patch upgrade msteudel Linux - Software 2 02-26-2004 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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