随笔分类 - 脚本
发表于 2024-09-08 11:36阅读次数:36评论次数:0
摘要:#!/bin/bash funWithParam(){ echo "第一个参数为 $1 !" echo "第二个参数为 $2 !" echo "第十个参数为 $10 !" echo "第十个参数为 ${10} !" echo "第十一个参数为 ${11} !" echo "参数总数有 $# 个!"
阅读全文 »
发表于 2023-01-06 16:42阅读次数:16评论次数:0
摘要:Windows PID在最右侧 netstat -ano | find "8080" netstat -ano | findstr 8080tasklist|findstr "9380"taskkill /f /pid 2368 tasklist Linux netstat -apn|grep 端口
阅读全文 »
发表于 2023-01-06 15:37阅读次数:1168评论次数:0
摘要:Excel中判断一个表中的某一列的数据在另一列中是否存在=IF(COUNTIF(A:A,C1)>0,"有","无") =IF(COUNTIF(J:J,E3)>0,"有","无") https://wenku.baidu.com/view/faf19f2f5b1b6bd97f1922791688848
阅读全文 »