for example, the file a.bin is a binary file, and the file is very large. I want to intercept 1024-5566 bytes and save it as a file
for example, the file a.bin is a binary file, and the file is very large. I want to intercept 1024-5566 bytes and save it as a file
dd if= skip= bs= count=
cut-b try
you can use the shell script:
-sharp!/bin/bash
cat a.bin| tail -n +102| head -n 5566| while read line
do
echo ${line%.*}
done >newFile.txt
this should be what you want
dd if=a.bin of=a.out skip=1024 bs=1c count=4542
Previous: On WeChat Mini Programs's scroll-left problem
Next: How is the antd select drop-down area fixed in the fixed container?