본문 바로가기

놀기136

실행 결과의 마지막 또는 처음 몇 라인 얻어오기 아래와 같은 ls의 결과의 처음 몇 줄 또는 마지막 몇 줄을 얻기 위해 head와 tail을 사용해보자. # ls -alp total 56 drwxr-xr-x 10 root root 4096 Jan 1 1970 ./ drwxrwxr-x 24 1001 1001 4096 Jan 1 1970 ../ drwxr-xr-x 2 root root 20480 Jan 1 1970 bin/ drwxr-xr-x 2 root root 4096 Apr 10 2014 games/ drwxr-xr-x 51 root root 4096 Jan 1 1970 include/ drwxr-xr-x 37 root root 4096 Jan 1 1970 lib/ drwxr-xr-x 10 root root 4096 Jan 1 1970 local/ .. 2022. 9. 6.
QCustomPlot를 사용해서 Ping 결과를 그래프로 표시하기 목차 들어가기 앞서, Qt로 ping 결과 출력하기와 그래프 라이브러리인 QCustomPlot 소개를 했는데, ping 결과를 QCustomPlot으로 표시하는 것을 해보려 한다. 이왕이면 그래프로 보는 것이 직관적이니까... 2022.08.02 - [놀기/Qt] - Qt로 ping 결과 출력하기 Qt로 ping 결과 출력하기 목차 시작하기 다들 ping에 대해서 대충은 알 것이다. 물론, 나도 대충만 알고 자세히는 모른다. 어쨌든, OS에 ping이라는 프로그램이 기본으로 포함되어 있고 이 프로그램을 사용하여 쉽게 ping 테 busyman.tistory.com 2022.08.03 - [놀기/Qt] - QCustomPlot - Qt로 그래프를 그려보자. QCustomPlot - Qt로 그래프를 그려보자.. 2022. 8. 10.
qcow2 / raw 간의 image 변환 qemu-img 설치 $ sudo apt install qemu-img qcow2 → raw 변환 $ qemu-img convert -f qcow2 -O raw image.qcow2 image.img raw → qcow2 변환 $ qemu-img convert -f raw -O qcow2 image.img image.qcow2 raw / qcow2 파일 정보 (image partition 구성에 따라 다를 수 있음) $ file image.qcow2 image.qcow2: QEMU QCOW2 Image (v3), 17179869184 bytes $ file image.img image.img: DOS/MBR boot sector; partition 1 : ID=0x83, active, start-CHS .. 2022. 8. 10.
QCustomPlot - Qt로 그래프를 그려보자. https://www.qcustomplot.com/ Qt Plotting Widget QCustomPlot - Introduction QCustomPlot is a Qt C++ widget for plotting and data visualization. It has no further dependencies and is well documented. This plotting library focuses on making good looking, publication quality 2D plots, graphs and charts, as well as offering high perfo www.qcustomplot.com QCustomPlot은 플로팅 및 데이터 시각화를 위한 Qt C++ 위젯이다. Qt.. 2022. 8. 3.