how to copy manual pages
recently i was trying to copy a manual page so i could print it out and
read it. originally i was trying $ man screen > screen.txt
however it was rendering the text file all funky.
6:38 < randy> ratpez: $ man screen | col -b > screen.txt
posted at: 13:25 | path: | permanent link to this entry
how to create a process log and view last 35 entries
ps -x >> ~/pid.log; tail -n 35 ~/pid.log
posted at: 13:23 | path: | permanent link to this entry
Using Geektool for Mac OS X to disply COMMODE on desktop
local.machine:~ $ script ~/commode.log
Script started, output file is /Users/localuser/commode.log
local.machine:~ $ ssh sdfusername@sdf.lonestar.org
sdf.lonestar.org:~ $ com
This will begin a log on your home machine of whatever is going on in this terminal window.
In this case COMMODE.
From the Geektool Preference Pane create a new command to display.
tail -n 35 ~/commode.log
This should display the last 35 lines of COM on your desktop.
posted at: 13:22 | path: | permanent link to this entry
