리눅스 bash 명령어 한줄로 합치기 ;

Jmnote (토론 | 기여)님의 2013년 2월 14일 (목) 23:34 판 (새 문서: ;리눅스 bash 명령어 한줄로 합치기 ==방법 예시== ;명령어 <source lang='bash'> echo hello; echo world; </source> <source lang='bash'> echo hello && echo world; </sou...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
리눅스 bash 명령어 한줄로 합치기

1 방법 예시

명령어
echo hello; echo world;
echo hello && echo world;
실행예시
[root@jmnote ~]# echo hello; echo world;
hello
world
[root@jmnote ~]# echo hello && echo world;
hello
world

2 같이 보기

3 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}