tianyun 8 달 전
부모
커밋
e57e5889b9
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      sh_config.sh

+ 6 - 0
sh_config.sh

@@ -390,3 +390,9 @@ function docker_compose_down() {
 	fi
 	docker-compose -f "$1" down
 }
+
+# Ubuntu/Debian: sudo apt-get install moreutils
+# CentOS/RHEL: sudo yum install moreutils
+# macOS: brew install moreutils
+# 用法  tail -f abc.log | pt
+alias pt="ts '[%Y-%m-%d %H:%M:%S]'"