Posts Tagged ‘grep command’

Using grep to locate files

If you give grep two or more files to search, it it includes the name of the file before each line of output. The following command searches for lines cintaining the string “JAVA” in all of the files in the current directory. $grep JAVA * schools : 100 vinod java k2schools k2schools: 110 rajesh java […]

Powered by k2schools