how to open text files in kali linux code example Example 1: how to open file in linux xdg-open <filename> Example 2: open a file in from terminal cat <path/your_file>