mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 13:18:07 +01:00
Merge pull request #139 from chirag64/master
Updating pgrep page and correcting ssh page
This commit is contained in:
commit
918be8c011
2 changed files with 9 additions and 1 deletions
|
@ -10,6 +10,14 @@
|
|||
|
||||
`pgrep -i {{fireFOx}}`
|
||||
|
||||
- search full command line with parameters instead of just the process name
|
||||
|
||||
`pgrep -f "{{ssh root}}"`
|
||||
|
||||
- search for process run by a specific user
|
||||
|
||||
`pgrep -u root {{firefox}}`
|
||||
|
||||
- kill all processes which match
|
||||
|
||||
`pkill -9 {{Finder}}`
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- connecting to a remote server with specific port
|
||||
|
||||
`ssh {{username}}@{{remote_host}} -P {{2222}}`
|
||||
`ssh {{username}}@{{remote_host}} -p {{2222}}`
|
||||
|
||||
- run a command on a remote server
|
||||
|
||||
|
|
Loading…
Reference in a new issue