mirror of
https://github.com/trimstray/the-book-of-secret-knowledge.git
synced 2024-12-18 17:36:14 +00:00
updated README.md - new one liners and Security/hardening
- signed-off-by: trimstray <trimstray@gmail.com>
This commit is contained in:
parent
33e326b2d1
commit
45346ffdc9
30
README.md
30
README.md
@ -18,7 +18,7 @@
|
||||
<img src="https://awesome.re/badge.svg"
|
||||
alt="Awesome">
|
||||
<a href="https://github.com/trimstray/awesome-ninja-admins">
|
||||
<img src="https://img.shields.io/badge/Status-09072018-red.svg?longCache=true"
|
||||
<img src="https://img.shields.io/badge/Status-09-07-2018-red.svg?longCache=true"
|
||||
alt="Status">
|
||||
</a>
|
||||
<a href="http://www.gnu.org/licenses/">
|
||||
@ -223,6 +223,7 @@ performance of any of your sites from across the globe.<br>
|
||||
|
||||
<p>
|
||||
:small_orange_diamond: <a href="https://emeraldonion.org/"><b>Emerald Onion</b></a> - Seattle-based encrypted-transit internet service provider.<br>
|
||||
:small_orange_diamond: <a href="https://www.unbound.net/"><b>unbound</b></a> - validating, recursive, and caching DNS resolver (with TLS).<br>
|
||||
</p>
|
||||
|
||||
#### Lists
|
||||
@ -518,6 +519,33 @@ tail -10000 access_log | awk '{print $1}' | sort | uniq -c | sort -n | tail
|
||||
|
||||
___
|
||||
|
||||
##### Tool: [tar](https://en.wikipedia.org/wiki/Tar_(computing))
|
||||
|
||||
###### System backup with exclude specific directories
|
||||
|
||||
```bash
|
||||
tar -czvpf /mnt/system$(date +%d%m%Y%s).tgz --directory=/ --exclude=proc/* --exclude=sys/* --exclude=dev/* --exclude=mnt/* .
|
||||
```
|
||||
|
||||
___
|
||||
|
||||
##### Tool: [dump](https://en.wikipedia.org/wiki/Dump_(program))
|
||||
|
||||
###### System backup to file
|
||||
|
||||
```bash
|
||||
dump -y -u -f /backup/system$(date +%d%m%Y%s).lzo /
|
||||
```
|
||||
|
||||
###### Restore system from lzo file
|
||||
|
||||
```bash
|
||||
cd /
|
||||
restore -rf /backup/system$(date +%d%m%Y%s).lzo
|
||||
```
|
||||
|
||||
___
|
||||
|
||||
##### Tool: [cpulimit](http://cpulimit.sourceforge.net/)
|
||||
|
||||
###### Limit the cpu usage of a process
|
||||
|
Loading…
Reference in New Issue
Block a user