The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop 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 03-27-2007
dennis.jacob dennis.jacob is offline
dj -------
 

Join Date: Feb 2007
Location: Cochin/Bangalore, India
Posts: 380
Try this..

Code:
echo "$(cat file)qrst" >temp
mv temp file
O/p:
cat file
abcdef
ghijklm
nop
echo "$(cat file)qrst"
abcdef
ghijklm
nopqrst

Last edited by dennis.jacob; 03-27-2007 at 11:27 PM.
Reply With Quote