Search Results

Search: Posts Made By: kalak
71,942
Posted By kalak
The rsync patterns are relatative (with caveats)....
The rsync patterns are relatative (with caveats). try:
rsync -avz --exclude '/wp-content/cache/*' /home/user/public_html/* /dest
1,440
Posted By kalak
Always make a good, reliable backup in case you...
Always make a good, reliable backup in case you do want to revert back to the old version. There is no other reliable way to downgrade any OS I've worked with (OS X is the closest, but RH is...
4,556
Posted By kalak
To avoid sounding like a vendor, I'll suggest...
To avoid sounding like a vendor, I'll suggest looking for a Switched Rack PDU or similar product. They allow you to connect in to the PDU to control an individual outlet at a data center. Be sure to...
Forum: Linux 02-29-2012
12,172
Posted By kalak
Fedora 15+ switched to the libreoffice fork: ...
Fedora 15+ switched to the libreoffice fork:
yum install libreoffice-writer (http://mirror.cc.vt.edu/pub/fedora/linux/releases/15/Fedora/i386/os/Packages/libreoffice-writer-3.3.2.2-7.fc15.i686.rpm)
3,322
Posted By kalak
Bash Guide for Beginners...
Bash Guide for Beginners (http://tldp.org/LDP/Bash-Beginners-Guide/html/)
BASH Programming - Introduction HOW-TO (http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html)
Advanced Bash-Scripting Guide...
31,103
Posted By kalak
md5deep (http://md5deep.sourceforge.net/),...
md5deep (http://md5deep.sourceforge.net/), probably packaged in your flavor as well
53,097
Posted By kalak
Your response tells me that you installed CMake...
Your response tells me that you installed CMake from an OSX package, but do not have make or gmake installed. (your gmake link points to /usr/bin/make which does not exist, so neither make or gmake...
53,097
Posted By kalak
It sounds like xbin is correct, can you post the...
It sounds like xbin is correct, can you post the results of his command? ls -lF /usr/bin/*make*When you installed XCode, did you change any of the default package selections? If you changed them, did...
53,097
Posted By kalak
XCode installs gmake as just "make". If the...
XCode installs gmake as just "make". If the script you're running is looking for "gmake" and not "make" then run this at the terminal and the XCode installed GNU make will been seen as gmake via the...
Forum: OS X (Apple) 10-16-2011
6,877
Posted By kalak
What you're describing is similar to tripwire: ...
What you're describing is similar to tripwire:
Open Source Tripwire® | Free System Administration software downloads at SourceForge.net (http://sourceforge.net/projects/tripwire/)

Also...
23,467
Posted By kalak
It's a bit late here for me to dig to be sure of...
It's a bit late here for me to dig to be sure of my answer, but my first guess is that $result is being treated as a string, not a number. If I'm right, and I'm too tired to be sure, then in this...
12,956
Posted By kalak
You whole script (at least what you mention) has...
You whole script (at least what you mention) has been done: http://fping.sourceforge.net/

It's not a script, but it's very full featured and handy.
3,353
Posted By kalak
SMB HOWTO: Accessing an SMB Share With Linux...
SMB HOWTO: Accessing an SMB Share With Linux Machines (http://tldp.org/HOWTO/SMB-HOWTO-8.html)
smbclient -U username -L someserver.somewhere.com
3,353
Posted By kalak
Do the files have file shares turned on? (SMB...
Do the files have file shares turned on? (SMB mounting is possible then)
2,245
Posted By kalak
assuming procmail is on your system, then you...
assuming procmail is on your system, then you want to use your .procmailrc:

:0HB
* ^From.*somewhere@someserver.com
* .*Application Report
{
:0 c
!...
1,860
Posted By kalak
unless you are only working with part of a line...
unless you are only working with part of a line of the results (so we'd need a sample line and what you want to do with it, like which part of the data), then grep is what you want to use.
5,712
Posted By kalak
You could put them on an NFS server export that...
You could put them on an NFS server export that both mount (have to watch for both writing at the same time, so make sure you have file locking considered, unless one is read only). The you're not...
9,072
Posted By kalak
du reports usage for the files in directories,...
du reports usage for the files in directories, while df reports on the filesystem itself. Filesystem overhead like a journal, allocation tables, etc. that take space on the filesystem will show as...
2,035
Posted By kalak
the sed command for these can just be added to...
the sed command for these can just be added to the original command, through std out. Script 2 would become:
find .. -daystart -mtime 0 -type f | xargs ls -sSh |sed 's/^ *//' >data_170611If for...
Forum: OS X (Apple) 06-20-2011
6,877
Posted By kalak
If it's your disc that came with your mac, then...
If it's your disc that came with your mac, then both the "c" and the "option" key should allow start it up from the disc, so something it wrong with either your drive or your disc. You can try this...
22,825
Posted By kalak
Even longer lists of files with the "-exec"...
Even longer lists of files with the "-exec" switch of find:
find /home/test/ -name "sqlstents*" -exec sed -i 's/#/\\#/g'{} \;
2,031
Posted By kalak
you can use something like this in your .forward,...
you can use something like this in your .forward, or your .procmailrc (not sure if in procmail is safer or not):
| uudeview -a -d -i -quudeview is available as a CentOS rpm from the Dag section of...
Forum: Boot Loaders 05-23-2011
8,566
Posted By kalak
edit grub.conf (/boot/grub.conf but location can...
edit grub.conf (/boot/grub.conf but location can vary by distro)
change "default=0" or similar to the title section that matches your windows, for example:
default=1
timeout=0...
11,188
Posted By kalak
Which version of CentOS? Newer versions use yum,...
Which version of CentOS? Newer versions use yum, not up2date.
yum install vim-enhanced

Managing Software with yum (http://www.centos.org/docs/5/html/yum/)
2,164
Posted By kalak
which shell are you using? Also, you can...
which shell are you using?

Also, you can make a script that will handle this:
#!/bin/bash
wget "$1" -SO /dev/null 2>&1 | grep "HTTP/\\|Age:\\|Last-Modified:"then run: script.sh URL
Showing results 1 to 25 of 39

 
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy