create and read a file in Linux
As a cloud and Devops engineers, we need to know to work with Linux is always helpful to handle some critical situations.
There are multiple ways to create and read a file in Linux. In this article we're going to learn about touch command.
Let's work with followings in this article
- pwd - To show present working directory
- touch - To create an empty file
- ls - To list the files from the current directory
- echo - To display message as well as write into a file. '>' - write into a file. '>>' - append it to a file
- cat - To read content of file
we'll see writing and appending into a file in my upcoming post.
Comments
Post a Comment