Questions
Tags
For example, I might want to:
tail -f logfile | grep org.springframework | <command to remove first N characters>
I was thinking that tr might have the ability to do this but I'm not sure.
tr
This question is related to bash unix command truncate
bash
unix
command
truncate
Use cut. Eg. to strip the first 4 characters of each line (i.e. start on the 5th char):
cut
tail -f logfile | grep org.springframework | cut -c 5-