Reputation
1,575
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 13
Newest
 Informed
Impact
~79k people reached

Jul
8
revised How can I split a text file into multiple text files?
improve whitespace handling
Jul
8
comment How can I split a text file into multiple text files?
FWIW, the RT variable appears to be gawk-specific. This solution doesn't work for me using FreeBSD's awk.
Jun
22
awarded  Informed
May
29
comment How does reverse SSH tunneling work?
@erik, ah, the confusing part is because my eyes are bad -- I wasn't seeing the space before remotehost in your commands. Upon closer inspection, I see that your diagrams don't actually address the optional bind_address at all. Sorry for the confusion.
May
4
comment How does reverse SSH tunneling work?
Hey, Erik, I was just about to start recycling your images for a presentation I'm preparing, but ... something about your -R option seems wrong. [-R [bind_address:]port:host:hostport] is what's on the openssh man page. To create what's in your drawing, wouldn't you need -R remotehost:456:nearhost:123 ? In fact, your -L options look as if they're reversed as well (man page says -L [bind_address:]port:host:hostport). Am I missing something?
Dec
15
awarded  Yearling
Oct
29
awarded  Custodian
Oct
29
reviewed Approve Pipe/redirect a group of commands
Oct
27
answered Pipe/redirect a group of commands
Oct
27
answered Is there an ICMP echo request service?
Oct
27
revised print the /etc/shadow file in the console
add octal chmod with explanation
Oct
24
comment print the /etc/shadow file in the console
The usual command to elevate your privilege level is sudo. You might alternately have to use su. There are man pages available for both commands.
Oct
24
revised print the /etc/shadow file in the console
nod to security
Oct
24
answered print the /etc/shadow file in the console
Oct
24
comment How to enable tab completion of wildcards in bash?
Sure it's a regular expression. It matches db/migrate///////crea. :-)
Oct
24
answered How do I use the “if” command for multiple conditions?
Oct
24
comment How do I use the “if” command for multiple conditions?
This isn't portable and isn't a bash answer. stat works differently on different platforms. The -t option does something completely different in FreeBSD and OSX than it does in Linux.
Sep
30
awarded  Explainer
Sep
24
awarded  Autobiographer
Jun
16
awarded  Caucus