How to create user? How to edit a file? How to connect to anoter computer using ssh? How to find out the computer IP address?
Set up two virtual machines, set MOTD. Connect using ssh.
1.) Open the nano editor with the command nano which is followed by the path and name of the file. Example: nano /etc/myfile. If the file doesn't exist, the file will be created by the editor.
2.) To move in the editor, we use the arrow keys, backspace is used for deleting.
3.) To save a file press the combination of keys ctrl + O.
4.) To exit the editor press the combination of keys ctrl + X. The editor will ask you, if you really want to exit, you can answer with y (yes ) or with n ( no ).
5.) To cut a line press the combination of keys ctrl + K.
6.) To paste a line press the combination of keys ctrl + U.
7.) To search over a document press the combination of keys ctrl + W and then enter the search string.