摘要:
//将数组以字符串分割int[] arr = {1,2,3,4}; String str1 = Arrays.stream(arr).boxed().map(i -> i.toString()) //必须将普通数组 boxed才能 在 map 里面 toString .collect(Collectors.joining("")); String str2 = Arrays.stream(arr) 阅读全文
posted @ 2019-09-26 18:10
suruozhong
阅读(230)
评论(0)
推荐(0)
摘要:
查看磁盘空间大小 df -h 查看当前文件夹所有文件大小 du -sh 查看指定文件夹大小 du -h /data 查看指定文件夹下所有文件的大小 du -h /data/ 查看指定文件大小 du -h data.log查看目录挂载点df /data加上-kh以g单位显示df /data -kh 阅读全文
posted @ 2019-09-26 14:08
suruozhong
阅读(30560)
评论(0)
推荐(2)
摘要:
1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文
posted @ 2019-09-26 11:29
suruozhong
阅读(3203)
评论(0)
推荐(0)

浙公网安备 33010602011771号