Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a file in the terminal of VSC?

I know how to create a folder in the terminal of vsc mkdir NameOfFolder, but how to create a file in the terminal?

like image 777
jiamijiang Avatar asked Oct 24 '25 11:10

jiamijiang


1 Answers

Ctrl + ` to open the terminal in Visual Studio Code.

echo > "File.txt" to create a new .txt file in the current directory.

like image 156
Aremu Matthew Avatar answered Oct 26 '25 00:10

Aremu Matthew



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!