GNU Grep

Search for strings in files

Example : How to remove any filenames with spaces when using as a parameter to another command
# grep session $(vmware-cmd -l | grep -v " ")
/home/vmware/Tardis/Tardis.vmx:backup.session = "Tardis"
/home/vmware/Voyager/Voyager.vmx:backup.session = "Voyager"
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki