Creating Files
To create a blank file you can use the touch
1 command.
$ touch hello.txt
This is situationally useful, but more often than not you will create files using a program called a "text editor."
There are some text editors, like vim
, which run entirely
inside the terminal.2
One of the more popular ones at time of writing is Visual Studio Code. If you weren't otherwise shown a different option, that is a decent default. Install it and then you can use it to create and edit files.