Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8619679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:23:54+00:00 2026-06-12T06:23:54+00:00

I guess it’s pretty simple. I just want to locate a bash command. For

  • 0

I guess it’s pretty simple.
I just want to locate a bash command. For example when I want to know which commands are existing, containing the phrase “user”.

So the command I am looking for should print me wether the location of all commands containing user, or it could just tell me which commands exist with the name. That would be fine though.

I searched here in so and on google, but well both of them just talk about the “find” command.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T06:23:55+00:00Added an answer on June 12, 2026 at 6:23 am

    List of executable files or symlinks in your PATH that contain “user”:

    find $(echo $PATH | tr ':' ' ') -maxdepth 1 \( -type f -or -type l \) -name '*user*' -executable
    

    sample output:

    /usr/bin/users
    /usr/bin/xdg-user-dir
    /usr/bin/xdg-user-dirs-gtk-update
    /usr/bin/users-admin
    /usr/bin/xdg-user-dirs-update
    /bin/fuser
    /bin/fusermount
    /bin/ntfs-3g.usermap
    /usr/sbin/deluser
    /usr/sbin/adduser
    /usr/sbin/useradd
    /usr/sbin/userdel
    /usr/sbin/usermod
    /usr/sbin/newusers
    

    also a lot faster than wormsparty’s variant (no offence :P). Result almost identical (his returns directories too, AFAIK)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Guess this is pretty simple, but searching didn't help... I want an ExpandableListView, where
i guess this is a really simple problem, but i just can't get it
Guess this is a pretty simple problem. I've got a regex and php that
i guess the question is pretty clear, i want to catch (and log) RuntimeException
Guess that I have a TextView that I want to update it in some
I guess that the difficult part is the source. Do you know any webpage
I guess my general question which I googled to no luck: Is there a
I guess the problem is that I do not know how to use factory
I guess this is a simple question. I need to do something like this:
guess its getting late, and Im a beginner, just need a little help.. Im

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.