linux_notes
This is an old revision of the document!
Table of Contents
tasks
stackoverflow answers I came across
- remove leading and trailing spaces - https://unix.stackexchange.com/a/102021/198064
- search for a string and count the number of characters per line - https://unix.stackexchange.com/questions/400650/counting-the-characters-of-each-line-with-wc
get file modified time in shell script
date +%Y%m%d_%H%M%S -r $input_file
Used it in | https://github.com/KamarajuKusumanchi/rutils/blob/master/python3/black_on_selected.sh
Found it in | https://stackoverflow.com/questions/16391208/print-a-files-last-modified-date-in-bash
linux_notes.1615737180.txt.gz · Last modified: 2021/03/14 15:53 by raju