#NoPayJan Offer - Access all CloudxLab Courses for free between 1st to 31st JanEnroll Now >>
You can use a text editor to edit or create a text file. There are many editors in Linux such as nano, pico, vi, emacs. Let's try to use nano for creating a file
Launch nano to edit:
Type the following text into it:
He walked into his exile
Control+x, you will get a prompt at the bottom of the screen asking you to "Save modified buffer (Answering No will DESTROY CHANGES)".
y as we want to save the changes, and then Enter to Save Changes and exit the nano editor.
Alternatively you can create the file with this command
echo "He walked into his exile" > ~/myfirstfile.txt
In case, you are stuck, please see this video:
cd ~to come to your home directory
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here