move dir fundamentals to basics

This commit is contained in:
Malin Freeborn
2020-01-05 21:06:49 +01:00
parent 4a6b551ad7
commit 2ab97c114d
22 changed files with 7 additions and 4 deletions

24
basics/locating.md Normal file
View File

@@ -0,0 +1,24 @@
# Whereis the Program
Ask where the `angband` program is, along with all its configuration files:
`whereis angband`
Also `which` shows where a binary file (the program) is,
> which cmus
`type` shows what kind of thing you're running, be it an alias, or binary program.
> type cmus
# Quick Search for Files
You'll need to set up `locate` for this by installing `mlocate`. `mlocate` needs a list of all files on the machine, so run:
> sudo updatedb
Then to find a file called 'my-cats.jpg', run:
> locate cats