ChatGPT has absolutely seen what files and directories in a Unix terminal look like, it's just filling in the blanks. I'm honestly not sure why that would impress you, it's also been extensively trained on most programming languages.