How to create a file
We can create text files using the terminal or using GUI text editor software i.e. Gedit.
Using terminal-by using terminal we can type touch command with the file name for creating a new text file
Syntax:
Touch <file name>
Using Gedit application- for creating a file using Gedit we need to open Gedit application then we can write text into it now we can save this text file by clicking on save button and then we need to write file name, need to specify save location and then we can click on save button to save the file.
We can create text files using the terminal or using GUI text editor software i.e. Gedit.
Using terminal-by using terminal we can type touch command with the file name for creating a new text file
Syntax:
Touch <file name>
using extension or without extension
E.g. touch abc.txt
Now we can check this file into Home directory/folder
Using Gedit application- for creating a file using Gedit we need to open Gedit application then we can write text into it now we can save this text file by clicking on save button and then we need to write file name, need to specify save location and then we can click on save button to save the file.
UNIT-301
Network Operating System