##Shell 8068 ###tools: bc -l, tr, ddcut
echo "scale=2468;obase=16;4*a(1)"|bc -l|tr -d '\\\n'|dd bs=1 skip=1026'\\\n'|cut count=1K-c1027-2051
###Shell 64, tools: bc -l, tr, tail, differs in the rounding of the last place
echo "scale=2466;obase=16;4*a(1)"|bc -l|tr -d '\\\n'|tail -c1024
Might be considered cheating, since the knowledge how to compute PI is in 4*a(1), and that 1 have to use scale=2466 was iteratively investigated.
Thanks to breadbox for the idea to use tail -c1024 instead of dd bs=1 skip=1024 (skip=1K would have been a less useful option to improve it)cut.