Hi folks,
It looks that I´m naughty, but I need to pause
a bash script for f.e. 5 secs.
Instead of counting in a for - loop,
there must be an elegant way to do this.
Any suggestions
TIA Oliver
Hi folks,
I´d like to control a basic-stamp via a
serial connection.
Is there any cli-program wich I can use
to send data via f.e. /dev/ttys2.
Maybe this is trivial, or not? I cannot find
any resource in the web about this.
Any suggestions ?
TIA Oliver
PROBLEM SOLVED
Thanx chebbi,
just added "name" and it worked!
code snippet:
<form name="model" action="test_dr.php3" method="post">
if(..)
{ // you have to select something
<select onchange="form.action='test_dr.php3'; form.submit();"...
Hi Folks,
I´d like to submit a form automatically, without using the onload() function, it should be done within the code.
There´s a form, which will be shown,if an option is true.
The form will show a select with onchange.
but if theres no option, the form should be automaticly submitted...
PROBLEM SOLVED
Marsd, thanks for giving the direction, I solved the problem like this:
$ awk '{ print $1 }' < logfile | sort -u > single_ipnums.txt
Even if I think, that in your snippet the fourth IP part is missing.
Shouldn´t it be if ($0 ~ /[0-9]+\.[0-9]+\.[0-9]+\.[0-9]/)..
BTW I think now...
Hello Paul,
I´m not shure, but you should not alter the bashrc generally, make this only for the users who have to log in on a Xsession.
F.e. the user paul has an X login the user foo not.
When you log via exeed as paul, you´ll get the X session
if you login as foo, who has no X you´ll get the...
marsd,
thanks for your response, but as result there should be
a file or output, which only shows the different IP-numbers.
f.e.
logfile
192.163.224.6 ...
192.163.224.6 ...
192.163.224.6 ...
192.163.224.6 ...
202.305.121.253 ...
202.305.121.253 ...
202.305.121.253 ...
the output should be...
Hi folks, having some trouble with awk. Maybe one could help me with this script.
As you see in the comments, this file should extract IP Numbers from an apache logfile, to "nslookup" their names.
But it seems that I have a mistake saving the actual content
on a "stack" to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.