Hello
I am looking to see how to acheive this, but cannot figure out a way:
1. open a file from a remote location
2. look for a specific string (ex "byte size is 6678KB", but the "KB" value changes everyday)
3. store this value for future comparision
Can someone guide me please?
hi - does this example you gave, does it go like this:
perl -ne 'END{print$.}' /input/"file location" ?
also, once i get the count, how do i store it somewhere? because further down the script i have to compare it.
thanks again!
Hello, i am new to perl. I am trying to understand how to count lines in a file, the most simplest way? Any pointers can help me understand the concept. Please know that i am very new to this so any advanced information would pass over my head.
Thank you
TT
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.