Creating empty files

Use and complete the template provided. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:
    Write a single command to create a new empty file in P1 called cloud9, I have to do it from my current working directory which is P3 cd ../ away
    P1 and P3 are both in the home directory but i'm in P3

  2. Relevant commands, code, scripts, algorithms:

touch cloud9

  1. The attempts at a solution (include all code and scripts):
    touch cloud9 ../P1

  2. School (University) and Course Number:UWM Intro to Unix

can't you use a absolute path to the directory?

touch /home/yourhome/P1/cloud9

or

touch ../P1/cloud9