SSH Questions

Discussion in 'Linux VPS - DirectAdmin' started by mooresites, Sep 27, 2009.

  1. mooresites

    mooresites New Member

    I'm familiarizing myself with SSH commands and was trying to make a command to find certain patterns across all clients. The "grep" command as I understand it finds patterns, but I can't did the right syntax. I'd like to find a file (i.e. File.php) across all clients.

    I tried "# grep file.php" but no return query. Any advice? Thanks, in advance, everyone.
  2. KH-Paul

    KH-Paul CTO Staff Member


    Try something like this:

    find /home -name file.php

Share This Page