Showing and Editing the Content of a File
Also, I trusted you that you actually put the content into the
hello_terminal file. Right, I’m having doubts now. I wonder, yeah. I don’t want to introduce any— Can you? Yes, I can. There is a command called
cat, which allows me to take in—it basically outputs the content of a file. And I’ll actually share a quick trick, which is I’ve just put in
hello here, and I know there’s a file called
hello_terminal. We can actually just list (
ls) just to confirm that, and you can see the
hello_terminal is there, and if I
hello, and then I press the Tab button, it will auto-fill the path for me, and so that can just save a bit of typing.
Become a Member to join the conversation.