1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

grep & hidden string alias'

Discussion in 'Linux / BSD / Mac OS X' started by Viscarious, Sep 27, 2009.

  1. Viscarious New Member

    Joined:
    May 17, 2008
    Messages:
    951 (0.37/day)
    Thanks Received:
    149
    I'm trying to find all the hidden files in a directory with the string alias using 'grep' command.

    I've tried many diff combos but my terminal keeps locking up.

    grep -ls .string seems to be what I've been using a variation of.

    Yet still, lock ups.
     
  2. Castiel

    Castiel

    Joined:
    May 5, 2008
    Messages:
    3,319 (1.29/day)
    Thanks Received:
    310
    Have you gone in with all permissions first?
     
  3. Viscarious New Member

    Joined:
    May 17, 2008
    Messages:
    951 (0.37/day)
    Thanks Received:
    149
    Hmm. I didn't think I'd need to.

    I used 'grep -ls .*' and it comes back with all the hidden files. Both as su and as my norm user.

    I'm not sure what this paper means by 'string alias' nor how to use it in conjunction with grep.
     
  4. Castiel

    Castiel

    Joined:
    May 5, 2008
    Messages:
    3,319 (1.29/day)
    Thanks Received:
    310
    Go in and use su- and use your root password and then try it out.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page