Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. loqtis

    Find and Replace in multiple files

    try this perl -p -i -e 's/this/that/g' filename Search and replace the string 'this' with the string 'that' in the file filename. You can also say * or *.html or any valid wildcard expression instead of filename. The s/// command uses regular expressions. If you want to alter the 'this' and...
  2. loqtis

    problems running script via cron

    this is the script im running a very simple script as you can see. #!/bin/sh # Tar backups written by Brent # cd / echo "Tarring up usr/local/apache" /usr/sbin/tar -zpcvf /var/coreosbkup/apache.`date +%Y.%m.%d.at.%H.%M.%S`.tgz /usr/local/apache echo "Tarring up...
  3. loqtis

    How to zip files in UNIX

    try tar -zpcvf whereya-wantfile-saved.tgz path-to-dir-being-tarred example i did something like this on my unix box tar -zpcvf /var/bkup/apache.tgz /usr/local/apache loqtis
  4. loqtis

    problems running script via cron

    Im running a shell script from crontab on a solaris machine that runs a tar backup of certain files on the machine. the script runs great when ran manually ...but when ever i try to run it from cron it creates a emtpy tar file and or doesnt run at all ...anyone have any thougths ??? thank you...

Part and Inventory Search

Back
Top