I want to give a big data file to less -s -M +Gg
such that read current given data in less -s -M +Gg
.
While-loop example (see ntc2's answer)
Less command explained here.
Replacing the yes
by a binary file which is converted to binary ascii and hex:
while read -u 10 p || [[ -n $p ]]; do
hexdump -e '/4 "%08x
"' {$p}
| less -s -M +Gg
done 10</Users/masi/Dropbox/7-8:2015/r3.raw
where the looping is based on this thread here.
How can you read such data into less?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…