First  |  Prev |  Next  |  Last Pages: 47 48 49 50 51 52 53 54 55 56 57 58 Using -lt with integers "integer expression expected"?? Hi all, I am trying to put together a simple script that will send an email when disk space falls below a certain percentage. I'm receiving an error "24: integer expression expected". From what I read it has to do with -lt thinking the values in brackets are not integers. Aren't they? Can you provide me with som... 10 Dec 2007 00:52 suppress known warning message When snmpd is started on FC6, a warning will appear. How to suppress only this known warning message? i.e. other warning message will still appear. # /sbin/service snmpd start > /dev/null WARNING: initlog is deprecated and will be removed in a future release If I do this, I am afraid all other warning messages (... 10 Dec 2007 00:52 What is the best html to latex program on the market or the internet ? The site says, that this will convert html to latex. Can anyone explain me this code? I am not familiar with such difficult commands especially there are no comments line by line explanation and overall operation. 1i\ \\documentstyle{article} 1i\ \\begin{document} $a\ \\end{document} # Too bad there's no w... 22 Oct 2007 20:30 HELP: rsync using destination enviorment data K, it took a while but I finally found one part of my solution. To get this to work rsync -avx -e ssh ./filename DestinationHostUserName(a)DestinationHost:directory HOWEVER, I do need to know, if its possible, how to get rsync to use the DestinationHosts definition for an enviorment value called$DATA which in m... 23 Oct 2007 04:10 sed replace issue Hi, I have a problem with sed. I am trying to replace all occurances of the same field in many files , the field I am having problems is : containermax=1000 Now the containermax value may well be 0 in some files or 2400 or 159 in others. I need to reset all the values back to 0 For instance if the value ... 19 Oct 2007 07:18 sed/awk insert - help gurus O sed gurus... I have a text file that contains an IP address. can be: 10.34.125.23 or 201.2.244.5 etc. I would like to insert \x00 before each character. e.g. so 10.34.125.23 becomes \x001\x000\x00.\x003\x004\x00.\x001\x002\x005\x00.\x002\x003 I have tried sed and awk but no luck.. :( Any su... 15 Oct 2007 09:42 Error with using Imagemagick convert from a shell script Hello, I have the following part in a shell script. export TextToPrint="Does this print" textString=echo "'text 100,250 \"$TextToPrint\"'" echo$textString echo convert -font helvetica -fill black -pointsize 36 -draw $textString temp1/$filename temp1/$filename.new.jpg convert -font helvetica -fill black -poi... 3 Oct 2007 10:03 exec a shell with a cmd from another shell and keep it open? I can ... exec dtterm -title "mytitle" -e "ls -la" but in doing so the new shell closes when the cmd is completed plus it closes the the calling shell! If I ... eval dtterm -title "mytitle" -e "ls -la" , at least the calling shell doesn't close. Is there a way to keep the new shell open after the cmd ... 2 May 2007 20:45 How should I store one bash script inside of another? I've come across a problem that's making my head hurt.... A couple of years ago, I wrote two scripts that I used to copy my public keys in my local$HOME/.ssh to the authorized_hosts/ authorized_hosts2 files on any remote machine (which would allow me to login to the remote machine without needing a password anym... 18 Feb 2007 13:59 SSH login automation by Expect, get stucked at last step....Help!!! My mission is very simple. 1. Login in a server through ssh. 2. Then run a batch file. I use Expect to do the automation. The script is like this: -------------------------------------------------------------------------- spawn ssh -p 10022 root@ expect "root@'... 19 Feb 2007 11:31 First  |  Prev |  Next  |  Last Pages: 47 48 49 50 51 52 53 54 55 56 57 58