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 -->
  #1 (permalink)  
Old 02-02-2008
cleansing_flame's Avatar
cleansing_flame cleansing_flame is offline
Registered User
 

Join Date: Nov 2007
Location: NYC
Posts: 37
Problem with history and grep

okay, i did the command: echo `history` >> /new.txt

i got a long line, which due to the size of my screen, it made 3 lines.

i then tried the command: grep emacs new.txt
while in root

and i got a full the same long line

any help appreciated
Reply With Quote
Forum Sponsor