Linux which command can intercept the contents of the specified start and end locations of the 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

Mar.26,2021

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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e507b9-450d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e507b9-450d4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?