What about: grep tejasbarot tejasbarot.txt
Waste of a cat with: cat tejasbarot.txt | grep -r "tejasbarot" it's simply not needed. Also, as you are searching a file, the -r does nothing, so can also be omitted. If you run: grep -r con * It will output files, however. Without the asterick, the terminal hangs here too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1071447 Title: [bug] grep -r [ with / without piping ] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1071447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs