반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- mysql error
- javascript
- mysql 삭제
- mysql broken install
- mysql purge
- PHP
- mysql
- Python
- mysql 재설치 명령어
- 안드로이드
- react 기초
- Android
- react tailwindcss
- 도커
- react typescript
- 리액트 tailwindcss
- 리액트 문법
- 리눅스
- 리액트
- mysql fix install
- next.js tailwindcss
- next.js tailwind css
- 리액트 tailwind css
- react tailwind css
- Docker ubuntu
- react
- mysql uninstall
- Docker
- mysql 재설치
- next.js css framework
Archives
- Today
- Total
목록프로그래밍/Linux (4)
Developer_hong
[Linux] 리눅스 자주 쓰이는 명령어
//프로세스 확인 ps aux //프로세스 검색 ps aux | grep firefox | grep -v grep | awk '{print $2}' //프로세스 보기 ps -A|grep mysql ps -aux | grep mysql //이름 검색 find ~/. -name "*firefox" //파일 찾기 ls -al | grep mysql //파일 개수 찾기 ls -al | grep mysql | wc -l
프로그래밍/Linux
2021. 5. 12. 16:10

1. 스크린 생성 $ screen -S job_name 2. 스크린 리스트 $ screen -list 3. 스크린 삭제 $ screen -X -S {screen id} kill 4. 스크린 접속 $ Screen -r job_name (접속한 상태에서 $ exit 입력하면 스크린 삭제) 5. 스크린 접속하여 스크롤 ctrl + a + [ : (카피 모드) ESC : (카피 모드 종료) ctrl + u : 위로 스크롤 이동 ctrl + d : 아래로 스크롤 이동
프로그래밍/Linux
2021. 5. 11. 15:33

1. 20~30번 라인만 출력 $ sed -n '20,30p' mysql.log 2. 20번 라인만 출력 $ sed -n 20p mysql.log 3. 앞의 20번 라인까지 출력 $ head mysql.log 4. 뒤의 20번 라인만 출력 $ tail mysql.log
프로그래밍/Linux
2021. 5. 11. 15:26