wc_l


Description:

[ 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.

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error