Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
What is the command to check which process uses a certain file or directory. When I want to unmount a directory that is busy, I would like to check which process/usr/etc uses that directory.
I know there should be a way to check this, I even used it once, but I completely forgot what it is and where I found it.
It may be a good idea to have a good database with all the linux commands and most basic/used command-line programs, together with searchable descriptions so it would be easy to find the right command. The tips 'n tricks, mentionned in two threads on this forum, could also be included in that.
If some person was a lot faster than me (which wouldn surprise me at all) and all this exists already, please tell me where I can find it.
Originally posted by unSpawn The database is "whatis", its accessed using "apropos".
Thanks, the lsof was what I was looking for.
About the database, what do you mean. Is there I database like the one I was thinking about? And where is it? On hte internet or on my linux box. What is ¨whatis¨ and what is ¨apropos¨. I dont understand that part of your message.
I know. There was a process using a file in the share I was trying to unmount. found the process, program an the specific file being used. Decided to kill it. Problem solved. lsof works better than fuser for this because it also gives back the user, program and specific file concerned. More information than fuser.