Don't understand the backslash here

心已入冬 提交于 2019-12-19 16:52:33

问题


I am following this command on the readme file in github to copy a file but I don't understand how to type it in the terminal it has this backslash and terminal is spitting back that I am not using the copy command correctly

cp -r rails_tutorial_sublime_text/* \
        ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/

What do I actually type into terminal in this instance?


回答1:


A backslash followed by a newline character means the command continues to the next line. You could remove the backslash and type all of that on the same line if you wanted to.



来源:https://stackoverflow.com/questions/14681001/dont-understand-the-backslash-here

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!