Can you tell me how to get the line count in a script?PID_COUNT = 'cat /david/file1/test.sh | wc -l 'is not working, shows an error illegal -l. 
Linux - how to get count of line in file
command line;command substitution;wc