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 | 29 | 30 |
Tags
- webflux
- springboot
- Hotspot VM
- n+1
- 동작방식
- tcp
- Kotlin
- java
- AutoCloseable
- intelij
- 코딩테스트
- optional
- jetbrain
- GC
- wagon-ssh
- 날짜쿼리
- 4-way-handshake
- zipWith
- try-with-resources
- Runtime data area
- jvm
- circuitbreaker
- resilience4j
- Class Loader
- feign
- try-catch-finally
- 람다표현식
- execution engine
- try-catch
- closeable
Archives
- Today
- Total
JuBin's personal study blog
Linux/Ubuntu 명령어 정리 본문
반응형
$ find . -name '*abc*' -type d
--> abc가 들어가는 디렉터리 모두 뽑아줘
$ find . -type f -name '*abc*'
--> 이렇게 하면 'abc' 문자열이 들어가는 모든 파일을 찾아달라
$ find / -name "postgresql.conf" 2> /dev/null
--> permision denied(접근 불가한 파일 뺴고 파일 찾자!!!!!!!!!!!
$ netstat -tnlp
--> 현재 대기중인 TCP 프로토콜의 도메인주소 , PID 또는 프로그램 이름 출력
$ postgreSQL 재시작
--> sudo systemctl restart postgresql
--> sudo /etc/init.d/postgresql restart
뭔차이지? >> 차이없음
$ sudo rm -rf postgre_test_back
--> 관리자 권한으로 postgre_test_back 디렉토리(하위에 파일들있음)를 삭제해라
* rm을 사용할 경우 아래와 같이 옵션을 설정할 수 있습니다.
- r : 파일 디렉토리 함께 삭제하기
- f : 파일 유무와 상관없이 삭제하기
- v : 어떻게 완료되었는지 설명하기
$ grep -r 'test'
--> 현재 디렉토리 모든파일에서 test라는 문자열찾기
Ubuntu 18.04 alias 설정하기
1. vim ~/.bashrc
2. # some more ls aliases 하단에 alias 추가
ex) alias startvote='/root/demo/vote-deploy.sh'
3. 터미널 재시작
반응형
'Linux' 카테고리의 다른 글
[Linux] 프로젝트 배포 스크립트 작성 (0) | 2021.07.02 |
---|---|
nohup 명령어 (0) | 2021.01.05 |
리눅스 심볼릭링크 생성/삭제 예제 (0) | 2020.09.20 |