Horje
bash return last n characters from every line Code Example
bash return last n characters from every line
# Basic syntax:
cat file.txt | rev | cut -c 1-3 | rev > output.txt
# Here we reverse each line, grab characters 1-3 (the last two 
#	characters of the original string), and then reverse the string again




Shell

Related
magento 2 reindex command line Code Example magento 2 reindex command line Code Example
github set branch upstream Code Example github set branch upstream Code Example
install qt4-qmake ubuntu Code Example install qt4-qmake ubuntu Code Example
pull remote branches Code Example pull remote branches Code Example
how to halt batch script execution for 5 seconds Code Example how to halt batch script execution for 5 seconds Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11