I want basic examples to try basic read/write/update operations on a file. I'm finding it difficult not having appropriate resources to learn from.
It's mostly implementation-specific. Given that you're using racket, see the guide section and the reference manual.