명령어는 자연스럽게 외워지며, 모르는 것들은 man페이지 참조하자.

#1 tab or double tab  자동완성기능

#2 i18n

1) internatinalization : in사이의 알파벳 개수가 18개 존재한다는것에 기인함.

2) UTF-8 기본문자세트사용

현 리눅스는 i18n에 맞춰 만들어짐.

 

#3 man

1) whatis (==apropos) ->구식명령.

2) man k(apropos), man f (whatis) 신명령

 

#4 path, 조회, 파일묶음(tar) , 압축(gzip, xz, zstd***)

#5 Text : 

editor- vim(vi)

filter- cat(tac), head, tail, less / more(잘사용x), sort

regex- grep, sed, awk

#5 Job control

jobs, fg, bg

#6 Process control

kill(프로세스 죽임), pkill, pgrep

tracing: strace

#7 Networking

nc(net cat), curl, wget

w(who)

#8 Disk

df (disk free) 디스크 사용량 알려줌

du 사용하지말자, disk usage 용어로 시스템 성능 악화시킴

 

 

##하기부터는 관리자 영역

#9 System

uptime, free(/proc/meminfo), smem

process summary: top

process status : ps

stat: vmstat, pidstat

hardware: lshw, lspci, lsusb

 

Package:

1) RedHat: rpm, yum

2)Debian: dpkg, apt, aptitude

 

#Linux admin commands 2

1)Network

status: ss (netstat) (netstat은 구식명령, 성능에 문제 생김, 사용하지 말기)

confignmcli(ip 할당작업시 사용)

dig

ssh

packet: tcpdump , wireshark, tshark

 

2)Files

lsof

3)Kernel

커널파라메터: sysctl (커널파라메터 확인 또는 변경)
4)Disk

fdisk,cfdisk

parted

mkfs, fsck

mount, lsblk, blkid

grubby

udisksctl

5)Security

ulimit(사용량 리소스 제한)

6) User

useradd, groupadd, usermod

passwd, chpasswd

7) Service

systemctl

8)Performance

tuned-adm

perf

pcp

9)Locale

locale, localectl 사용하는 언어 설정 (중요도는 낮음)

 

10) Alternatives

update-alternatives

 

11)Compiler

gcc, g++, clang

 

12)Debugging, tracing

gdp,strace, coredumpctl

13)Tools

make, maven, graddle

git

13)파이썬

python2, pip

python3, pip3 로 작동

+ Recent posts