[ Version ( since = "1.0.54" ) ]
public int32 wc_l (string path) throws Error
count lines in a file
This command counts the lines in a file, using the "wc -l" external command.
this |
A GuestfsSession object |
the returned value, or -1 on error |