How can I move a file within a directory to the current working directory without renaming?
I can mv a file from current working directory to the parent directory without renaming using the shorthand..
mv file.file ../
To move a file from a directory to the current working directory I've tried..
mv directory/file.file /
but I get permission denied.
However,
mv directory/file.file file.file
works but I have to type out the file name and the autocomplete won't work because the file isn't in the current working directory.
Isn't there a shorthand to specify the current working directory?
Thanks