Search Results

Search: Posts Made By: infrared013
3,796
Posted By infrared013
Help using Flock (file lock)
Hello,

I have been working on using "flock"/file lock to prevent two instances of a bash script from being executed. Below is a simplified version of what I have to illustrate the flock part. It...
Forum: Red Hat 09-28-2015
9,336
Posted By infrared013
ok so update: I found that the "ssh -q" variable...
ok so update: I found that the "ssh -q" variable does supress the sshd banner however when trying to do that in my command - it does not seem to work i assume because of the quotes? Can anyone point...
Forum: Red Hat 09-28-2015
9,336
Posted By infrared013
ok how do you supress the ssd banner then...
ok how do you supress the ssd banner then instead? think that is probably it
Forum: Red Hat 09-28-2015
9,336
Posted By infrared013
#/bin/bash command="rsync -ahvz -e ssh...
#/bin/bash

command="rsync -ahvz -e ssh --delete --no-motd"
NOW=`date +%Y%m%d`
#OUTPUT=

# Command Source Dir Dest Dir ...
Forum: Red Hat 09-28-2015
9,336
Posted By infrared013
Rsync - hot to omit MOTD/banners
I'm working on an rsync script and I'd like it to omit the MOTD banners and NOT output them to the file. I tried the --no-motd argument in the command but for some reason the MOTD still continues to...
Showing results 1 to 5 of 5

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