sudo允许用户以其他用户的身份(比如root)执行命令,比如切换用户、执行命令、读写文件等; 配置 sudo配置在:/etc/sudoers ## Sudoers allows particular users to run various commands as## the root user, ...
分类:
系统相关 时间:
2019-01-15 17:14:16
阅读次数:
189
https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ Ubuntu 的软件源配置文件是 /etc/apt/sources.list。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用 TUNA 的软件源镜像。 安装并默认python3.6 su ...
分类:
其他好文 时间:
2019-01-13 23:29:20
阅读次数:
272
今天运行项目,redis突然出现以下问题: redis.clients.jedis.exceptions.JedisDataException: MISCONF Redis is configured to save RDB snapshots, but it is currently not ab ...
分类:
数据库 时间:
2019-01-12 14:19:39
阅读次数:
231
原文链接:http://www.oschina.net/translate/20-advanced-commands-for-middle-level-linux-users?from=20130811 ...
分类:
系统相关 时间:
2019-01-11 17:18:45
阅读次数:
161
1.使用Powerdesigner工具将pdm文件的name同步至comment。 点击Tools->Execute Commands->Edit/Run Scripts 输入脚本: 点击Run即可。 2.使用Powerdesigner工具将pdm文件的comment同步至name。 点击Tools ...
分类:
其他好文 时间:
2019-01-08 17:51:20
阅读次数:
119
>mysql -u root -p Enter password: ******** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 12 Server version: 5.7 ...
分类:
数据库 时间:
2019-01-08 17:14:41
阅读次数:
157
原文来源: https://www.tecmint.com/scp commands examples/ 基本语法 查看传输详情 v 提供原始文件的修改时间,访问时间和模式 让文件传输的更快 C 选择另一种加密方式加密文件 c 默认使用3des加密,可以使用 c 指定加密方式 限制带宽使用 制定SC ...
分类:
其他好文 时间:
2019-01-03 12:54:22
阅读次数:
204
1. if/else 语句 语法: if condition; then commands;elif condition; then commands;else commands;fi 示例:需求:脚本需要1个参数才能正确运行,而在脚本执行时,如果指定的参数个数不等于1,则shell脚本就应该打印出 ...
分类:
系统相关 时间:
2019-01-01 21:06:42
阅读次数:
234
不好意思,今天是严谨的纯技术板块!各位可用于快速备查。 前段可略过,请看到最后。 本文档编辑时间:2018年11月27日 目录 全部命令(之所以选用英文,才不是因为网上找不到最新完整的中文介绍,原汁原味) 常用命令(这也算对纯英文命令集做了一个良好的补充) Core Commands ? - Hel ...
分类:
Web程序 时间:
2018-12-30 18:50:28
阅读次数:
289
从Python 2.4开始,Python引入subprocess模块来管理子进程,以取代一些旧模块的方法:如 os.system、os.spawn、os.popen、popen2.、commands.不但可以调用外部的命令作为子进程,而且可以连接到子进程的input/output/error管道,获 ...
分类:
编程语言 时间:
2018-12-27 15:19:12
阅读次数:
168