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 Mike Lewis 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. smitty3501

    File system backup

    What is the best way to perform a file system backup ? Should I use tar ? Im new to Unix
  2. smitty3501

    going from 2 node to 3 node cluster

    The cluster alias is a way of load balancing applications to run across multiple servers. Don't recommnend this if its going to be a satellite node. You realize that by making it a satellite node, that if the primary node goes is unavailable the satellite nodes will be down also. The decnet...
  3. smitty3501

    backup .vs. tar

    Im trying to setup a script to run automatically every Friday to backup/tar by physical devices. What program should I use, or should I go about this in a totally different way. My background is not AIX or UNIX, its VMS. Im use to hardware access (eg. disk drive level) not logical or virtual...
  4. smitty3501

    Shutdown and startup

    Im looking for help determining where to place the call to a script that will shutdown Oracle. The files /etc/shutdown and /etc/rc.shutdown do not exist. Also where would I place the call to the script to startup Oracle when the machine boots ? Thanks in advance
  5. smitty3501

    Script error

    Thus is just an example. Im going to want perform different functions on various days of the week. I seems easier to have 1 script, then 2 or 3 scripts to maintain
  6. smitty3501

    Script error

    Nope if give the smae results #!/bin/sh clear DAY=`date +%a` if [[ "$DAY" != "Mon" || "$DAY" != "Sat" ]] #if test $DAY != "Mon" || test $DAY != "Sat" then echo " " echo " " echo " " echo " Today is `date` Time To Go Home" echo " " echo " " echo " " fi [ssmith@aixtest ~]...
  7. smitty3501

    Script error

    I've tried it without the 2nd "if" statement. Then it runs and it shouldn't since to today is a Monday #!/bin/sh clear DAY=`date +%a` if test $DAY != "Mon" || test $DAY != "Sat" then echo " " echo " " echo " " echo " Today is `date` Time To Go Home" echo " " echo " " echo " "...
  8. smitty3501

    Script error

    DAY=`date +%a` if test $DAY != "Mon" || if test $DAY != "Sat" then echo " " echo " " echo " " echo " Today is `date` Time To Go Home" echo " " echo " " echo " " fi [ssmith@aixtest ~] date_test.sh ./date_test.sh[4]: syntax error at line 4 : `if' unmatched [ssmith@aixtest ~]

Part and Inventory Search

Back
Top