shell

    리눅스 Shell

    ▪ 쉘 (Shell) 💡 쉘(Shell) : 사용자와 OS의 내부 커널 사이의 인터페이스를 감싸는 층 명령어 처리기 (Command Processor) 사용자와 OS간 다리 역할을 수행 사용자의 명령을 받아 해석해서 전달 후 실행 ▪ Bash vs. Zsh Bash (Bash shell) 현 시대에 가장 많이 쓰이는 리눅스의 표준 Shell GNU 프로젝트를 위해 개발된 Shell /bin/bash 💡 GNU 프로젝트 : 자유로운 소프트웨어를 희망하는 프로젝트 Zsh (Z shell) 높은 호환성 지금까지 대부분 Shell의 기능을 포함한 확장형 Shell 플러그인 생태계 다양한 플러그인 지원 (Oh My Zsh) 자동 완성 기능 /u/l/b + tab → /usr/local/bin /bin/zsh

    Reverse SSH

    참고 : 블로그 ▪︎ Command raspi command pi@drone:~$ sudo ssh -f -N -T -R 2222:localhost:22 uhyeong@210.11*.*.* -p 5001 📌 -f : Requests ssh to go to background just before command execution. -N : Do not execute a remote command. This is useful for just forwarding ports. ⇒ 원격지에 로그인하지 않고 백그라운드로 터널 생성 -T : Disable pseudo-terminal allocation. -R : Reverse SSH option 💡 1. 2222 is the port we'll use to remot..