How to create & edit a file in Unix?
Creating a file using cat command
Here I create a file named welcome.txt and enter some text.Type Control+d to stop and save the file.
cat > welcome.txt
Hi user! Thank you for viewing my answer.