So I just finished the ‘Learn the command line’ course and towards the end of the course we are introduced to nano. Now if I write something like ‘nano test’ it opens up the nano interface and creates a new file I think. When I press ctrl x where is that file stored. I’m asking because I accidentally wrote ‘nano .bash_profil’ and I’m wondering where that file is now stored. This was during one of the offline projects you can do in the course.
A few more quick questions:
-What is a script? Like what actually is scripting? If I write the ‘ls’ command and hit enter is that a script?
-Is using Python, for example, scripting?
-which backslashes are necessary when referencing filepaths? Because sometimes we need a backslash at the start AND at the end but sometimes it seems to make no difference, if you get what I’m asking
-When opening the bash profile setup in nano, is it necessary to write ‘nano ~/.bash_profile’ or can I just write ‘nano .bash_profile’? I guess this is kind of similar to the last bullet point