Feedback

Chat Icon

Cloud Native CI/CD with GitLab

From Commit to Production Ready

How to Use This Guide
11%

Long Commands

We will use the backslash \ to split long commands into multiple lines. The backslash is used to escape the newline character, so the shell treats the command as a single line. Here is an example:

echo "This is a long command that \
spans multiple lines."

The above command is equivalent to:

echo "This is a long command that spans multiple lines."

Cloud Native CI/CD with GitLab

From Commit to Production Ready

Enroll now to unlock all content and receive all future updates for free.