tail
Description:
[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.0.54" ) ]
public string[] tail (string path) throws Error
[ Version ( since = "1.0.54" ) ]
public string[] tail (string path) throws Error
return last 10 lines of a file
This command returns up to the last 10 lines of a file as a list of strings.
Parameters:
this |
A GuestfsSession object |
Returns:
an array of returned strings, or NULL on error |