SCIENTIFIC-LINUX-USERS Archives

March 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Hill <[log in to unmask]>
Reply To:
John Hill <[log in to unmask]>
Date:
Wed, 28 Mar 2007 11:40:45 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (20 lines)
cp /from/path/file .

will copy "file" into the current directory. More generally

cp /from/path/file ./file2

to change the file name.

Regards,

John

Ioannis Vranos wrote:
> How may one specify the current directory as destination, for example to 
> "cp", without
> writing the full path?
> 
> 
> Thanks.

ATOM RSS1 RSS2