일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- boost
- pandas
- awk
- sql
- sqlite
- postgresql
- conda
- DROP
- pi
- FIND
- 배열
- Eclipse
- C++
- mysql
- null
- with
- python
- SVN
- Shader
- 쉘
- ubuntu
- expect
- SSH
- Unity
- c++11
- List
- autovacuum
- ngui
- if
- dataframe
- Today
- Total
목록FIND (3)
その先にあるもの…
find ./ -maxdepth 1 -mtime +0 -name "play*" | grep -i "play[[:digit:]]\+-" | xargs -i mv {} log/ 해석 하위 폴더 1단계, 파일 수정이 24시간, play* 파이들, play숫자 파일들, 삭제 atime (access time, 접근 시간) atime은 파일에 접근한 시간을 나타낸다. 파일을 open 할 때마다 갱신이 되며 vi, cat 명령으로 파일 확인시 atime의 값이 변한다. ls -lu mtime (modification time, 수정 시간) 파일의 내용이 수정될 때 mtime 시간이 변한다. ls -l ctime (change time, 변경 시간) inode의 값 (파일 속성, 권한, 크기 등)이 변경되면 ctim..
https://stackoverrun.com/ko/q/6791042 select oid, proname from pg_proc where proname like '%set%'; psql \df \df+ 함수이름
- exec find ./logs -name "*.log" -exec rm {} \; (하위 logs 폴더의 *.log 파일들을 찾아 삭제한다.) exec앞에 수행된 명령의 결과를 가지고 exec 다음부터 수행되는 명령에 사용한다. 앞에 수행된 명령의 결과는 {}에 감겨진다. exec문의 끝은 \;로 표기한다. exec command ; : 지정한 command 를 실행 exec command {} + : 결과들을 차례대로 매칭하면서 지정된 command 를 수행