Showing and Editing the Content of a File - Windows Terminal
00:00
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 cat
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.
00:40 I use tab auto-completion all the time. Okay. Yeah. And if we run this, you’ll see that it outputs the content of that file, which is what I expected it to be, so I’m happy with that.
emru67 on Jan. 19, 2024
My apologies…
I had to download and install Power Shell 7…now it all works as expected…
Sorry
Become a Member to join the conversation.
emru67 on Jan. 18, 2024
Hi, this is what I get:
What am I doing wrong? If I get it right is and encoding problem? This is what I found:
But I’m still unsure of what it means and don’t know how to fix it… Thank you