How to copy and paste via the terminal, without mentioning the directories?
by lemonspaghetti from LinuxQuestions.org on (#4R0XY)
Hello! I hope I wrote this in the right section... I was searching everywhere on how to do as the title indicates, maybe I was googling wrong or something, but I couldn't find the answer. It's for a class homework but I can't seem to remember the teacher demonstrating this.
It goes something like this:
-From the repc/repd directory, copy all files from the repb directory to the repc/repd directory with only one command, without the words repc or repd appearing in the command.
I believe the first step is to do cd ~/repc/repd, but afterwards, I'm completely lost...
[Using RedHat CentOS7, if it changes anything]


It goes something like this:
-From the repc/repd directory, copy all files from the repb directory to the repc/repd directory with only one command, without the words repc or repd appearing in the command.
I believe the first step is to do cd ~/repc/repd, but afterwards, I'm completely lost...
[Using RedHat CentOS7, if it changes anything]