I have one copy
cp command related question:
In my home directory, there is a folder which is known as
WebDev folder, there is a
target folder which contains
Now, I am deploying the new war file after building using maven. My tomcat is in different directory. So basically, when I am inside the tomcat directory, I am typing the following command:
sudo cp ~/WebDev/target/WebDev.war .
Basically what above command is doing is (since I am already inside the tomcat directory), I am copying the
WebDev.rarinside the tomcat. Is it a correct way to do that? I didn't understand why there is a dot
. with a space after
Or alternatively, if I want to copy the file by navigating to various directory using FileZilla, is that a good option?