Have you ever been jamming away on a Unix host’s command line and wish you could share your session with others? Perhaps you could do so to show someone else something you found on the system? Maybe you want that someone to type a password for you? Or perhaps you need to share the experience […]
Category Archive for 'Unix'
This post discusses answers to the Redirection Puzzle. Do not read on if you do not want to see or discuss answers (yet).
Today’s entry here at cosine.org is a little Unix puzzle for everyone to work. I came up with this seven years ago when I was first reading about the Plan 9 shell, rc. Plan 9’s shell has a nifty little syntax for connecting a pipe from an arbitrary file descriptor of one process to any […]
How command line arguments are processed in Unix is important to know when scripting. That which should be a simple script is often troublesome to debug if the arguments to some of the commands get mangled unexpectedly. To help understand what ends up being sent as command line arguments to a command, we can use […]
In my previous post titled Bolting on Security, I mentioned that port 22 is generally not scrutinized as much as 445 when being allowed through a firewall. Obviously the situation varies from incident to incident, but I wanted to say that port 22 really should be looked at more closely. All is not always roses […]