blob: 253b15559b2a57df5c3022b25ce709841bc6129f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
% rsyncez
rsyncez '<from>' '<to>'
$ to: fd --one-file-system -p -t d -d 5 $HOME
% cat, EOF
# cat <<-EOF
cat <<-EOF > /dev/stdout
hello world
EOF
% ubnt, wifi
# get wifi leases from ubnt router
ssh ubnt -- ./run show dhcp leases 2>/dev/null
% ssh, tunnel
# tunnel local port to remote machine
ssh -nNTR <remote-host-and-port>:<local-host-and-port> <machine>
# tunnel remote port to local machine
ssh -nNTL <remote-host-and-port>:<local-host-and-port> <machine>
|