On Mon, Dec 05, 2005 at 03:26:12AM -0500, Willie Wong wrote
from 'man tty'
tty - print the file name of the terminal connected to standard input
Thanks. That simplifies things a bit, but it also prefixes with
/dev/, so the revised script goes like so...
# If running interactively,
On Wed, Dec 07, 2005 at 05:28:09PM -0500, Walter Dnes wrote:
On Mon, Dec 05, 2005 at 03:26:12AM -0500, Willie Wong wrote
from 'man tty'
tty - print the file name of the terminal connected to standard input
Thanks. That simplifies things a bit, but it also prefixes with
/dev/,
On Mon, Dec 05, 2005 at 01:08:52AM -0500, Walter Dnes wrote:
I read your post, and slapped together the following, which goes into
~/.bashrc. Warning... some backtick expansion included here. Is there
a simpler way to find out which tty or pts you're running in?
try the 'tty' command from
On Sun, Dec 04, 2005 at 12:11:45PM -0700, Trenton Adams wrote
There's one thing that has kind of been a little annoying since
I started using gentoo a few months ago. That's the fact that
when you open multiple bash logins, only the history of the last
one logged out actually gets saved.
4 matches
Mail list logo