일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- plugin
- JavaScript
- tomcat
- Windows 10
- 네트워크
- Source
- resource
- import
- VirtualBox
- port
- profile
- Windows
- netsh
- lsof
- 단축키
- 줄바꿈 문자
- find
- IntelliJ
- bash
- Quartz
- grep
- Mac
- GIT
- vscode
- xargs
- context
- maVen
- web.xml
- ssh
- Eclipse
- Today
- Total
목록2024/04 (40)
develog
[root@rocky01 program]# pwd /root/program ## java 는 심볼링 링크 파일 [root@rocky01 program]# ll total 440140 drwxr-xr-x. 6 root root 4096 Apr 10 01:21 ./ dr-xr-x---. 6 root root 4096 Apr 10 01:18 ../ lrwxrwxrwx. 1 root root 14 Apr 10 01:21 java -> jdk-21.0.2+13// drwxr-xr-x. 9 root root 4096 Jan 16 22:58 jdk-17.0.10+7/ drwxr-xr-x. 9 root root 4096 Jan 17 05:55 jdk-21.0.2+13/ ## 심볼링 링크 경로로 이동한다 [root@ro..
-LO 옵션을 사용해서 다운로드 받는다 -L, --location -O, --remote-name curl -LO https://github.com/*.tar.gz
git clone -b dev git@github:user01/my-repository git clone --branch dev git@github:user01/my-repository
sshpass 설치 brew install sshpass sshpass 사용 sshpass -p ssh root@REMOTE_HOST # 비밀번호 입력시 싱글 따옴표 사용 sshpass -p 'pass123!' ssh root@192.168.56.200
prune 사용## admin/uploads 가 포함된 경로는 제외하고 나머지 경로만 출력한다find admin -path 'admin/uploads/*' -prune -o -print find admin \( \ -path 'admin/uploads*' -prune -o \ -path 'admin/common*' -prune -o \ -path 'admin/ckeditor*' -prune \ \) \ -o -print -not -path 사용find . -name '*.xml' -not -path './vendor/*'

find -mtime 사용하기# -mtime +3 | -mtime 3 | -mtime -3 | 현재# find . -mtime -3 : 수정일이 3일전 부터 ~ 현재 까지# find . -mtime 3 : 수정일이 4일전 부터 ~ 3일전 까지# find . -mtime +3 : 수정일이 이전 부터 ~ 4일전 까지# 정확히 3일 전에 수정된 파일 찾기find . -mtime 3# 3일 보다 더 오래전에 수정된 파일 찾기find . -mtime +3# 최근 3일 이내에 수정된 파일 찾기find . -mtime -3 # ----------------------------# 현재 시간이 2024-12-03 11:20:30일 때 각 -mtime 옵션별 조회 범위# 시작 시간: 2024-12-01 00:00:00..