create a file and open with terminal code example
Example 1: how to create new file through terminal
touch bar.txt
Example 2: how to create a file in terminal
$ mkdir -p turtle/images
touch bar.txt
$ mkdir -p turtle/images