The UNIX and Linux Forums  

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



Thread: Simple Copy?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 11-28-2005
twomdsi twomdsi is offline
Registered User
 

Join Date: Nov 2005
Posts: 3
thanks - that returns the directory that I'm looking for. How does that get incorporated into a copy command? ie: is there a way to simply write it as cp /dir/file /dir/?? (where ?? is the result of ls -tr|tail -1)
Reply With Quote