[Linux](EN) Difference between && and ; in shell command

Difference between && and ;

Environment and Prerequisite

  • Ubuntu 16.04


Difference

  • ; : execute next command whether previous command was successfully executed or not
$ apt-get install gcc; apt-get install gdb


  • && means AND so next command will be executed only if previous command was successfully executed(return true)
$ apt-get install gcc && apt-get install gdb

[Python] pdb를 이용해 파이썬 코드 디버깅하기

> pdb를 이용해 python 코드를 디버깅하는 방법을 알아보자.## 환경- Linux 기반 시스템- Bash shell(/bin/bash)- Python## pdb### pdb란?- ```pdb``` : 파이썬 디버깅 도구로 파인썬 인터프리터...… Continue reading