WolframLang: Print File Content

By Xah Lee. Date: .

Print File Content

FilePrint["c:/Users/xah/abc.txt"]

print just first 9 lines:

FilePrint["c:/Users/xah/abc.txt", 9]

print last 9 lines:

FilePrint["c:/Users/xah/abc.txt", -9]

WolframLang, Shell Tasks