Login using Social Account
     Continue with GoogleLogin using your credentials
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:
nano myfirstfile.txt
Type the following text into it:
He walked into his exile
Press Control+x
, you will get a prompt at the bottom of the screen asking you to "Save modified buffer (Answering No will DESTROY CHANGES)".
Press 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 directoryTaking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...