Create a file named fileA and write "Hello Linux" in it. (Use cat or echo command to check the content)

1 min read
To create a file named fileA
and write "Hello Linux" in it, follow these steps:
Using the echo
command:
bashCopyEditecho "Hello Linux" > fileA
Verify the content using cat
:
bashCopyEditcat fileA
This will display:
nginxCopyEditHello Linux
0
Subscribe to my newsletter
Read articles from Ravi Vishwakarma directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
