I'm running Linux FC 3. I'm still pretty green with the admin and am looking for solutions for control panels like cPanel and webmin. Any other freebies out there like Webmin?
Thanks in advance! (1 Reply)
I found that in my system , there are some strange process , it will make the system crash so I would like to control the system no such process is running ,
this is if the system process that its process name is "ora" AND its ppid is not "2" , then it will crash the system, can suggest how to... (2 Replies)
Hi,
I have taken a piece of code from a book, which is working as per the specification. The code....
for entry in *
do
if
then
echo $entry
fi
done
The sub-directories present in the current directory will be displayed while executing.
... (3 Replies)
Hi.
I´ve a question to a running script:
i=0 #fill an Array with all files in a folder ending with .sys
for Par in *.sys ; do
Par2="$Par" ;
i=$((i... (1 Reply)
Can somebody please help me with the query. ?
I want a part of program of which should look for control characters in the flat file , when it finds it, displaying message that Control Characters found..!
Please help me (13 Replies)
Using a named pipe. Run a find in the background starting in the working directory While this is happening wait for input from the user to ask him which file to find. If the user does not enter any data in 10 seconds ask the user again. Then see if the requested file name is found from the output... (0 Replies)
I have the following bashwhile read -r line; do
dcs_dportal_utl get all for $line >>file.txt
if
CONTROL=$(date +"%d%m%Y_%H%M%S")
echo -e $line 'Created_'$control >> control.txt
done < list.txt
sed '/^$/d' file.txt>list_jac.txt
echo '------------------ DONE' >> control.txt
this... (7 Replies)
Discussion started by: viviblue1
7 Replies
LEARN ABOUT PHP
xdiff_file_bdiff
XDIFF_FILE_BDIFF(3) 1 XDIFF_FILE_BDIFF(3)xdiff_file_bdiff - Make binary diff of two filesSYNOPSIS
bool xdiff_file_bdiff (string $old_file, string $new_file, string $dest)
DESCRIPTION
Makes a binary diff of two files and stores the result in a patch file. This function works with both text and binary files. Resulting
patch file can be later applied using xdiff_file_bpatch(3)/xdiff_string_bpatch(3).
PARAMETERS
o $old_file
- Path to the first file. This file acts as "old" file.
o $new_file
- Path to the second file. This file acts as "new" file.
o $dest
- Path of the resulting patch file. Resulting file contains differences between "old" and "new" files. It is in binary format and
is human-unreadable.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
xdiff_file_bdiff(3) example
The following code makes binary diff of two archives.
<?php
$old_version = 'my_script_1.0.tgz';
$new_version = 'my_script_1.1.tgz';
xdiff_file_bdiff($old_version, $new_version, 'my_script.bdiff');
?>
NOTES
Note
Both files will be loaded into memory so ensure that your memory_limit is set high enough.
SEE ALSO xdiff_file_bpatch(3).
PHP Documentation Group XDIFF_FILE_BDIFF(3)