@EnthusiastiC In general, no. You may use sponge for that (assuming the file you are working on is not huge). See, for instance, unix.stackexchange.com/questions/558773/…
@EnthusiastiC No. That command would truncate (empty) the two files called awk and file1 and would then try to cat the file called {print $1} into file1.
The portable solution is to write to a temporary file, and then replace the original with that new file.