how to read an write to files in linux command code example Example: write in a file linux sudo apt-get update sudo apt install nano nano <filename>