Thursday, 7 February 2019

linux - Read lines from a file using bash script

I have to create a script who read the NUMBER of lines from any file.
I've thought to use the structure do / while. How i can do it?

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print ...