$ var=’123456789′; echo ${var::}
substrings a variable starting at position.
If no offset given prints rest of the line
View this command to comment, vote or add to favourites View all commands by totti
by David Winterbottom (codeinthehole.com)
Tags: best linux tips linux tricks scripts tips tricks
You can be the first one to leave a comment.
Click here to cancel reply.
0 Comments
You can be the first one to leave a comment.