Find the answer to your Linux question:
Results 1 to 6 of 6
hello, I am hoping someone can help. i'm trying to figure out how to find files with 30 references in a place called /usr/bin. This is part of a college ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3

    Very New, hoping for help


    hello,

    I am hoping someone can help. i'm trying to figure out how to find files with 30 references in a place called /usr/bin.
    This is part of a college course and i'm slow in understanding things.

    any help is greatly appreciated.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome!

    Sorry, but homework/coursework questions are not permitted on the forum:

    http://www.linuxforums.org/forum/lin...ums-rules.html

    Post what you've tried so far and someone might be able to give pointers on that.
    oz

  3. #3
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3
    I'm sorry about that, i should've read the rules better.
    I have tried find and grep /usr/bin....not sure what to do is my problem.

  4. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Welcome aboard!
    What exactly was the problem presented to you?
    Have you looked at the man pages for those commands?
    Code:
    man find
    man grep
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  5. #5
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,598
    If you mean hard links then have a read through this page which is not a complete solution to your problem but will get you close enough that a browse through the man pages mentioned should get you the rest of the way.
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  6. #6
    Just Joined!
    Join Date
    Feb 2013
    Posts
    3
    Hi,

    @jayd512
    No I have not tried the man pages but I'll check them out.
    The problem presented to me is to find out if any files have 30 or more references in /usr/bin.
    Thanks for the tip, I will check the man pages.

    @elija
    thanks for the link, I'll go through everything and just keep plugging away.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •