Hi Ionnis,
What John wrote was correct, but I just want to make sure that you
recognize what he said.
The current directory is . (period in english)
The directory just above your directory is .. (two periods)
So if you were in /from/path/dir/ and you did a
cd .
You would still be in the same directory, and if you did a
cd ..
You would then be in /from/path/
There is no ... if you were wondering.
You can actually see these periods by doing a
ls -a
or a
ls -la
Troy
John Hill wrote:
> 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.
--
__________________________________________________
Troy Dawson [log in to unmask] (630)840-6468
Fermilab ComputingDivision/LCSI/CSI DSS Group
__________________________________________________