Open a file To open a text file in nano, change to the directory where the file is stored, type nano and pass the filename as an argument,