grep

  1. D

    SOLVED: Using grep to display from the start of match

    Can grep be used only show results from the start of match? Example, there is a text file with... iliketurtles iliketurtles [TAB]iliketurtles asgfhasfgshailiketurtles ^%&%&%*&iliketurtles The results I want to return would look like... iliketurtles iliketurtles iliketurtles iliketurtles...
  2. M

    Monitoring with sound

    Hi, How can i get a sound while monitoring a file using tail with grep. E.g. Tail -f log.file | grep 'Network' If there any display with the following command there the system should produce a sound/soundtrack so that we need not to keep an eye always on the log file and the sound will alert...
  3. M

    Search directory and search File

    How can i first search with certain filename with wild card and then search a string in those filename and get the output. E.g Directory name : abc/def/xyz/ Files in directory : Abc12, abc13, abd12,abc14,abc15, abe12 and so on. First search : ab*12 Output : abc12,abd12,abe12 Now search...
Top