티스토리 뷰

operating system

linux 명령어

북항 2022. 1. 30. 08:15
donaricano-btn
반응형

pwd

 

ls -al

 

chmod 777 [file name]

권한 종류

rwx : 7

rw- : 6

r-x : 5

r-- : 4

-wx : 3

-w- : 2

--x : 1

 

mkdir [directory name]

 

touch [file name]

 

rm -f [file name]

 

rm -r [directory name]

 

cd [directory name]

 

mv [source] [destination]

 

cp [source] [destination] I cp -r [dir source] [dir destination]

 

ln -s [source] [target]

ln [source] [target]

 

cat [file name]

cat [source] [target]

cat [source] >> [target]

 

head -[number] [file name]

tail -f [file name]

 

grep -H [text] [file name] 

 

less [file name]

 

tar cvfz [file name].tar.gz [target files] or *

tar xvfz [file name]

 

sudo chown [user name]:[group name] [file name]

 

find . -name [target]

 

witch [command]

 

top

 

w

 

ping [domain]

nslookup [domain]

 

ps -ef | grep [target]

 

lsof -i TCP:[port number]

 

kill -9 [process id]

 

 

 

 

 

 

 

반응형

'operating system' 카테고리의 다른 글

zsh: command not found: * 에러 발생 이유  (0) 2022.01.05
donaricano-btn
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함