I am trying to copy a bashrc file from one folder to another.
For example, the bashrc file is in Data/user/user1
and I am trying to copy it to Data/user/user2
with the following cp
command:
cp Data/user/user1/.bashrc Data/user/user2
but it says that the file is not found.
I have also tried omitting the dot before bashrc
and got the same error.
The file is there for sure, I have executed ls -la ~/ | more
and saw it so I am probably referencing it wrong.
Could you point out what I am doing wrong?