Here are the two ways that we can use to get the
last character of a line.
If you would like to get last one
character then.
|
In linux / unix by default all most all the
commands end the line with a new line and so while using the tail command we
need to give -c 2 instead of -c 1.
While using awk you can use the following
syntax
|
No comments:
Post a Comment