码迷,mamicode.com
首页 >  
搜索关键字:do    ( 12356个结果
shell脚本 循环
shell脚本的第一行一般为#!bin/bash 指定命令解释器,#!后面为搜寻解释器的绝对路径。要赋予shell脚本文件可以执行的权限。ls –l filename 可以查看该文件的权限,通过chmod 777 filename 可以赋值给文件新的权限。for 循环for 变量 in 串行do 执... ...
分类:系统相关   时间:2019-12-30 11:27:55    阅读次数:86
Math类
public class MathTest { //绝对值:abs //三角函数:acos,asin,atan,cos,sin,tan //平方根:sqrt //a的b次幂:pow(a,b) //自然对数:log //e为低指数:exp //max min //0~1的随机数:random //do ...
分类:其他好文   时间:2019-12-30 11:18:46    阅读次数:81
【音乐欣赏】《Fake》 - The Tech Thieves
曲名:Fake 作者:The Tech Thieves 1 [01;12.092]I got wasted,learning how to let it out 2 [01;24.009]Please don't fake it,fake it,fake 3 [00:23.110]Please do ...
分类:其他好文   时间:2019-12-29 18:30:11    阅读次数:724
复制文件写法
for d in getDirectories "E:\\A" do for f in getFiles (d + "*.*") do copyFile f ("E:\\B\\"+ getFilenameFile f + getFilenameType f) --复制E盘A文件夹下所有到E盘B文件夹 ...
分类:其他好文   时间:2019-12-28 09:53:42    阅读次数:86
重启max
FN ResetMax = ( local IsReset = false if checkForSave() do ( shellLaunch (getdir #maxroot+"\\3dsmax.exe") (maxfilepath+maxfilename) IsReset = true ) I ...
分类:其他好文   时间:2019-12-27 23:31:45    阅读次数:83
Shell 实现多任务并发
实现思路 实现一个shell进程库,通过类似于init,run,wait几个简单的命令,就可以迅速实现多进程并发,伪码如下: process_init # 创建进程 for city in ${cities[*]} do cmd="handler $city" process_run $cmd do ...
分类:系统相关   时间:2019-12-27 20:29:44    阅读次数:117
how-to-convert-ppk-key-to-openssh-key-under-linux
Do it with Putty. Linux: with your package manager, install PuTTY (or the more minimal PuTTY-tools): Ubuntu sudo apt-get install putty-tools Debian-li ...
分类:系统相关   时间:2019-12-27 00:31:08    阅读次数:131
程序结构
顺序结构分支结构if-else if -else switch-case 循环结构for while do-while 一、三种结构 第一种: if(条件表达式){ } 第二种: if(条件表达式){ 执行表达式1 }else{ 执行表达式2 } 第三种 多选一 if(条件表达式){ 执行表达式1  ...
分类:其他好文   时间:2019-12-26 21:25:09    阅读次数:77
深入理解TCP协议及其源代码
# TCP协议的初始化及socket创建TCP套接字描述符 1. TCP协议简介 1. TCP协议的初始化 从内核启动的起点 start_kernel 开始 --> rest_init --> kernel_init --> do_basic_setup --> inet_init Linux内核初 ...
分类:其他好文   时间:2019-12-26 21:06:46    阅读次数:88
TCP协议的初始化及socket创建TCP套接字描述符
我们依然从start_kernel说起,它最后会执行: arch_call_rest_init() --> rest_init() --> Kernel_init() --> Kernei_init_freeable() --> do_basic_setup() --> do_initcalls() ...
分类:其他好文   时间:2019-12-26 19:47:13    阅读次数:127
12356条   上一页 1 ... 85 86 87 88 89 ... 1236 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!