Been a while :o
I know I can push the output of a command to a file with the greater-than symbol;
cmd arg1 >/directory/filename
but if that command requires more user input (ie selecting a variable or item number, hitting the enter key, etc), the command just waits idle because it hasn’t received any further input. Is there a certain string that I need to add to tell the system to respond to an anticipated prompt? Is this something I have to make a little script file to run or execute on the command?
Specifically I am trying to save the output of the ddump command because I wanted to see what the bitmap of a partition looked like. I deleted a partition and made it larger, ran dinit, etc etc, but when I run the query command on the partition it still reports the same overall disk size as it was previously formatted even though the mount command reports the new size. Was wondering if a dump of the bitmap on that partition might offer some insight.
[edit] and I’ve been skimming the OS and commands manuals but can’t really see anything that outlines specifically what I am trying to do in this case. I may be dense.