linux get absolute path of file code example
Example 1: how to find a file in linux terminal
find /path/to/folder/ -iname *file_name_portion*
Example 2: node get absolute path
// to get a valid absolute path
resolve = require('path').resolve
resolve('../../bb/tmp.txt')
// to get current file directory
__dirname