2025년 3월 2일 작성
Linux Tool - 유용한 CLI 도구들
Linux에는 terminal에서 명령어로 사용할 수 있는 다양한 도구들이 있습니다.
Linux Tool : 명령어로 사용하는 유용한 도구들
-
Linux 운영 체제에서는 대부분 terminal에서 CLI(Command Line Interface) 기반으로 작업을 수행합니다.
-
따라서, Linux에서 CLI 명령어로 사용하는 다양한 도구들을 알고 있으면, 더 효율적으로 작업할 수 있습니다.
- 명령어로 사용하지만, 실제로는 별도의 program이 실행되는 것이며, 이 program들을 Linux Tool이라고 합니다.
대표적인 Linux 명령어
ls: 현재 directory의 file 목록 출력.-
cd: directory 이동. find: file 검색.cp: file 복사.-
pwd: 현재 directory의 경로 출력. mv: file 이동.-
rm: file 삭제. mkdir: directory 생성.-
rmdir: directory 삭제. cat: file의 내용 출력.-
grep: file에서 특정 문자열 검색. more: file의 내용을 page 단위로 출력.-
less: file의 내용을 화면 단위로 출력. head: file의 앞부분 출력.-
tail: file의 뒷부분 출력. ssh: 원격 server에 접속.-
scp: 원격 server로 file 전송. chmod: file의 권한 변경.-
chown: file의 소유자 변경. ps: process 목록 출력.kill: process 종료.-
top: system 상태 출력. tar: file을 압축하거나 해제.gzip: file을 압축하거나 해제.-
gunzip: file을 압축하거나 해제. rsync: file 동기화.wget: file download.curl: file download.-
ping: network 상태 확인. ifconfig: network interface 정보 출력.netstat: network 상태 출력.route: routing table 출력.-
iptables: 방화벽 규칙 설정. crontab: 작업 schedule 설정.systemctl: service 관리.journalctl: system log 출력.