# -*- coding: utf-8 -*- # @Time : 2020/7/25 14:09 # @Author : Breeze # @FileName: 字符格式化输出.py name = input("Name:") age = int(input("Age:")) job = inpu ...
分类:
其他好文 时间:
2020-07-27 15:34:29
阅读次数:
60
感谢老哥,解决了我的疑惑 https://www.cnblogs.com/yscit/p/10376005.html https://www.cnblogs.com/ybhcolin/archive/2013/04/17/3026646.html ###一、概述 Oralce中的任务有2种:Job和 ...
分类:
数据库 时间:
2020-07-27 13:45:12
阅读次数:
102
1. 文件复制命令 cp 将源文件名移动至目标文件夹 cp [options] source_file destination_folder 2. 移动文件命令 mv 将源文件名改为目标文件名 mv [options] source_file new_file 将文件移动到目标目录 mv [opti ...
分类:
系统相关 时间:
2020-07-26 19:41:23
阅读次数:
170
ssh无法启动 (code=exited, status=255) 2019年1月30日ssh 服务器运行了一些脚本后,突然发现无法ssh了。 root@X61T:/home/liang# service sshd restart Job for ssh.service failed because ...
分类:
其他好文 时间:
2020-07-26 15:52:25
阅读次数:
322
1. 备份 mkdir /etc/yum.repos.d/repo.bak ; mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repo.bak 2. 配置yum源文件 vim /etc/yum.repos.d/CentOS8.repo 1 [baseOS] ...
分类:
其他好文 时间:
2020-07-26 15:16:55
阅读次数:
216
CentOS7启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......... 宇智波唐嫣 2019-04-18 12:07:00 1384 收藏 1版权面试:你懂什么是分 ...
分类:
其他好文 时间:
2020-07-26 15:12:02
阅读次数:
128
1. 批量重命名文件为数字编号 进入所需要重命名的数据集的文件夹,在终端运行 $ i=k; for x in ./*; do mv $x $i.mp4; let i=i+1; done # 'k' is the start number you want, such as 1 or 1000; '. ...
分类:
系统相关 时间:
2020-07-26 00:44:57
阅读次数:
112
linux 命令可以联合使用 sync -- 同步备份数据 shutdown -- 关机 shutdown -h 10 -- 10分钟后关机 shutdown -r now -- 马上重启 shutdown -r 10 -- 10分钟后重启 reboot -- 重启 halt -- 关闭系统 == ...
分类:
系统相关 时间:
2020-07-25 23:37:42
阅读次数:
94
基本的cd、pwd、ls、cp、mv之类的就不写了 1.grep命令 在指定目录下查找包含某个字段的文件 grep “name” XXX -R 在目录XXX里面查找包含“name”字段的文件,-R是递归查找目录。 grep “name” * -R 在当前目录下的所有文件目录里面查找包含"name"字 ...
分类:
系统相关 时间:
2020-07-24 22:01:17
阅读次数:
113
Dijkstra's algorithm is one of the very famous greedy algorithms. It is used for solving the single source shortest path problem which gives the short ...
分类:
其他好文 时间:
2020-07-24 21:53:35
阅读次数:
107