Answer the question
In order to leave comments, you need to log in
Why does CP add "?" at the end after starting from a script? and does not apply arguments?
Why when run from a script, for example,
cp -P /opt/atlassian/jira/atlassian-jira/WEB-INF/web.xml /home/username/web.xml
Answer the question
In order to leave comments, you need to log in
maniac_by
I think it's a script made with Windows
line endings ?
if you
save this in the script and execute it in / bin / sh, then it will appear
just being
treated by removing\r
sed -i 's|\r||g' a.sh
1.
-P, --no-dereference
never follow symbolic links in SOURCE
do you have symbolic links in the path?
2. What is "apply arguments" where exactly does it add a question mark?
Give an example of console output or result, it is not very clear what is wrong with you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question