Can't open file for writing linux code example
Example 1: write in a file linux
sudo apt-get update
sudo apt install nano
nano <filename>
Example 2: open a file in linux
cat <filename>
sudo apt-get update
sudo apt install nano
nano <filename>
cat <filename>