ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Assuming you pressed CTL+C after you executed the above code, what exactly is your home directory? Usually a path in your home directory is "/home/YOURUSERNAME/..." rather than "/home/...". Type "echo $HOME" at the shell (without the quotes) to find out what the system thinks you home is.
As for the files, did you try "ls /home/Desktop/time.txt" (ie literally copy/paste the path from your code)? If it exists, the file is listed, else you get an error the file cannot be found. However, likely the latter happens, unless you have a user named "Desktop" :p