原因:由于使用的是绝对路径导致出现'/'的情况 解决办法:添加参数 -P tar -zcvPf ${bak_dir}/${tar_name2}-${time}.tar.gz ${tar2} 参考网址: https://www.cnblogs.com/operationhome/p/9802554.h ...
                            
                            
                                分类:
其他好文   时间:
2021-03-15 10:35:07   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Problem Description There are n employees in Alternative Cake Manufacturing (ACM). They are now voting on some very important question and the leading ...
                            
                            
                                分类:
其他好文   时间:
2021-02-10 13:08:04   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    layui基础知识 1.layui模块化编程引入方法 只需要引入两个文件layui.css和layui.js <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=devic ...
                            
                            
                                分类:
其他好文   时间:
2021-02-01 11:55:02   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                问题描述 今天在写脚本的时候,涉及到了一个打包压缩的过程。是用tar命令来打包某文件夹并压缩。 我之前通常都会在脚本中指定文件夹的绝对路径,这样可以避免很多麻烦。但是本次执行脚本的过程中,我发现这个tar命令会报一个warning出来。 tar: Removing leading `/' from  ...
                            
                            
                                分类:
系统相关   时间:
2021-01-06 12:29:29   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    1. Docker 是什么? 官网的介绍是“Docker is the world’s leading software container platform.” 官方给Docker的定位是一个应用容器平台; Docker 是一个容器平台的领导者 Docker 容器平台 Docker 应用容器平台。 ...
                            
                            
                                分类:
其他好文   时间:
2020-10-24 10:06:54   
                                阅读次数:
25
                             
                    
                        
                            
                            
                                Problem Description Little Rabbit is interested in radix. In a positional numeral system, the radix is the number of unique digits, including the digi ...
                            
                            
                                分类:
其他好文   时间:
2020-08-06 20:41:05   
                                阅读次数:
67
                             
                    
                        
                            
                            
                                    原文:https://www.iteye.com/blog/brokendreams-1932875 package com.vrv.util; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputS ...
                            
                            
                                分类:
其他好文   时间:
2020-07-26 00:55:41   
                                阅读次数:
64
                             
                    
                        
                            
                            
                                    服务器具有四种状态,分别是 LOOKING、FOLLOWING、LEADING、OBSERVING。 1、LOOKING:寻找 Leader 状态。当服务器处于该状态时,它会认为当前集群中 没有 Leader,因此需要进入 Leader 选举状态。 2、FOLLOWING:跟随者状态。表明当前服务器 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-20 10:46:28   
                                阅读次数:
119
                             
                    
                        
                            
                            
                                    什么是docker docker历史 2010 dotCloud PAAS 2013 docker开源 2014.6 Docker1.0 Docker is the world's leading software containerization platform. Docker公司开发,开源,托 ...
                            
                            
                                分类:
编程语言   时间:
2020-07-13 18:12:31   
                                阅读次数:
64
                             
                    
                        
                            
                            
                                    周赛地址(英):weekly contest 196 周赛地址(中):第 196 场周赛 仓库地址:week-Leetcode 1502. Can Make Arithmetic Progression From Sequence Given an array of numbers arr. A s ...
                            
                            
                                分类:
其他好文   时间:
2020-07-05 13:51:11   
                                阅读次数:
57