SCP command -- The following command copies the folder Downloads from /srv/holl/ home directory to the local folder on the desktop from which i run the following command scp -r username@10.32.33.51:/srv/holl/username/Downloads/ ./

Conditioning output of ocean script -- AWK usage example grep "^# VDD =" sa_offset_meas_vddi_raw_data -n | cut -d':' -f1 | awk '($1!=p+1){print $1-p-1} {p=$1}' awk explanation: $1 is the first column from current input line p is the previous value of the last line so ($1!=p+1) is a condition:if $1 is different than previous value +1, then : this part is executed : {print p+1 "-" $1-1} : print previous value +1, the - character and fist columns + 1 {p=$1} is executed for each lines : p is assigned to the current 1st column Find difference in line numbers of occurrence -- last value must be manually done, as no reference exists