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

Jmnote (토론 | 기여)님의 2013년 2월 14일 (목) 23:34 판
리눅스 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 같이 보기

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