mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 22:49:19 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,16 +11,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Copy a file to a remote host:
|
||||
|
||||
`rcp {{path/to/local_file}} {{username}}@{{remotehost}}:{{/path/to/destination/}}`
|
||||
`rcp {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
|
||||
- Copy a directory recursively:
|
||||
|
||||
`rcp -r {{path/to/local_directory}} {{username}}@{{remotehost}}:{{/path/to/destination/}}`
|
||||
`rcp -r {{path/to/local_directory}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
|
||||
- Preserve the file attributes:
|
||||
|
||||
`rcp -p {{path/to/local_file}} {{username}}@{{remotehost}}:{{/path/to/destination/}}`
|
||||
`rcp -p {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
|
||||
- Force copy without a confirmation:
|
||||
|
||||
`rcp -f {{path/to/local_file}} {{username}}@{{remotehost}}:{{/path/to/destination/}}`
|
||||
`rcp -f {{path/to/local_file}} {{username}}@{{remote_host}}:{{/path/to/destination/}}`
|
||||
|
||||
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Set or unset permissive mode for a confined domain. Per-domain permissive mode allows more granular control compared to `setenforce`:
|
||||
|
||||
`sudo semenage permissive {{-a|--add|-d|--delete}} {{httpd_t}}`
|
||||
`sudo semanage permissive {{-a|--add|-d|--delete}} {{httpd_t}}`
|
||||
|
||||
- Output local customizations in the default store:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user