This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# csv sort and remove column | |
sort -h --field-separator=',' 374160.csv | cut -d, -f6 --complement | less | |
# shell print for download csv file | |
sort -h --field-separator=',' 1532881.csv | cut -d, -f6 --complement | perl -pe 's/((?<=,)|(?<=^)),/ ,/g;' | column -t -s, | less -S | |
# run funtion in remote machine | |
ssh ${machine} "$(typeset -f function_name); function_name" | |
# kill process |