The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-13-2008
jim mcnamara jim mcnamara is online now
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,807
Code:
w -s | awk 'BEGIN { getline; getline } {print $0}' | cut -c1-8,16-
You may need to alter the "16" to another number to get exactly what you want.
Your output of w -s may vary from mine.
Reply With Quote