How do I read a text file in Linux?

How do I read a text file in Linux?
Answer
If you want to read each line of a file by omitting backslash escape then you have to use ‘-r’ option with read command in while loop. Create a file named company2. txt with backslash and run the following command to execute the script. The output will show the file content without any backslash.
 

Tìm kiếm

Back
Top