how to make a file with terminal code example
Example 1: how to open a file using terminal
open ~/Desktop/filename.txt
Example 2: how to create new file through terminal
touch bar.txt
open ~/Desktop/filename.txt
touch bar.txt