How to create a text file in linux redhat

this tutorials in we learn how to create simpl text file in linux  we follow just simple cmd or put code in linux

# vim hello.txt    (we can create simple text file to vim cmd  when we put enter then we look some file look space on desktop then we push ( I ) later through keybord after we can write aney data or matter in file when we complet our work then we push Ese key then push ( : )

then if we press (w q ) w q is for file saving

wq  is  seve and exit file

q  is only exit file without aney save and changeing

we can also create file touch  cmd through

# touch hello

# touch demo.txt

 

One thought on “How to create a text file in linux redhat

Leave a Reply

Your email address will not be published. Required fields are marked *

Verified by MonsterInsights