10 More Discussions You Might Find Interesting
1. Ubuntu
Hi
I need your help.
This is my problem, i have a VPN connection between two computers a and b. A is connection to b(vpn server) i want to redirect some ports to a and i want a to give internet access to those port. So far i redirected the port 22 from b to a but i can't make a sent the port... (0 Replies)
Discussion started by: lmartinez073
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Is there a way to redirect the output of a set of commands to a file instead of using << at every command in bash shell. For eg
(echo hostname
echo "Comparing 2 files"
comm -3 file1 file2) >>file3 (3 Replies)
Discussion started by: Rossdba
3 Replies
3. Shell Programming and Scripting
Hello Unix.com,
I badly need to get rid of drones that access my website. I'm using a hits php script that logs every ip that visits my index.php. Looks like this:
<?php
$IP = getenv("REMOTE_ADDR");
$day = date('l jS \of F Y h:i:s A');
$fout = fopen("hits.txt", "a");
fputs($fout,... (0 Replies)
Discussion started by: galford
0 Replies
4. Shell Programming and Scripting
Hi,
I have perl script which is calling an external command using "system()" with argument.
But i am not able to capture the output.Even tried with backtick also with no luck.
.
.
$number=<>;
system ("cmd $number >output.txt"); (2 Replies)
Discussion started by: rasingraj
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
I have a working sendmail setup for my domain, but would like to run a subdomain on another machine. I could try below, but its a production server and worry about messing it up. Hence the question.
So I have machine names:
mydomain.com (mail server)
dev.mydomain.com
currently the... (1 Reply)
Discussion started by: gtrava01
1 Replies
6. Shell Programming and Scripting
I bet many people faced this problem before:
The command below will result in a blank file:
$ cat myfile | grep pattern > myfile
Is there any easy way to do it? (8 Replies)
Discussion started by: rlopes
8 Replies
7. Web Development
I was wondering if any one would be willing to help me with this.
I'd like to create a 503 error page using a PHP script that will do the following:
- delete all cookies that contains 'something' in the host and 'JSESSIONID' as the cookie name. There are either 1 or 2 cookies that each... (0 Replies)
Discussion started by: Adrnalnrsh
0 Replies
8. UNIX for Dummies Questions & Answers
i have following statement in the script
echo -e "$str_XML_col_name:$str_field_type;" >> $i_DC_Key_$i_Tgt_DC_key_Schema
here $i_DC_Key is DC key and $i_Tgt_DC_key are the variables...............
when i ran the script i am getting error rec_merge.sh: $i_DC_Key_$i_Tgt_DC_key_Schema:... (1 Reply)
Discussion started by: mahabunta
1 Replies
9. Programming
Hello guys,
Is it possible to redirect browser to another socket address?
Cheers,
Elton (1 Reply)
Discussion started by: EltonSky
1 Replies
10. IP Networking
I'm sittig behind a firewall that doesn't allow ftp. I have a conection to a UNIX system, connecting throug SSH. Is it possible to redirect the ftp through the UNIX to my computer? (1 Reply)
Discussion started by: <Therapy>
1 Replies