내용으로 건너뛰기
Out of the Box
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
Fold/unfold all
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
•
pytest
console
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== Console 도구 ====== 동일한 명령(nvidia-smi) 계속 반복하기 while [ true ]; do nvidia-smi; sleep 1; clear; done # 또는 watch --interval=1 nvidia-smi 파일 검색 find {path} -name {filename} find /usr -name libcudnn.so 문서 꺼꾸로 출력 tac a.txt > b.txt # tac script.sh | bash # 꺼꾸로 실행 문서 내용 무작위 출력 cat a.txt | shuf # tac script.sh | shuf | bash # 무작위 실행 문서 내용 필터링 cat a.txt | grep {pattern} # tac script.sh | grep {pattern} | bash # 패턴에 맞는 명령 실행 명령 반복 for i in {1..5}; do echo 'hello'; done; 문자열 출력 cat {file} head {file} tail {file} 조건에 맞는 문자열 출력 cat {file name} | grep {pattern} 조건에 맞지 않은 문자열 출력 cat {file name} | grep -v {pattern} 줄 수 세기 cat {file} | grep {pattern} | wc -l 진행 속도 측정 cat {file} | grep {pattern} | tqdm --unit_scale | wc -l 다운로드 wget 웹페이지 접속 curl {address} [-silent] 웹에서 스크립트 받아서 실행 curl --silent --location {address} | bash - PIPE 통해서 파일 열기(script 파일을 열기) vi $(which script.py) Console widget * curses * ncurses * asciimatics * npyscreen ===== Visualization ===== * [[plotille:rotating_cube]] * [[sparkline]] * [[ascii_plot]] ===== Image view ===== * ascii image * apt install aview * inline image * w3m-img ===== Windows ===== * key press * https://github.com/kcsaff/getkey
console.txt
· 마지막으로 수정됨: 2024/03/23 02:38 저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
Fold/unfold all
맨 위로