当前位置:网站首页>[Daily office][shell] Common code snippets
[Daily office][shell] Common code snippets
2022-08-04 06:31:00 【xcy6666】
Article table of contents
array, string match
arr=("1995" "1995x" "1995ee" "1995ss" "199")for i in ${arr[*]}; doif [[ "${i}" =~ "1995".* ]]; thenecho "matched $i"if [[ $i = "1995ee" ]]; thenecho -e "\tgot $i"fielseecho -e "\t\t\tnot matched $i"fidoneFind and kill processes
$ ps -aux | grep name_of_process | grep -v grep | awk '{print $2}' | while read pid; do sudo kill -9 $pid; done边栏推荐
- [CV-Learning] Linear Classifier (SVM Basics)
- jdbc:mysql://localhost:3306/student?serverTimezone=CTT&useUnicode=true&characterEncoding=utf-8时报错
- 代码庆端午--粽你心意
- 【深度学习日记】第一天:Hello world,Hello CNN MNIST
- 理想的生活
- "A minute" Copy siege lion log 】 【 run MindSpore LeNet model
- SQL注入详解
- MNIST手写数字识别 —— 从感知机到卷积神经网络
- LeetCode_Dec_3rd_Week
- Implementation of CAS lock-free queue
猜你喜欢

Completely remove MySQL tutorial

第一章 绪论

安装MySQL的详细步骤

Copy Siege Lion 5-minute online experience MindIR format model generation

"A minute" Copy siege lion log 】 【 run MindSpore LeNet model

度量学习(Metric learning、损失函数、triplet、三元组损失、fastreid)

Copy Siege Lions "sticky" to AI couplets

Deep Learning Theory - Initialization, Parameter Adjustment

MNIST手写数字识别 —— 从零构建感知机实现二分类

第三章 标准单元库(上)
随机推荐
FAREWARE ADDRESS
tmux概念和使用
The usefulness of bind() system call
ideal life
"A minute" Copy siege lion log 】 【 run MindSpore LeNet model
剪映专业版字幕导出随笔
【Copy攻城狮日志】“一分钟”跑通MindSpore的LeNet模型
Deep Learning Theory - Overfitting, Underfitting, Regularization, Optimizers
中国联通、欧莱雅和钉钉都在争相打造的秘密武器?虚拟IP未来还有怎样的可能
浅谈外挂常识和如何防御
Copy Siege Lion's Annual "Battle" | Review 2020
LeetCode_Nov_1st_Week
MNIST handwritten digit recognition, sorted by from two to ten
LeetCode_Dec_3rd_Week
典型CCN网络——efficientNet(2019-Google-已开源)
arm-2-基础阶段
Completely remove MySQL tutorial
EL表达式
MySQL批量修改时间字段
How to get started with MOOSE platform - an example of how to run the official tutorial