head -n 2 `ls -1rt | tail -n 1` ; echo "...";echo "..."; tail -n 1 `ls -1rt | tail -n 1`
2008/11/18
Heads and Tails of the last file in a directory.
2008/11/13
Screen, act like an xterm
Screen when invoked has a multitude of options, but one that was particularly helpful for me was this:
screen -T xterm ssh user@someunixhost
So as to make the TERM environment variable appear to be xterm allowing vi and other tools to work properly.
Figuring out how to get that into my ~/.screenrc so that it takes affect every time is the next objective. Not many of the hosts I connect to identify "screen" as a TERM type.
screen -T xterm ssh user@someunixhost
So as to make the TERM environment variable appear to be xterm allowing vi and other tools to work properly.
Figuring out how to get that into my ~/.screenrc so that it takes affect every time is the next objective. Not many of the hosts I connect to identify "screen" as a TERM type.
Subscribe to:
Posts (Atom)