不明白这里的反斜杠 [英] Don't understand the backslash here

查看:25
本文介绍了不明白这里的反斜杠的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 github 中的自述文件中遵循此命令来复制文件,但我不明白如何在终端中键入它,它有这个反斜杠,并且终端吐槽说我没有正确使用复制命令

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?

推荐答案

反斜杠后跟换行符表示命令继续到下一行.如果需要,您可以删除反斜杠并在同一行中键入所有内容.

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.

这篇关于不明白这里的反斜杠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆