码迷,mamicode.com
首页 >  
搜索关键字:shell awk cat    ( 54363个结果)
Shell结束制定名称的进程
提出 运行脚本调用其他程序有人值守可以用^C终止运行 若需自动化则要借助kill -9 [pid]终止进程,例如我们需要终止名称中含有app的进程 用法 ps -ef | grep app | grep -v grep | cut -c 9-15 | xargs kill -9 解析 ps -ef ...
分类:系统相关   时间:2020-06-03 20:40:41    阅读次数:113
Shell脚本编写简单的猜价格游戏
[root@centos02~]#vimplay.sh#!/bin/basha=$(expr${RANDOM}%1000)<!--$RANDOM是一个环境变量,每次都会随机输出一个介于0~32767之间的数-->echo"这个产品的价格是(0~999)元之间,猜猜具体价格是多少?"whiletruedoletcount++read-p"请输入您猜到的具体价格,并按Enter键确认:"b
分类:系统相关   时间:2020-06-03 20:36:56    阅读次数:75
Could not find the following items in the 'ironic.drivers' entrypoint: pxe_ipmitool.
on_missing_entrypoints_callback=missing_callback)) 165198 2020-06-03 19:08:57.959 29088 ERROR oslo_service.service File "/usr/lib/python2.7/site-packa ...
分类:Windows程序   时间:2020-06-03 20:22:23    阅读次数:91
C++:基础编程题
字符数组与字符数组的连接 void strcat(char s[], char ct[]) { int i=0, j=0; while (s[i] != '\0') i++; while (ct[j] != '\0') s[i++] = ct[j++]; s[i] = '\0'; } int mai ...
分类:编程语言   时间:2020-06-03 20:20:58    阅读次数:61
Shell中单双引号的区别
在Linux下执行自动化任务难免需要写shell脚本 例如,打印所在路径 path = $(pwd) echo 'I am at $path' #Output: #I am at $path 为何没有正确打印路径? 原来shell和python不同,单双引号有不同的含义 单引号‘ ’会让shell忽 ...
分类:系统相关   时间:2020-06-03 20:16:40    阅读次数:59
页面测试
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Login</title> <link href="~/css/fonts/Login.css" rel="styles ...
分类:其他好文   时间:2020-06-03 20:02:58    阅读次数:62
odoo权限
https://www.odoogo.com/manual/odoo-dev-doc/701ffd98 id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_todo_todo,todo ...
分类:其他好文   时间:2020-06-03 18:50:11    阅读次数:62
支持微信消息防撤回多开:微信小助手mac 版
微信小助手mac版:https://www.macw.com/mac/731.html mac版微信怎么才能多开?为您推荐WeChatExtension mac版。WeChaTextension中文名为微信小助手,是一款适用于Mac版的WeChat拓展功能插件,这款插件想必很多人都用过,其功能非常多 ...
分类:微信   时间:2020-06-03 17:34:29    阅读次数:167
ES6中Promise的简单理解
一个函数参数:new Promise(function(resolve, reject)) 每个Promise构造函数可接受一个参数,该参数为一个函数,该函数又有两个参数resolve和reject,分别表示为成功之后的回调函数和失败之后的回调函数。 当异步操作执行成功后,会将异步操作结果作为参数传 ...
分类:其他好文   时间:2020-06-03 17:28:32    阅读次数:88
writing: Farewell my princess
adapted from poj 2482 Fleeting time does not blur the memory of you. Has it really been three years since i first saw you? I still remember, vividly, ...
分类:其他好文   时间:2020-06-03 17:25:52    阅读次数:89
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!