当前位置:网站首页>[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边栏推荐
猜你喜欢

【Copy攻城狮日志】“一分钟”跑通MindSpore的LeNet模型

第三章 标准单元库(下)

Copy Siege Lions "sticky" to AI couplets

深度学习理论 —— 初始化、参数调节

No matching function for call to 'RCTBridgeModuleNameForClass'

【论文阅读】TransReID: Transformer-based Object Re-Identification

MOOSE平台使用入门攻略——如何运行官方教程的例子

Brief description of database and common operation guide

MNIST手写数字识别 —— Lenet-5首个商用级别卷积神经网络

tensorRT5.15 使用中的注意点
随机推荐
LeetCode_Nov_3rd_Week
卷积神经网络入门详解
Copy Siege Lion's Annual "Battle" | Review 2020
target has libraries with conflicting names: libcrypto.a and libssl.a.
数据库的简述与常用操作指南
打金?工作室?账号被封?游戏灰黑产离我们有多近
多线程顺序输出
counting cycle
Copy攻城狮的年度之“战”|回顾2020
MNIST Handwritten Digit Recognition - From Perceptrons to Convolutional Neural Networks
LeetCode_22_Apr_4th_Week
【论文阅读】Further Non-local and Channel Attention Networks for Vehicle Re-identification
Cut the hit pro subtitles export of essays
MOOSE平台使用入门攻略——如何运行官方教程的例子
Windows10重置MySQL用户密码
Pytest常用插件
抽象类、内部类和接口
YOLOV5 V6.1 详细训练方法
EL表达式
度量学习(Metric learning)—— 基于分类损失函数(softmax、交叉熵、cosface、arcface)