Explore Courses Blog Tutorials Interview Questions
0 votes
in Linux by (18.4k points)

To create the file from a terminal I used the below command:

$ touch

To open the file I just created from the terminal, I then type...

$ open

I want to know if there is any command that does both...create and then open.

1 Answer

0 votes
by (36.8k points)

in .bashrc



  touch $1

  open $1


then type

$ lazytouch anything.really

To know about Linux join the Linux training


Do check out the video below


Related questions

Browse Categories