what's the best way to navigate around linux?
is there any special command that can help me locate/navagate a file or a program faster without using cd all the time?
Using cd is OK, but what if I don't even know to what directory a program belongs? |
Hi
i think cd just 'll do fine, it's more about tracking down the right directory. You can use; which, or slocate (locate), and find to track it down, in a more easy way and cut and paste it to your cd command. Or use the mc (midnight commander) to navigate and it has more nifty things regards |
You can do "whereis" and "find" to locate files, but mc (midnight commander) is an excellent file browser, one that I use all the time.
|
find / -name filename
This starts the search from the / directory for the specified filename filename (bit obvious, that one :D). If you already know that the file is somewhere, like /mnt/win_c, then you can substitute the / in the above command for whatever dir you like. HTH |
All times are GMT -5. The time now is 01:58 PM. |