一 、判断题10道、一题3分。1、DNS默认端口号是多少?( D )A、443 B、80 C、25 D、532、docker中以下那个命令不正确 ?( B )A、docker run B、docker file C、docker exec D、docker images3、在shell脚本中以下那个 ...
分类:
其他好文 时间:
2020-08-10 13:12:30
阅读次数:
69
#include<iostream> #include<cstdio> using namespace std; int main(){ double n; cin >> n; double l = -10000, r = 10000; while(r - l > 1e-8){ // 由于要保留6位 ...
分类:
其他好文 时间:
2020-08-10 13:11:59
阅读次数:
62
用归递的方式打出一串字符ADD(intx){if(x>9){ADD(x/10);}printf("%d",x%10);}intmain(){intnum1=0;printf("请输入:>");scanf("%d",&num1);ADD(num1);return0;}用函数的方式写出有多少个字符ADD(char*a){if(*a!=‘\0‘){return1+ADD(a+1);}
分类:
其他好文 时间:
2020-08-10 10:56:43
阅读次数:
68
练习:1、编写脚本systeminfo.sh,显示当前主机系统信息,包括:主机名,IPv4地址,操作系统版本,内核版本,CPU型号,内存大小,硬盘大小#!/bin/bashYELLOW=‘\e[1;33m‘RED=‘\e[1;31m‘END=‘\e[0m‘echo-e"${YELLOW}++++++++++++++++++++++++++++++++++++++++++${END}"echo-e"
分类:
系统相关 时间:
2020-08-10 09:32:20
阅读次数:
94
一、判断题10道、一题3分。1、DNS默认端口号是多少?(D)A、443 B、80 C、25 D、532、docker中以下那个命令不正确 ?(B)A、docker run B、docker file C、docker exec D、docker images3、在shell脚本中以下那个选项不是关 ...
分类:
其他好文 时间:
2020-08-10 00:09:08
阅读次数:
80
Erlang 入门 基础 安装 Erlang Shell 官网安装 命令安装 For Homebrew on OS X: brew install erlang For MacPorts on OS X: port install erlang For Ubuntu and Debian: apt- ...
分类:
其他好文 时间:
2020-08-09 15:33:57
阅读次数:
80
前言: 大象盒子专注售货机售卖系统研发和智能高端酒店零售机销售 本文主要介绍前期创业期间用到的一些干货,希望和相关行业的创业者共勉。 项目做demo所用到的技术栈:php7.0,js,css,mqtt,thinkphp5.6,微信小程序,微信公众号,微信支付,mysql5.6,shell脚本,cro ...
分类:
其他好文 时间:
2020-08-09 14:24:14
阅读次数:
80
编写脚本实现在指定文件路径下查找文件夹或文件名。 脚本如下: #!/bin/sh # lazy find # GNU All-Permissive License # Copying and distribution of this file, with or without modificatio ...
分类:
系统相关 时间:
2020-08-09 09:19:05
阅读次数:
100
# yum -y groups install "GNOME Desktop" # startx 使用GNOME Shell? # echo "exec gnome-session" >> ~/.xinitrc # startx https://www.cnblogs.com/u-drive/p/9 ...
分类:
其他好文 时间:
2020-08-09 09:18:31
阅读次数:
78