Answers for "bash delete first n characters of each line"

1

bash delete first n characters of each line

# Basic syntax:
cut -c n- input_file
# Where
#	- -c means "characters", as opposed to -f for "fields"
# 	- n is the number of characters to delete and n- means keep everything
#		past the nth character. (-n would mean keep everything up to the
#		nth character and just n means return the nth character)
Posted by: Guest on October-03-2020

Code answers related to "bash delete first n characters of each line"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language