linuxshell 读书笔记四 (unix shell 第三版)

Unix Shell编程(第三版)学习笔记 看了本书,做个记录。 Shell 版本简介 Bourne shell        /bin/sh         Bourne-again shell  /bin/bash      GNU shell兼容Bourne shell,Linux使用 C shell             /bin/csh       Sun默认 Korn shell          /bi 阅读详情
read variable         --读入标准输入的一行数据给variable 如果后个多个变量 
                 --变量1存1串 变量2存2串 以存此类推 如果变量少,则最后一个变量存多个串值
                                                           --字符间以空白分隔
[yp@localhost ~]$ read test
1 2 3
[yp@localhost ~]$ echo $test
1 2 3

[yp@localhost ~]$ read test test1 test2
1 2 3
[yp@localhost ~]$ echo $test
1
[yp@localhost ~]$ echo $test2
3

[yp@localhost ~]$ echo "$test","$test2","$test1" ;
111,333,222
[yp@localhost ~]$ echo "$test,$test2,$test1" ;
111,333,222

[yp@localhost ~]$ read test  test1
123  34  56  321   444  55
[yp@localhost ~]$ echo "$test1 ,test"
34  56  321   444  55 ,123

--用read 试着模仿cp 的 -i功能 如果目标文件存在则提示是否覆盖它
[xep@localhost ~]$ cat -n read_cpfile_script
     1  #! /bin/bash
     2  #  use read command to finished copy file
     3
     4  if [ $# -ne 2 ]
     5  then
     6     echo "please input sou_file_name and dest_file_name"
     7     exit 1
     8  fi
     9
    10  if [ -e $2  ]
    11  then
    12      echo -e "the dest_file $2 exists do you cover it? (y/n) \c"
    13      read sure
    14  fi
    15
    16  if [ "$sure" = 'y' ]
    17  then
    18      cp $1 $2
    19  fi
    20  exit 0

--上面脚本中用到转义符 可以把转义符\c去掉 试试效果
--记录转义符的含义    \b 退格 \c 行尾不带结束符  \f换页
--  \n 换行 -r 回车  \t  制表位

[xep@localhost ~]$ echo -e "\042"  --\042是双引号
"
[xep@localhost ~]$ echo $'\n'      


[xep@localhost ~]$ echo $'\a'


echo $$              --输出登录shell的进程ID 在多人调用shell产生临时文件名时可以用$$指定
                             --避免多人引用同一临时文件引起混乱

                     
--当使用export来导出一个变量时,当前shell就会将此变量放到"导出变量列表"中,一旦在某个时刻需要建立子shell时,
--就会将这个导出变量列表拷贝一份给子shell,这样子shell也就有所应当的看到了这些被导出的变量了.

[xep@localhost ~]$ cat -n export_script
     1  #! /bin/bash
     2  #  test export
     3
     4  x=$x
     5  y=$y
     6  if [ $x -gt 0 ]
     7  then
     8   x=200
     9  fi
    10  echo $x,$y
    11  ./export1_script
    
[xep@localhost ~]$ cat -n export1_script
     1  #! /bin/bash
     2
     3  x=$x
     4  y=$y
     5
     6  echo $x:$y
     
[xep@localhost ~]$ x=100
[xep@localhost ~]$ export x
[xep@localhost ~]$ ./export_script
200,
200:

[xep@localhost ~]$ echo $x
100

--export特点
--1.没有导出的变量是局部变量,子shell看不到
--2.导出的变量,子shell可以修改它,但是父shell看不到子shell做的修改。说白了,子shell修改的是导出变量的副本。
--3.导出变量不只对子shell可见,对子shell的子shell也是可见的
--4.export -p  显示导出export 变量列表

--给子shell传值的另一做法
[xep@localhost ~]$ cat -n export2_script
     1  #! /bin/bash
     2
     3  echo $dbhome:$dbid

[xep@localhost ~]$ dbhome=/homexep/xep/work ./export2_script
/homexep/xep/work:
[xep@localhost ~]$ echo dbhome
dbhome
[xep@localhost ~]$ echo $dbhome

[xep@localhost ~]$ ./export2_script
:

--这种做法是一次性的 等第二次再调用时候 dbhome还是空 当前shell也不认识它


--大小括号
[xep@localhost work]$ { cd ../..; ls ; }
--命令放在大括号里 注意空格 命令和命令中间用分号(;)隔开,最后一条命令也要有分号 在当前shell中执行

[xep@localhost work]$ (cd ../..; ls)

--命令和命令间用分号隔开 在子shell中执行 命令结果不会影响当前shell



LinuxShell编程1———shell基础命令 可以由字母、数字、下划线组成, 不能以数字开头, 不能是关键字,见名知意。变量名=“变量值” 或者 变量名=变量值注意:变量名与变量值等号之间不能有空格,不然就定义失败。调用(提取)变量:$变量名 或${变量名}Shell数组用括号来表示,元素用空格分割开,语法格式:定义数组 :数组名=(值1 值2 ... 值n)$@内置变量,脚本外输的变量值,我们就调用这个函数进行判断。返回值0是服务开启,非0是未开启。修改颜色添加时间sed是一个用于:过滤并转换文本行的流编辑器。 阅读详情

相关推荐

绝版经典《Linux与UNIX Shell编程指南》中文PDF版

绝版经典《Linux与UNIX Shell编程指南》中文文字PDF版

UnixShell编程(第三版)

这本书相当老了,04年的,现在 在linux上做实验。 1,date 显示日期。 2,who 显示用户,who am i 3,echo 后面字符串会全部输出,,会过滤掉多余空格,单双引号,分号等。 4,ls 列出文件。 5,cat 查看文件。 6,wc 文件名,,第一个数字是文件行数,第二个数字是文件单词书,第三个数字是文件字节数。 wc -l name 只显示行数...

demiHe1982的博客 219

Unix.Shell编程(第三版).zip

Unix.Shell编程(第三版).zip

UnixShell编程(第三版) 二章

这本书写的真的很好,让人欲罢不能的读下去。 1,可以简单的将命令看做类似函数的东西,而后面跟的是所传的参数。 echo Hello Word > Hi 将字符串hello Wrod 写入文件Hi。 2.ed 像vim,一个文本编辑工具。-----正则我已做过笔记,这里略过了。 3,cut 从数据或文件中减出自己想要的内容。 4,paste 把多行粘在一起。 5,s...

demiHe1982的博客 191

unix shell编程 第三版

unix shell编程 第三版 中文PDF扫描版,因为只能双传15M,所以分两个卷,这时part1

完整的申请邓白氏编码的流程(手把手教你申请邓白氏编码)

申请公司的苹果开发者账号和企业级的苹果开发者账号时,都会用到邓白氏编码,也就是我们申请苹果开发者账号时需要填写的D-U-N-S Number。     申请这个邓白氏编码是免费的,但是从像华夏邓白氏公司提交申请到可以申请苹果开发者账号来用这个9位的D-U-N-S Number,需要一段时间,我申请得到D-U-N-S Number,用了8个工作日(不算周末哦)

wxw2011014003的博客 9万+

linuxshell 读书笔记六 (unix shell 第三版)

--打开跟踪 相当于 sh -x  但不跟踪子shell [xep@localhost ~]$ set -x ++ echo -ne '\033]0;xep@localhost:~' [xep@localhost ~]$ pwd + pwd /home/xep ++ echo -ne '\033]0;xep@localhost:~' --关闭跟踪 [xep@localhos

sql_xep的专栏 927

scratch lenet(4): 开根号的C语言实现

使用C语言,分别使用二分法、牛顿法、卡马克快速法,求解正实数的开根号。包括公式推导、代码实现、运行结果,不使用任何第三方库和C标准库的数学库。

baiyu33的博客 4970

linuxshell 读书笔记三 (unix shell 第三版)

[xep@localhost ~]$ cat -n casewhen_script      1  #! /bin/bash      2  #  check data display datatype      3      4  declare char=""      5  data=""      6  if [ $# -ne 1 ] ; then      7     ec

sql_xep的专栏 749

Hypack 应用于地形测量的高级设置操作要领

Hypack 是业界公认最好的水文导航测量软件,是目前世界上应用广泛的专业测量疏浚软件。它能够接收,处理,存储和输出各种数据。Hypack支持绝大部分GPS,测深仪(国内如海鹰HY1603单波束测沙仪),多波束测深仪,旁扫声纳,涌浪补偿器,水位仪,验潮仪以及声速剖面仪。利用 Hypack 可以进行导航,单波束测量,多波束测量,旁扫测量以及疏浚实时监测等。软件界面友好,使用方便。本文简要阐述Hypack 应用于地形测量的几个重要操作要领。

中游鱼的博客 2803

【AUTOSAR-COM】-2.3_通过PduGroup批量控制CAN Frame/Pdu的接收

-->如果实现类似UDS诊断 $28服务,控制所有APP CAN Rx Frame/Pdu/报文接收; -->自定义过滤CAN信号的接收。

「汽车电子助手」的博客 1991

linuxshell 读书笔记二 (unix shell 第三版)

who | grep fred                --查找fred用户是否登录 echo  $?                       --上一条命令成功返回0 否则不为0 [xep@localhost ~]$ cat logon_script user="$1" if who | grep "^$user ">/dev/null  then    echo "$

sql_xep的专栏 1144

Matlab:Matlab 软件学习之Matlab内置的各种系统的简介、案例应用(基于Simulink模糊控制仿真/二阶瞬态震荡电路案例)之详细攻略

选择左上角要编辑变量的图标,给定当前变量的论域Range,设置隶属函数类型type(八种隶属函数类型以供选择),最后选中某个隶属度函数(选中为红色),移动绘图区的每个隶属度函数的三个端点(竖向为权重)。(1)、首先在模糊规则编辑器左边选择一个输入变量,并选中它的一个语言值(隶属函数),然后编辑器右边选择一个输出变量,并选中它的一个语言值(隶属函数),然后将这种关系添加到模糊规则中。制定完成后,会形成模糊规则矩阵,系统会根据模糊输入量(如r1、r2),经过模糊规则(如45条),进而确定输出量(Y1、Y2)。

走向CTO之路 1125

linuxshell 读书笔记 (unix shell 第三版)

把一些简单的命令放入文件中 如 cat echo_script #echo demo echo the current data and time is: date echo echo the number of users on the system is: who|wc -l echo echo your current working directory is : pwd

sql_xep的专栏 627

Java中使用工厂模式和策略模式优雅消除if-else语句(UML类图+案例分析)

在最近的后端开发中,多多少少会发现有很多if-else语句,如果条件过多则会造成整体代码看起来非常臃肿。本篇博客汇总了我对工厂模式和策略模式的理解,以及我是如何把它们巧妙运用在实际项目当中的一些技巧进行了分享,如有问题,欢迎评论区讨论!

黄团团的个人博客 2614

大模型实战—通义千问大模型微调

这个参数仅针对 llama 类型的模型结构,默认勾选的是 q_proj 和 v_proj,具体的名词不容易理解,我就不多说了,可以简单的认为是对模型的理解能力进行优化,一般这两个就够了。当这个值较高时,适应新任务的能力会增强,但是对基础模型的影响会比较大,有过拟合的风险,尤其是在数据量有限的情况下。为了方便测试,我在云环境也创建了一个镜像,相关的环境都配置好了,可以直接使用几个国内开源的大语言模型,比如清华智谱的ChatGLM3-6B、零一万物的Yi-34B,还有最近阿里云开源的Qwen1.5-32B。

7万+

linuxshell 读书笔记五 (unix shell 第三版)

--简单说明 $parameter 是 ${parameter} 的一个简写方式 --前面也提到了 cp $file ${file}_1 把file变量中存的文件(假如名为x)复制一份 放在 x_1文件中 --参数传递的时候 超过9个参数就不能再用$10来接 而是用${10} ${para :- value} --如果变量para为空则显示value 否则显示 para [xep@l

sql_xep的专栏 687

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

【编程实践】Linux / UNIX Shell编程极简教程

不同于一般的介绍Linux Shell 的文章,本文并未花大篇幅去介绍 Shell 语法,而是以面向“对象” 的方式引入大量的实例介绍 Shell 日常操作,“对象” 涵盖数值、逻辑值、字符串、文件、进程、文件系统等。这样有助于学以致用,并在用的过程中提高兴趣。也可以作为 Shell 编程索引,在需要的时候随时检索。1. 什么是 Shell ?首先让我们从下图看看 Shell 在整个操作系统中所...

AI天才研究院 2万+

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

计算机控制技术及应用

《计算机控制技术及应用》通过总结作者的科研成果和吸收国内外的先进理论、方法和技术,以计算机控制系统的网络化、开放化、智能化和集成化发展趋势为主线索,主要介绍计算机控制系统的基本概念和计算机控制系统的典型形式,计算机控制系统的数学描述与基本分析方法,以及数字PID控制器、最少拍控制系统、达林算法、状态变量设计法等设计方法及其各种改进算法。重点突出计算机控制系统输入输出通道接口的设计方法和典型控制系统的设计案例与实现方法等。

unix/linux shell,Unix/Linux Shell编程(4)

命令执行操作符◆多条命令可以在一行中出现。它们可以从左到右顺序执行。此时,各条命令之间应以分号( ;)隔开,如:pwd ; who | wc -l ; cd /usr/bin◆在相邻命令间可存在逻辑关系,即逻辑“与”和逻辑“或”。逻辑与操作符“&&”可把两个命令联系在一起,其一般形式:命令1 && 命令2其功能是先执行命令1,如果执行成功,才执行命令2;否...

weixin_39529302的博客 155

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

linux shell脚本攻略第3版_那些被遗忘的 UNIX/Linux 经典著作

来自:程序员书库(ID:OpenSourceTop) 编译书单来自:https://medium.com/@sarahelson81/top-6-books-for-unix-and-shell-scripting-beginners-d3e4de7af7a6你可以通过许多种不同的方式去学习新的编程语言,有些人关注博客,有些人看在线教程,而有些人则喜欢安安静静坐下来读一本好书,就我个人而言,我还是...

weixin_39628180的博客 338

linuxshell编程_12个最好的免费开源Linux Shell

点击上方Linux公社,关注我们正文自从70年代Unix系统诞生以来,它就一直吸引着全世界的目光。帮助Linux和BSD发行版确保其当前地位的基本特性之一是Linux shell。由于其强大的功能和多样的应用程序,shell是许多Linux爱好者的必备工具之一。它是操作系统的命令行接口,允许您根据自己的条件执行任何类型的操作。此外,Linux shell不仅是一个接口,而且是一种具有...

weixin_39702649的博客 404

Shell教程_不同Shell中for和while语句的差异

Shell教程 不同Shell中for和while语句的差异。

goufeng93的博客 1138

linux shell编程 ppt,《LinuxSHELL编程》PPT课件.ppt

《《LinuxSHELL编程》PPT课件.ppt》由会员分享,可在线阅读,更多相关《《LinuxSHELL编程》PPT课件.ppt(35页珍藏版)》请在装配图网上搜索。1、Linux SHELL编程 SHELL基础 一什么是 SHELL Shell是一种具备特殊功能的程序,它是介于使用者和 UNIX/Linux 操作系统之核心程序( kernel)间的一个 接口。众所周知,对计算机下命令得透过命令...

weixin_35750483的博客 546

Linux Shell编程case语句_linuxshell修改fluent case(1)

表示命令序列结束。最后的“*)”表示默认模式,当使用前面的各种模式均无法匹配该变量时,将执行“*)”后 的命令序列。esac -------------------------------------------------------------------------------- 例三 : 判断系统 有时候,您所写的Script可能会跨越好几种平台,如Linux、FreeBSD、Solaris等等,而各平台之间,多多少少都有不同之处,有时候需要判断目前正在那一种平台上执行。

2401_84139095的博客 1180
上一篇: linuxshell 读书笔记三 (unix shell 第三版)
下一篇: linuxshell 读书笔记五 (unix shell 第三版)
sql_xeppp
博客等级 码龄18年 34粉丝 66原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值