9 More Discussions You Might Find Interesting
1. Solaris
I am trying to determine the date of the last patch on a Solaris machine. I know that I can get the last patch name with the uname -a command but that does give me any date info. Any ideas? (1 Reply)
Discussion started by: tdriley29
1 Replies
2. Red Hat
HI all,
I need to patch(updated a linux redhat server (Red Hat 4.1.2-48) that it is on production, this server cannot have internet access.
How can I do this patching (update). there is link to download in a cd or something similar.
Any advice it is very welcome
Carlitospi99 (1 Reply)
Discussion started by: carlitospi99
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am having a text file with the following contents
###########
File1
###########
some
page1.txt
text
page.txt
When I sort this file on Red Hat 5, then I get the following output
###########
File1
###########
page1.txt
page.txt
some (3 Replies)
Discussion started by: sarbjit
3 Replies
4. Shell Programming and Scripting
Dear all,
I have 2 questions.
I have a file with many rows which has date of the format YYYYMMDD.
1. I need to change the date to that weeks friday date(Ex: 20120716(monday) to 20120720). Satuday/Sunday has to be changed to next week friday date too.
2. After converting the date to... (10 Replies)
Discussion started by: 2001.arun
10 Replies
5. Red Hat
Hello
I have been asked to provide a security patch analysis of servers in my environment. For HPUX and Solaris there are tools wich can be loaded onto the servers to do this. However I do not know of one for Redhat . At this point I must mentioned that the Redhat servers are behind a firewall... (2 Replies)
Discussion started by: dmsmith32
2 Replies
6. AIX
HI All,
Is it possible to find from An AIX server when a Patch was installed like by using "instfix" with a parameter that shows when was this installed.
Thank You (5 Replies)
Discussion started by: sellafrica1
5 Replies
7. Solaris
Hello everyone
What command I need to use for to know the date about install some patch.
For example I was looking the patch 102530-01 I use the command patchadd -p (the number of the patch) or the command pkginfo -p (the number of the patch) but what command I need to use to know about the... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
8. IP Networking
Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down.
I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
9. UNIX for Dummies Questions & Answers
Can someone tell me how to get the installation date of a patch? I've done a showrev which I assume tells me if the patch cluster has been installed. It shows...SunOS 5.8 Generic 108528-23 June 2003. I'm assuming June 2003 is the patch release date. Is that right? How can I determine the... (1 Reply)
Discussion started by: kiloflash
1 Replies
XDIFF_FILE_PATCH_BINARY(3) 1 XDIFF_FILE_PATCH_BINARY(3)
xdiff_file_patch_binary - Alias of xdiff_file_bpatch
SYNOPSIS
bool xdiff_file_patch_binary (string $file, string $patch, string $dest)
DESCRIPTION
Patches a $file with a binary $patch and stores the result in a file $dest. This function accepts patches created both via
xdiff_file_bdiff(3) or xdiff_file_rabdiff(3) functions or their string counterparts.
Starting with version 1.5.0 this function is an alias of xdiff_file_bpatch(3).
PARAMETERS
o $file
- The original file.
o $patch
- The binary patch file.
o $dest
- Path of the resulting file.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
xdiff_file_patch_binary(3) example
The following code applies binary diff to a file.
<?php
$old_version = 'archive-1.0.tgz';
$patch = 'archive.bpatch';
$result = xdiff_file_patch_binary($old_version, $patch, 'archive-1.1.tgz');
if ($result) {
echo "File patched";
} else {
echo "File couldn't be patched";
}
?>
NOTES
Note
Both files ($file and $patch) will be loaded into memory so ensure that your memory_limit is set high enough.
SEE ALSO
xdiff_string_patch_binary(3).
PHP Documentation Group XDIFF_FILE_PATCH_BINARY(3)