Some Linux commands I use often

Get the total size of some files: du -ch /path/patern* | grep total Get the total number of files being backed up using the log of the RMAN job: grep -i ‘input datafile file number=’ rman_BKUP.log | wc -l Use grep to display the next 2 lines after the pattern you’re looking for (-A= AFTER…