07-22-2010
Thanks for the replies - 'eval' gives me exactly what I was looking for
Stv T
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello!
How I can increase or decrease predefined pipe buffer size?
System FreeBSD 4.9 and RedHat Linux 9.0
Thanks! (1 Reply)
Discussion started by: Jus
1 Replies
2. Shell Programming and Scripting
Hi,
Can the cd command be invoked using pipes???
My actual question is slightly different. I am trying to run an executable from different folders and the path of these folders are obtained dynamically from the front end. Is there a way in which i can actually run the executable... (2 Replies)
Discussion started by: Sinbad
2 Replies
3. UNIX for Dummies Questions & Answers
What is the difference between:
cd /tmp
tar -cf - *.txt |gzip > tmp_txt.tar.gz
and
cd /tmp
mknod pipe p
gzip < pipe > /tmp/tmp_txt1.tar.gz &
tar -cf pipe *.txt
Apart from the fact that we have to create the pipe file manually, is there any difference in the performance of the two?... (5 Replies)
Discussion started by: blowtorch
5 Replies
4. Shell Programming and Scripting
How to have a conversation between 2 processes using named pipes? (5 Replies)
Discussion started by: kanchan_agr
5 Replies
5. UNIX for Dummies Questions & Answers
Hi
How do I direct the output from ls to for example grep a in C. I am not asking for the whole shell implementation.
If I write ls|grep myfile in the shell. How is the output sent from ls to the input grep. whit int pipe(pipe); We create the pipe. I and I guess we use dup2(old... (4 Replies)
Discussion started by: isato
4 Replies
6. Programming
Hello all, I am trying to learn more about programming Unix pipes in C.
I have created a pipe that does od -bc < myfile | head
Now, I am trying to create od -bc < myfile | head | wc
Here is my code, and I know I might be off, thats why I am here so I can get some clarification.
#include... (1 Reply)
Discussion started by: petrca
1 Replies
7. Programming
problem solved. (1 Reply)
Discussion started by: superfons
1 Replies
8. Programming
If a code forks 2 childs, what can the values be for the process id's of each of the child? I child pid is supposed to be 0, but what if you fork 2 of them? (5 Replies)
Discussion started by: omega666
5 Replies
9. Shell Programming and Scripting
Hey,
Well, we're starting scripting next week for my class, and I have my command done, but I don't actually understand what the meaning is, so I was just wondering if someone could "translate" this in to words so that I might be able to do this better...
command1 | command2 | command3... (5 Replies)
Discussion started by: sso
5 Replies
10. Shell Programming and Scripting
I already manage to get the output that i want.. but wat if removing all the pipes and convert it 1 liner with less pipes. My command below can get the ouput that i want. i just want to remove the pipes or less pipes.
#cat file1
us-west-2a running i-3397a421... (2 Replies)
Discussion started by: kenshinhimura
2 Replies
LEARN ABOUT DEBIAN
dnsspoof
DNSSPOOF(8) System Manager's Manual DNSSPOOF(8)
NAME
dnsspoof - forge replies to DNS address / pointer queries
SYNOPSIS
dnsspoof [-i interface] [-f hostsfile] [expression]
DESCRIPTION
dnsspoof forges replies to arbitrary DNS address / pointer queries on the LAN. This is useful in bypassing hostname-based access controls,
or in implementing a variety of man-in-the-middle attacks.
OPTIONS
-i interface
Specify the interface to use.
-f hostsfile
Specify the pathname of a file in hosts(5) format. Only one hostname allowed per line (no aliases), although hostnames may contain
wildcards (such as *.doubleclick.net).
expression
Specify a tcpdump(8) filter expression to select traffic to sniff.
If no hostsfile is specified, replies will be forged for all address queries on the LAN with an answer of the local machine's IP address.
FILES
/usr/share/dsniff/dnsspoof.hosts
Sample hosts file.
SEE ALSO
dsniff(8), hosts(5)
AUTHOR
Dug Song <dugsong@monkey.org>
DNSSPOOF(8)