update readme
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -4,23 +4,29 @@ title: "Linux Knowledge Base" | |||||||
|  |  | ||||||
| The Linux Knowledge-Base provides quick-start guides for working with terminal programs. | The Linux Knowledge-Base provides quick-start guides for working with terminal programs. | ||||||
|  |  | ||||||
|  | If you like this style of short articles with a miniature database, then join me in my quest to remove the nausea of poorly-written documentation. | ||||||
|  |  | ||||||
| # Setup | # Setup | ||||||
|  |  | ||||||
| Install `make`, `recutils`, and any fuzzy-finder (i.e. `sk`, `fzy`, or `fzf`). | Install `make`, `recutils`, and any fuzzy-finder (i.e. `sk`, `fzy`, or `fzf`). | ||||||
|  |  | ||||||
| ## Usage | ## Usage | ||||||
|  |  | ||||||
|  | Set up the database and try a few queries: | ||||||
|  |  | ||||||
| ```sh | ```sh | ||||||
| make | make | ||||||
| make database | make database | ||||||
|  |  | ||||||
|  | recsel db.rec -m 3 | ||||||
| recsel db.rec -q database | recsel db.rec -q database | ||||||
| recsel db.rec -q gpg |  | ||||||
| recsel db.rec -e "title = 'ssh'" | recsel db.rec -e "title = 'ssh'" | ||||||
| recsel db.rec -e "title ~ 'ssh'" | recsel db.rec -e "title ~ 'ssh'" | ||||||
| recsel db.rec -e "title ~ 'bash'" -R title,wordcount | recsel db.rec -e "title ~ 'bash'" -R title,wordcount | ||||||
| recsel db.rec -m 1 -P content | less -R |  | ||||||
|  | recsel db.rec -t guide -j provides -G title \ | ||||||
|  |     -e "title = 'ssh'" \ | ||||||
|  |     -p 'sum(provides_wordcount)' | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| # Style | # Style | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user