🤔
TIL
  • README
  • root
    • Android
      • TextView
      • Intent
      • RecyclerView
      • ImageView
      • Style
      • Activity
      • Databinding
      • EditText
      • RxJava
      • Fragment
    • Code
      • 가장 많은 정보를 가진 객체
    • Shell
      • script
        • 초기 설정
        • 기본 문법
      • chmod
  • Blog
  • Github
Powered by GitBook
On this page
  • echo
  • -e 옵션
  • 주석 (#)

Was this helpful?

  1. root
  2. Shell
  3. script

기본 문법

echo

텍스트 출력, 기본으로 개행

echo '출력'
echo '테스트'

----------------------------
출력
테스트 

-e 옵션

echo 는기본적으로 \ 를 escape 문자로 처리하지 않음. escape 문자로 사용하고 싶을 경우 -e 옵션 추가

echo '\n개행'
echo -e '\n테스트'

----------------------------
\n개행

테스트 

주석 (#)

# 주석 
Previous초기 설정Nextchmod

Last updated 5 years ago

Was this helpful?