I'm going to run prog.cpp on my university's Linux cluster (compiled with gcc). I project that the program will take 3-6 days to complete. I was thinking of running it as
./prog &
to run it in the background. My questions are:
- Is it safe for me to just close the terminal window?
- How do I know when my program is complete? Can I make GCC notify me somehow?