Linux 환경 내에서 작업하며 사용한 명령어들 아카이브.
개인적인 용도로 기록하는 거라 가독성이 떨어질 수 있음.
grep [option] [string] : 원하는 문자열/정규식을 표현한 행을 출력하는 명령어
https://www.gnu.org/software/grep/manual/grep.html
ps: 현재 실행중인 프로세스 목록과 상태를 보여줌
-A, -e: 모든 프로세스 목록
-p pidlist: pidlist에 있는 pid들의 목록 보여줌, p, --pid와 동일.
-f: full-format listing.
grep과 연동하면 원하는 이름의 프로세스를 볼 수 있음.
https://man7.org/linux/man-pages/man1/ps.1.html
ssh: ssh 서버 명령어.
-x: Disables X11 forwarding
X11 forwarding: 그래픽 인터페이스와 Display Server 사이의 통신 프로토콜
-L: [bind_address:]port:host:hostport
-f: Requests ssh to go background just before command execution
-N: Do not execute a remote command->for just forwarding ports
-T: Disalbe pseudo-terminal allocation
apt vs apt-get
apt가 조금 더 깔끔한 인터페이스를 제공하고, apt-get이 오래되어서 옵션이 좀 더 많다. 기능은 동일함.
'ZNS Isolation with Linux Container' 카테고리의 다른 글
| Linux Kernel Code Compile (0) | 2022.06.24 |
|---|---|
| VNC Server 설정하기 (0) | 2022.06.23 |
| The Block I/O Layer (0) | 2022.05.24 |
| QEMU를 이용한 ZNS 개발환경 구축 완료 (0) | 2022.05.24 |
| 착수보고서 작성, Cgroup과 조금 친해지다 (0) | 2022.05.11 |