Unix Cut Characters Start to A Position

CUT Utility to print the characters from start of line to a position of each line in a file in Unix .
Using cut command of unix. Please enter fields below and press submit button.

Input:
Name of the file:
End Position of Character:
Result: Command to print characters from start of line to a position of each line of a file: