Opening a .docx
file on a text editor won't mean anything, because a .docx
file is a compressed file. To access the content in a .docx
file, you can decompress it by running:
unzip path/to/file.docx
The better thing would be to create a directory and then run the command, in order for all files to be extracted to the same place:
mkdir document-contents
cd document-contents
unzip ../path/to/file.docx