The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: Simple Copy?
View Single Post in the UNIX and Linux 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)