mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-06 09:47:25 +00:00
Update cheatsheets
This commit is contained in:
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# links
|
||||
|
||||
> Command-line text-only web browser.
|
||||
> See also: `links2'.
|
||||
> See also: `links2`.
|
||||
> More information: <https://links.twibright.com/user_en.html#subch-browser_calibration>.
|
||||
|
||||
- Visit a website:
|
||||
|
||||
@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`su - {{username}} {{[-c|--command]}} "{{command}}"`
|
||||
|
||||
- Switch to a given user and use a specific shell (e.g., zsh, fish, bash):
|
||||
- Switch to a given user and use a specific shell (e.g., Zsh, fish, Bash):
|
||||
|
||||
`su {{[-s|--shell]}} /{{path/to/shell}} {{username}}`
|
||||
|
||||
|
||||
29
tldr/npm-stars
Normal file
29
tldr/npm-stars
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# npm stars
|
||||
|
||||
> View packages marked as favorites.
|
||||
> More information: <https://docs.npmjs.com/cli/npm-stars>.
|
||||
|
||||
- Show all starred packages by the currently logged-in user:
|
||||
|
||||
`npm stars`
|
||||
|
||||
- Show your starred packages from a specific registry:
|
||||
|
||||
`npm stars --registry {{registry_url}}`
|
||||
|
||||
- Show packages starred by a specific user:
|
||||
|
||||
`npm stars {{username}}`
|
||||
|
||||
- Show packages starred by a specific user from a specific registry:
|
||||
|
||||
`npm stars {{username}} --registry {{registry_url}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`npm stars {{[-h|--help]}}`
|
||||
@@ -12,7 +12,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`locate "{{pattern}}"`
|
||||
|
||||
- Look for a pattern case-insensitively:
|
||||
- Look for a pattern while [i]gnoring cases:
|
||||
|
||||
`locate -i "{{pattern}}"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user