Search Results

Search: Posts Made By: Ruzeil
4,491
Posted By Ruzeil
I did it
Just to boast a little :D
Before reading the last post i did dos2unix to status.txt
Wuala.
Nothing bad with expresions.
BTW it was file that wget gave me, I didn't edited it in Windows.

Thanks...
4,491
Posted By Ruzeil
Thanks for the replyes, but...
Here is the whole script:
#!/bin/bash
vkupno=0
while read txt num
do
echo $txt
echo $num
let vkupno=( $vkupno + $num )
echo $vkupno
if [ $(( num )) -lt 5 ]; then
STATUS="OK"
fi
if [ $((...
4,491
Posted By Ruzeil
maybe i mislead
in P.S. i wrote
sometext 4
another text 12

This would be an obvious mistake because awk '{print $2}' will get text and so on.
I must apologize

status.txt consist of
sometext 4...
4,491
Posted By Ruzeil
script in Bash 2.05b.0(1) and 3.2.25(1) Red Hat
Hi
I have this script

#!/bin/bash
cat status.txt | while read LINE
do
linija="$LINE"
echo $linija
echo $linija | awk '{print $1}' > temp.txt
koj=`tail -1...
2,429
Posted By Ruzeil
Thanks for your answer, but I decided to go with...
Thanks for your answer, but I decided to go with ssh
Thanks again
2,429
Posted By Ruzeil
Thanks One question though: Home directory of...
Thanks
One question though: Home directory of "barut" user or?

Thanks again
2,429
Posted By Ruzeil
rsh question in shell scripting
Hi all and thanks for Your attention.
I need to run this set of commands on a remote machine...

rsh -l barut esfe1
sudo su - tode
tode deng.sh
exit (from rsh)
The problem is that when i rsh...
Showing results 1 to 7 of 7

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