会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LiuYanYGZ
问号 惊叹号
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
126
下一页
2024年10月15日
linux开启端口监听
摘要: 在Linux中,您可以使用socat或nc(netcat)工具来监听特定的端口。以下是使用这两种工具的简单示例: 使用socat: 安装socat(如果尚未安装): sudo apt-get install socat 开启一个监听在TCP端口8080上的socat实例: socat TCP-LIS
阅读全文
posted @ 2024-10-15 16:35 LiuYanYGZ
阅读(1104)
评论(0)
推荐(0)
2024年10月12日
文件大于5M则清空
摘要: #!/bin/bash function clear_log { file1="/root/log.txt" file2="/root/log2.txt" if find ${file1} -size +5120k | grep ${file1} > /dev/null ; then cat /de
阅读全文
posted @ 2024-10-12 16:37 LiuYanYGZ
阅读(23)
评论(0)
推荐(0)
2024年9月26日
双面打印机:激光打印、复印、扫描一体机LaserJet Pro MFP 4104dw
摘要: 双面打印机: 型号:LaserJet Pro MFP 4104dw 功能:激光打印、复印、扫描一体机
阅读全文
posted @ 2024-09-26 09:41 LiuYanYGZ
阅读(65)
评论(0)
推荐(0)
2024年9月4日
Golang当中的定时器
摘要: 参考:https://blog.csdn.net/qq_56999918/article/details/130499688 1 package main 2 3 import ( 4 "fmt" 5 "time" 6 ) 7 8 func Timer_stop(t *time.Timer) { 9
阅读全文
posted @ 2024-09-04 10:49 LiuYanYGZ
阅读(14)
评论(0)
推荐(0)
2024年8月31日
【Linux】命令expect使用详解
摘要: 一、概述1.1 命令简介expect 是由Don Libes基于Tcl(Tool Command Language )语言开发的,是一种脚本语言,主要应用于自动化交互式操作的场景,借助Expect处理交互的命令,可以将交互过程如:ssh登录,ftp登录等写在一个脚本上,使之自动化完成。尤其适用于需要
阅读全文
posted @ 2024-08-31 14:52 LiuYanYGZ
阅读(1342)
评论(0)
推荐(0)
使用脚本向SFTP服务器传输文件
摘要: 摘自:https://blog.csdn.net/qq_45882426/article/details/138275975 #!/usr/bin/expect -f set timeout 60 set ipaddr [lindex $argv 0] set username [lindex $a
阅读全文
posted @ 2024-08-31 14:45 LiuYanYGZ
阅读(97)
评论(0)
推荐(0)
2024年8月23日
c++面试题
摘要: 摘自:https://blog.csdn.net/Destiny_zc/article/details/118532083 文章目录a.0 库a.0.最小cpp系统构成a.1. 不使用用自定义库文件a.2.使用库文件a.2.1 生成静态库a.2.2 生成共享库a.3.使用第三库a.3.1 使用第三库
阅读全文
posted @ 2024-08-23 00:15 LiuYanYGZ
阅读(42)
评论(0)
推荐(0)
Modern CMake 简介
摘要: 摘自:https://zhuanlan.zhihu.com/p/76975231 Modern CMake 简介 历史背景 CMake是一个构建系统生成器(build-system generator)。常见的构建系统,有Visual Studio,XCode,Make等等。CMake可以支持不同平
阅读全文
posted @ 2024-08-23 00:12 LiuYanYGZ
阅读(125)
评论(0)
推荐(0)
cmake Makefile面试问题
摘要: 摘自:https://wenku.baidu.com/view/4db705bdba0d6c85ec3a87c24028915f814d8462.html?_wkts_=1724332395577&bdQuery=cmake+%E9%9D%A2%E8%AF%95%E9%A2%98
阅读全文
posted @ 2024-08-23 00:10 LiuYanYGZ
阅读(85)
评论(0)
推荐(0)
2024年8月22日
c++一些面试题目
摘要: 摘自:https://www.cnblogs.com/lidabo/p/3284921.html 1、What is achieved by prefixing the 'static' keyword to a file-level function or file-level variable
阅读全文
posted @ 2024-08-22 23:18 LiuYanYGZ
阅读(14)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
126
下一页
公告