티스토리 뷰

개발

TIL : Terminal command

동네주민1 2020. 11. 1. 20:41

1. cd : Changes the directory of the command line path.

   cd .. : 상위 디렉토리로 

2. ls : Lists the contents of a directory

3.mv : mv "filename" "path/to/new/file/location"

 mv something/else.js something/whatever.js - else를 whatever로 이름변경

4. mkdir : make directory 

5.sudo : superuser 권한으로 명령 실행

6.rm : remove 

폴더 제거할때는 rm -rf 폴더명 으로 써야함

7. touch 파일명.xx : 새 파일 생성 

8. code : VSCode로 파일 열기

 

참조

www.techrepublic.com/article/16-terminal-commands-every-user-should-know/

 

16 Terminal commands every user should know

Jesus Vigo curates a list of entry-level operational commands aimed at understanding and using Terminal.

www.techrepublic.com

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/02   »
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
글 보관함