반응형
- core 수 확인
cat /proc /cpuinfo | grep processor
- 리눅스 버전확인
cat /etc/*release
- du depth
du -h --max_depth=1
- ftp전송후 command not found
$'\r': command not found
sed -i -e 's/\r$//' 대상파일
- file 첫줄 편집
sed -i "1i\spool test.log" test.sql
echo -e "spool off\next; \n" >> text.sql
- 파일에서 특정 에러만 중복제거 grep
cat test.log | grep "ORA-02291" | uniq
반응형
'생계 > OS' 카테고리의 다른 글
IOPS와 throughput 에 대해 알아보자 (0) | 2024.12.13 |
---|---|
RDS swap 사용 (0) | 2024.07.06 |
[virtualbox] 오라클리눅스 설치 oracle-linux 8.4 (0) | 2023.01.08 |
쉘스크립트 에서 sql 실행, 변수 날짜 공유 (0) | 2017.10.12 |