实验目标:通过本实验掌握批量建立、移动、复制文件或目录的操作,也可以作为后续shell编程的基础。实验步骤:1、现在有十台终端机器,要为每台机器建立3个文件,总共要建立30个文件。文件名称为system_change-machineY-month_Z.txt其中Y为机器编号,1-10,Z为月份,jan,feb,mar2、一次性创建3个目录,分别为jan,feb,mar,根据月份把新建的文件移动到相
分类:
系统相关 时间:
2019-07-08 09:19:31
阅读次数:
168
1. 查看文件的权限 1) 使用ls –l命令查看文件上所设定的权限。 -rw-r--r-- 1 root root 605 Mar 18 20:28 .jp1.tar.gz 权限信息 属主 属组 文件大小 创建日期 文件名 2) ls –l命令的显示结果中的第一列分成4组,其中; a) 第1个字符 ...
分类:
系统相关 时间:
2019-07-03 10:33:17
阅读次数:
128
ROS标记工具 ROS标记工具参考前言visuallization_msgs/markersSending Basic Shapes to RViz基本原理关键代码Sending Points and linesInteractive Marker基本原理Simple Interactive Mar... ...
分类:
其他好文 时间:
2019-07-02 00:15:39
阅读次数:
163
如何居中div? 水平居中:给div设置一个宽度,然后添加margin:0 auto属性 div{ width:200px; margin:0 auto; } 让绝对定位的div居中 div { position: absolute; width: 300px; height: 300px; mar ...
分类:
其他好文 时间:
2019-06-27 16:13:02
阅读次数:
100
要调试守护进程等已经启动的进程或是调试陷于死循环的进程可以使用attach命令格式 attach pidC语言代码#include <stdio.h> int main(void) { int marks[10]; int i; for(i=0;i<12;i++) { scanf("%d",&mar ...
分类:
数据库 时间:
2019-06-24 13:52:35
阅读次数:
120
题目描述 Bessie 计划调查N (2 include include include define maxn 2001 define maxm 10001 using namespace std; int n,m; inline int read(){ register int x(0),f(1 ...
分类:
其他好文 时间:
2019-06-21 22:37:11
阅读次数:
137
数据的插入需要在sql语句后加上COMMIT,同时需要在连接处设置autocommit=True,如果没有我试过插入不成功。 之前查过看见很多人说在cur.execute(sql)后面使用conn.commit(),但是我试了很多次都不成功,直到看到https://blog.csdn.net/mar ...
分类:
数据库 时间:
2019-06-09 20:57:18
阅读次数:
158
" 1、什么是 Markdown? " " 2、有哪些人在用 Markdown? " " 3、用 Markdown 的优势是什么? " " 4、Markdown 的语法标准简介 " " 5、怎么用 Markdown? " " 6、如何选择 Markdown 编辑器? " " 7、如何快速上手 Mar ...
分类:
其他好文 时间:
2019-06-06 21:34:11
阅读次数:
160
How to show out three rows from the same databand On A4? Quote Post by DoraHuang » Tue Mar 13, 2018 4:13 am Hello, there are few questions to ask,1. H ...
分类:
其他好文 时间:
2019-06-03 09:30:59
阅读次数:
108
如果没有设置密码,配置文件设置grant-skip-tables,只需要生效即可MariaDB [(none)]> grant all on *.* to 'test'@'192.168.30.%'identified by '123.com';ERROR 1290 (HY000): The Mar ...
分类:
数据库 时间:
2019-05-25 09:54:10
阅读次数:
134