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 Wanet Telecoms Ltd 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. biondo68

    I have file with this records ww

    I have file with this records www.xxxx.it public $user = 'userxxxx'; public $password = 'xxxxxxxxx'; public $db = 'dbxxx'; www.xxxx.it public $user = 'useryy'; public $password = 'yyyyyyyyyy'; public $db = 'dbyy'; I need to parse the file and...
  2. biondo68

    Useradd Centos without ldap

    Hi, it's possible on centos create system users webmaster@pippo.com or support@example.com ? Thanks
  3. biondo68

    Script for Reload services

    Hi I used the solution with " id " . Thanks for yours suggestions. Biondo68
  4. biondo68

    Script for Reload services

    correct or you can use another way ? if [ $(date "+%k") -lt 8 -o $(date +"%k") -gt 17 -o $(date +"%a") == "Sat" -o $(date +"%a") == "Sun" ] && [ $USER != "root" ] then echo "Cannot run between 09:00 and 18:00" else echo "Run Program Tomcat" case...
  5. biondo68

    Script for Reload services

    Hi, Maybe I have not explained well . I want that ROOT can run the script and the other users can not perform the script on Saturday and Sunday and the hours present in the scripts .
  6. biondo68

    Script for Reload services

    Hi, I have a script for reload services, in this case Tomcat . I want that only root can run the batch Can you suggest an efficient way ? my script #!/bin/bash if [ $(date "+%k") -lt 8 -o $(date +"%k") -gt 17 -o $(date +"%a") == "Sat" -o $(date +"%a") == "Sun" ] then...
  7. biondo68

    Moving file from one host another

    if use rsync with -e ssh ?
  8. biondo68

    script perl

    Is correct what he says Annihilannic . Excuse me If I didn't understand .. Thanks
  9. biondo68

    script perl

    The row shown are part of file .. Example EVENT switchSNTPServiceUnavailable .1.3.6.1.4.1.232.0.161015 Status Events" MINOR FORMAT A SNTP Server was configured, but no SNTP servers were found. $* EXEC /usr/libexec/submit_check_result_via_nsca $R TRAP 1 "A SNTP Server was configured, but no...
  10. biondo68

    script perl

    Ok , I try to be clearer.... I have file with 13000 rows. The variable is "Status Events" MINOR or CRITICAL or MAJOR , I need overwrite the second variable "TRAP 1" "Status Events" MINOR "TRAP 1" in "TRAP 0" "Status Events" CRITICAL "TRAP 1" in "TRAP 2" "Status Events"...
  11. biondo68

    script perl

    Hi thanks. tha variable is "Status Events" MINOR to overwrite "TRAP 1" in "TRAP 0" in the second row "Status Events" CRITICAL o overwrite "TRAP 1" in "TRAP 2" # # # EVENT switchSNTPServiceUnavailable .1.3.6.1.4.1.232.0.161015 "Status Events" MINOR FORMAT A SNTP Server was...
  12. biondo68

    package rpm for REDHAT

    Hi Try this website http://rpmfind.net/linux/RPM/
  13. biondo68

    script perl

    Hi I am new in perl script . I read tuttorial and other but now I need help for my first script . I have file with 13000 rows Where the row have event with "critical" I need to overwrite "TRAP" variable with "2" Where the row have event with "warning" I need to overwrite...
  14. biondo68

    More directory

    It's perfect !! Thanks PHV Biondo68
  15. biondo68

    More directory

    Hi all, I have a filesystem with more directory (546 )and subdirectory .. My hope is to have a list with only one line per directory without subdirectory I use Find in conjunction with Sort but is no good find ./ -type d |sort -u O.S Sun Solaris 10 Help me , thanks Biondo68
  16. biondo68

    suggestions for building HA cluster?

    Hi rickrude11, I use both heartbeat and keepalived. Keepalived is goog idea for HA,LVS,Loadbalance and ecc http://www.keepalived.org
  17. biondo68

    RedHat5.5 LVM question

    Hi, I try and result is ok. My solution was initialize the disk as LVM: # dd if=/dev/urandom of=/dev/sdb bs=512 count=64 then everything works: # pvcreate /dev/sdb Physical volume "/dev/sdb" successfully created
  18. biondo68

    How to set group write on a shared directory

    Hi I try umask in .profile users and change in 775 the home directory. If I understand the problem. Bye
  19. biondo68

    Questions Select

    Hi Everyone, So, can anyone tell me how to edit these select? SELECT * FROM documenti, docinfo, mdoccepag2 WHERE documenti.d_id = docinfo.d_id AND docinfo.d_id = mdoccepag2.d_id AND mdoccepag2.d_studio = 'S' AND mdoccepag2.d_azienda = 'S' ORDER BY docinfo.d_data DESC, docinfo.d_id ASC it's...
  20. biondo68

    Change network default gateway

    hi call Use mktcpip command There is the Alias on the en0 ? biondo68

Part and Inventory Search

Back
Top