Search Results

Search: Posts Made By: hadinetcat
Forum: Web Development 02-07-2015
2,157
Posted By hadinetcat
Hi, i have removed echo table out side the...
Hi,

i have removed echo table out side the loop.
and lowered the interval second to 10.
but the code doesn't work.
can you fix my code.

thanks and regards
Forum: Web Development 02-06-2015
2,157
Posted By hadinetcat
PHP table isn't displaying
I have a PHP script which connects to a MySQL database and should output a table in HTML. I have tired to set up a long-polling AJAX script to poll my PHP script every second. It seems to work based...
1,556
Posted By hadinetcat
Downloading show garbage on the screen
I have PHP code for downloading pdf files from mysql database. The code is working fine in firefox mozilla and google chrome but not in IE 10, it show garbage in the screen. I have debugged the code...
Forum: IP Networking 03-04-2013
2,479
Posted By hadinetcat
problem is solved
The problem is solved.
resolv.conf was pointing to second interface dns ip. That's why packets travels to second interface .
Forum: IP Networking 03-04-2013
2,479
Posted By hadinetcat
Linux load balancer ping redirect to other interface
Im configuring centos with load balance with ip route and ip rule
Eth0 192.168.1.5
Eth1 192.168.5.128
[root@host1 testscripts]# ip route
192.168.5.0/24 dev eth1 scope link src 192.168.5.128...
14
2,379
Posted By hadinetcat
sed
Hi Don Cragun

Thank you so much, sed did the trick as you provide to me..

My best regards
Hadi
14
2,379
Posted By hadinetcat
loop
Here iw what I want simple and easy
Grep Colombia from file called usa.
Stop at break point .
But doesn’t work it keep repeating the same line
x=0
y=3000
while (( x < y ))
do
grep -A $x...
14
2,379
Posted By hadinetcat
loop
Also break statement doesn’t work
for x in {5..9}; do grep -A $x 5 numbers >>file4.txt ; if [[ `grep 8 file4.txt` ]]; then break ; fi; done

Please use code tags...
14
2,379
Posted By hadinetcat
loop
Is print many lines instead of one round of numbers from 5 to 10
5
6
7
8
9
10
5
6
7
8
9
10

5
6
7
8
9
10
14
2,379
Posted By hadinetcat
loop
Im using grep -A

---------- Post updated at 02:25 AM ---------- Previous update was at 02:20 AM ----------

in my program grep -A $x is lasting to down lines
grep -A $x 5 numbers >>file4.txt
...
14
2,379
Posted By hadinetcat
loop
I would like to have the output like this
5
6
7
8
9
14
2,379
Posted By hadinetcat
Loop
Hi
I wrote shell script to do the flowing count from 5 and down but doesn’t work please see my program
#Bash

x=0
y=10


while (( x < y ))
do
(( x = x + 1 ))

grep -A $x 5 numbers...
Showing results 1 to 12 of 12

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