06-07-2005
Thanks SemiOfCol!
I will try it out...I thought the "-" is part of the "<<" command....I will replace the "!" with the EOF.
Joseph
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi quick question from a unix newbie
Working on a project to get me using unix, the point of this project is to find a printer on the network check for jobs in the printer if the printer has no jobs do nothing if the printer has jobs then check the status for errors and e-mail the user. This... (2 Replies)
Discussion started by: w33man
2 Replies
2. Shell Programming and Scripting
I am trying to automate a process in one of two ways:
1) ftp .txt files from a unix server to a Windows 2000 server. I want to do this in a script. Can I supply the login and password to the Windows server inside the script?
2) I tried this and failed: sftp .txt files from the unix server to... (2 Replies)
Discussion started by: gbernard
2 Replies
3. Answers to Frequently Asked Questions
One of our most frequent questions is how to automate ftp transfers. There are several approaches. Since I'm writing this post, we will start with my favorite technique. :)
In Automated FTP task I present a simple example of my ksh co-process technique. And note that later in this thread I... (0 Replies)
Discussion started by: Perderabo
0 Replies
4. Shell Programming and Scripting
Hello,
I'm sure this is an easy one for you UNIX pros. I would like to create and and automated an FTP process. The script should do this:
1. Log into a remote system
2. change to a specified directory
3. copy local files to the remote system
4. quit ftp
5. wait until the next schedule
... (7 Replies)
Discussion started by: bbbngowc
7 Replies
5. Shell Programming and Scripting
Hi guys,
I'm trying to create an ftp script that will read in a value from input, then search for files with the input value, and then ftp the files..
So far I've got my read answer set up, and it'll ls -lrt out my files with the value read answer var I given it...
My question is, what... (14 Replies)
Discussion started by: Jazmania
14 Replies
6. Shell Programming and Scripting
Can some one help with script to track ftp logins on AIX server.. (1 Reply)
Discussion started by: ddk2oo5
1 Replies
7. Shell Programming and Scripting
Hi,
I'm trying to do an FTP script that will read from a list of files and send only the files in that list.
Would this work? Does anyone have anything simpler.
ftp -nv <<EOF
open server
user username password
get $(nawk -F_ -f bbb.awk Filelisting.txt)
EOF (5 Replies)
Discussion started by: bbbngowc
5 Replies
8. Shell Programming and Scripting
Hi,
Please can you tell me the script to transfer file from server A to Server B (1 Reply)
Discussion started by: e1994264
1 Replies
9. Shell Programming and Scripting
Hi Guys,
Good day ULF! I have a general "auto-ftp" code which looks something like this:
#!/bin/sh
cd $1
ftp -v -n $2 << EOF
user $3 $4
prompt
cd $5
bin
mput $6
quit
EOF
This works pretty well, but I'm thinking of how can I make a code by maybe including on this code, for... (5 Replies)
Discussion started by: rymnd_12345
5 Replies
10. UNIX for Dummies Questions & Answers
I dont have enough bits to post in emergency, but I have an urgent FTP issue. A client of ours wants us to pull files from his server onto our server at which point we can process it. I ask a friend what to do, but I was just give the things to do, not how to do it.
I havent written a Unix... (4 Replies)
Discussion started by: MJCreations
4 Replies
LEARN ABOUT NETBSD
bridge
BRIDGE(4) BSD Kernel Interfaces Manual BRIDGE(4)
NAME
bridge -- network bridge device
SYNOPSIS
pseudo-device bridge
DESCRIPTION
The bridge driver creates a logical link between two or more IEEE 802 networks that use the same (or ``similar enough'') framing format. For
example, it is possible to bridge Ethernet and 802.11 networks together, but it is not possible to bridge Ethernet and Token Ring together.
To use bridge, the administrator must first create the interface and configure the bridge parameters. The bridge is created using the
ifconfig(8) create subcommand. The learning and forwarding behavior and other parameters of a bridge are configured by the brconfig(8) util-
ity.
A bridge can be used to provide several services, such as a simple 802.11-to-Ethernet bridge for wireless hosts, and traffic isolation.
A bridge works like a switch, forwarding traffic from one interface to another. Multicast and broadcast packets are always forwarded to all
interfaces that are part of the bridge. For unicast traffic, the bridge learns which MAC addresses are associated with which interfaces and
will forward the traffic selectively.
The bridge driver implements the IEEE 802.1D Spanning Tree protocol (STP). Spanning Tree is used to detect and remove loops in a network
topology.
Transparent filtering for IP and IPv6 packets can be added with the kernel configuration option options BRIDGE_IPF.
When filtering is enabled, bridged packets will pass through the filter inbound on the originating interface and outbound on the appropriate
interfaces. ARP and REVARP packets are forwarded without being filtered and others that are not IP nor IPv6 packets are not forwarded when
filtering is enabled.
Note that packets to and from the bridging host will be seen by the filter on the interface with the appropriate address configured as well
as on the interface on which the packet arrives or departs.
SEE ALSO
etherip(4), options(4), brconfig(8), ipf(8)
HISTORY
The bridge driver first appeared in NetBSD 1.6.
AUTHORS
The bridge driver was originally written by Jason L. Wright <jason@thought.net> as part of an undergraduate independent study at the Univer-
sity of North Carolina at Greensboro.
This version of the bridge driver has been heavily modified from the original version by Jason R. Thorpe <thorpej@wasabisystems.com>.
BUGS
The bridge driver currently supports only Ethernet and Ethernet-like (e.g. 802.11) network devices, with exactly the same interface MTU size
as the bridge device.
The bridge driver currently does not support snooping via bpf(4).
BSD
January 9, 2010 BSD