hello, i'm trying to write a shell script for turning raspi to an access point. is there someone who know how can i use "sudo nano" command to make a new file or edit a file in side a shell script and write and put some data into it and save and close it and go no another command in the script?
thanks.