소스 검색

README.md - minor fixes

- signed-off-by: trimstray <trimstray@gmail.com>
pull/1/head
trimstray 5 년 전
부모
커밋
028e32a1e8
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      README.md

+ 4
- 2
README.md 파일 보기

@@ -529,7 +529,7 @@ ___
###### Annotate tail -f with timestamps

```bash
tail -f file | while read; do echo "$(date +%T.%N) $REPLY"; done
tail -f file | while read ; do echo "$(date +%T.%N) $REPLY" ; done
```

###### Analyse an Apache access log for the most common IP addresses
@@ -546,12 +546,14 @@ ___

```bash
cd /
tar -czvpf /mnt/system$(date +%d%m%Y%s).tgz --directory=/ --exclude=proc/* --exclude=sys/* --exclude=dev/* --exclude=mnt/* .
tar -czvpf /mnt/system$(date +%d%m%Y%s).tgz --directory=/ \
--exclude=proc/* --exclude=sys/* --exclude=dev/* --exclude=mnt/* .
```

###### System backup with exclude specific directories (pigz)

```bash
cd /
tar cvpf /backup/snapshot-$(date +%d%m%Y%s).tgz --directory=/ \
--exclude=proc/* --exclude=sys/* --exclude=dev/* \
--exclude=mnt/* --exclude=tmp/* --use-compress-program=pigz .


불러오는 중...
취소
저장