[Shell] Linux tools


Linux tools that I learned 10 years ago, which I still use every day

ps and htop - listeing and finding proceess

  • htop 프로그램은 더 유연하고 사용하기 쉬움
  • terminal에서 sorting column을 mouse로 지원 htop

ss and netstat - what ports is that process using

  • netstat은 old way이고 요즘 배포판은 ss가 많이 적용
  • ss -ntaupe
  • ss -ntpl : listening port만 찾기 위함

    options

  • -n : lists processing using numeric address
  • -t : list TCP connections
  • -a : list all connections listening and establised
  • -u : lists UDP connections
  • -p : shows the process using the socket - probably the most useful
  • -e : shows some extened information like the uid

Shell job control - fg/bg/jobs