DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Start a shell/terminal program or use CTRL-ALT-F1 and run the following;
if you are looking in your user folders;
find /home/user_name -name file_syntax*
Replace user_name with your login name and file_syntax with your search criteria.
If you need to find a system file or app;
sudo find / -name file_syntax*
You are using the find command as user root starting from / (root file system and all sub-folders) searching for the syntax of a app name ending with anything extra.
IE;
sudo find / -name ndiswrapper*
I'm looking for any file on the hard drive which startes with ndiswrapper and searching sub-folders too.
Hope this helps you out!
PS: If you did CTRL-ALT-F1, then you use CTRL-ALT-F7 to return to the graphical user interface. If you use a shell/terminal, you are allowed to copy from it as you are not in CTRL-ALT-F1.
another way to find out where a (executable) file is located is to use the 'whereis' command. This will also tell you the location of your file. but most of the time I think find should be in /bin
/usr/bin is commonly used by programs that aren't really needed to work properly with your shell
/sbin and /bin are the locations with the most common commands (like find, ls, grep, bash etc...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.