With shell's pipe, cat & ssh, this is what I've come up with :
ssh bob@server-A.example.com "cat /source/file-or-directory.txt" | \ ssh bob@server-B.example.com "cat > /destination/file-or-directory.txt"
Shalom !!!
ssh bob@server-A.example.com "cat /source/file-or-directory.txt" | \ ssh bob@server-B.example.com "cat > /destination/file-or-directory.txt"
----- snip ----- *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err;local7.none /var/log/messages ----- snip ----
/etc/rc.d/syslogd reload
No subnet declaration for gem0 (192.168.168.168). ** Ignoring requests on gem0. If this is not what you want, please write a subnet declaration in your dhcpd.conf file for the network segment to which interface gem0 is attached. ** Sending on Socket/fallback/fallback-net
dhcpd_ifaces="gem1"
Apr 9 00:30:01 hostname kernel: arpresolve: can't allocate llinfo for 10.0.0.1 Apr 9 00:31:00 hostname kernel: arpresolve: can't allocate llinfo for 10.0.0.1 Apr 9 00:32:00 hostname last message repeated 15 times
/var/run/dmesg.boot
/usr/ports/net-mgmt/iftop
iftop does for network usage what top(1) does for CPU usage ...(via)
# date Fri Dec 30 09:59:27 MYT 2011 # date -v -1d +%b\ %Oe Dec 29
1 1 * * * grep "`date -v -1d +\%b\ \%Oe`" /var/log/messages | mail -s "Yesterday ..." root@example.com
mount -t nfs nfs.example.com:/vol/some/nfs/share /mnt/mount/point
[tcp] nfs.example.com:/vol/some/nfs/share: RPCMNT: clnt_create: RPC: Remote system error - Operation timed out
netstat -an
# rpcinfo nfs.example.com
program version netid address service owner
100024 1 tcp 0.0.0.0.15.207 status unknown
100024 1 udp 0.0.0.0.15.207 status unknown
100011 1 udp 0.0.0.0.15.209 rquotad unknown
100021 4 tcp 0.0.0.0.15.205 nlockmgr unknown
100021 3 tcp 0.0.0.0.15.205 nlockmgr unknown
100021 1 tcp 0.0.0.0.15.205 nlockmgr unknown
100021 4 udp 0.0.0.0.15.205 nlockmgr unknown
100021 3 udp 0.0.0.0.15.205 nlockmgr unknown
100021 1 udp 0.0.0.0.15.205 nlockmgr unknown
100005 3 tcp 0.0.0.0.15.206 mountd unknown
100005 2 tcp 0.0.0.0.15.206 mountd unknown
100005 1 tcp 0.0.0.0.15.206 mountd unknown
100005 3 udp 0.0.0.0.15.206 mountd unknown
100005 2 udp 0.0.0.0.15.206 mountd unknown
100005 1 udp 0.0.0.0.15.206 mountd unknown
100003 3 tcp 0.0.0.0.8.1 nfs unknown
100003 2 tcp 0.0.0.0.8.1 nfs unknown
100003 3 udp 0.0.0.0.8.1 nfs unknown
100003 2 udp 0.0.0.0.8.1 nfs unknown
100000 2 tcp 0.0.0.0.0.111 rpcbind unknown
100000 2 udp 0.0.0.0.0.111 rpcbind unknown
First end
1.w-gr
2. gr
3.w-or
4. bl
5.w-bl
6. or
7.w-br
8. br
The other end
1.w-or
2. or
3.w-gr
4. bl
5.w-bl
6. gr
7.w-br
8. br
or = orang
gr = green
bl = blue
br = brown
w = white
use warnings; use strict; use 5.010;These are essential stuff to load and "use Modern::Perl;" (17 characters) loads it all. This saves typing and now, more reason to use "strict", "warnings" with "modern" perl features. :)
The GENERIC kernels for all architectures now default to the new
CAM-based ATA stack. It means that all legacy ATA drivers were
removed and replaced by respective CAM drivers. If you are using
ATA device names in /etc/fstab or other places, make sure to update
them respectively (adX -> adaY, acdX -> cdY, afdX -> daY, astX -> saY,
where 'Y's are the sequential numbers starting from zero for each type
in order of detection, unless configured otherwise with tunables,
see cam(4)).
cd /usr/ports/games/sl make install clean
"...
Over the past few months we have been making a lot of improvements to our servers to increase the performance, uptime and scalability. Today we have tuned some knobs, shifted some traffic around and achieved 1 million established tcp sessions on a single machine (and with memory and cpu to spare!)
$ netstat -an | grep -c EST
1016313
We are extremly proud of this achievement and wanted to share with other tech minded people out there. For those curious how we did it, the technology on the backend is simple: FreeBSD + Erlang
..."
Fatal error: Class 'ArrayObject' not found in /usr/local/www/phpMyAdmin/libraries/List.class.php on line 16
$ /usr/bin/perl -v This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail) Copyright 1987-2010, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.