上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: 题目:编写脚本,提示用户输入用户名和密码,脚本自动创建相应的账户及配置密码。如果用户不输入账户名,则提示必须输入账户名并退出脚本;如果用户不输入密码,则统一使用默认的 123456 作为默认密码。 #!/bin/bash read -p "input username: " username if 阅读全文
posted @ 2020-07-29 21:26 撑死算工伤吗 阅读(110) 评论(0) 推荐(0)
摘要: C语言设置输出的字体前景色和背景色 颜色如下: none = "\033[0m" black = "\033[0;30m" dark_gray = "\033[1;30m" blue = "\033[0;34m" light_blue = "\033[1;34m" green = "\033[0;3 阅读全文
posted @ 2020-07-29 19:29 撑死算工伤吗 阅读(563) 评论(0) 推荐(0)
摘要: 转载:https://www.cnblogs.com/codingmengmeng/p/7460606.html 修改某个目录及其下所有文件的权限,要使用-R参数,表示启动递归处理。 例如: #仅将/home/user/test目录的权限设置为rwxr-xr-x chmod 755 /home/us 阅读全文
posted @ 2020-07-28 22:24 撑死算工伤吗 阅读(327) 评论(0) 推荐(0)
摘要: mount clntudp_create : RPC Program not registered 环境:安装rhel时已经将所有的防火墙等安全设置都“禁用”。 出现问题的状态:在一台rhel虚拟机上用不同用户实现nfs服务 解决办法: 1. 检查nfs与portmap是否正常启动2. 运行 # r 阅读全文
posted @ 2020-07-28 21:53 撑死算工伤吗 阅读(126) 评论(0) 推荐(0)
摘要: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you  阅读全文
posted @ 2020-07-27 20:05 撑死算工伤吗 阅读(135) 评论(0) 推荐(0)
摘要: # vim /etc/vimrc 在最后一行添加 set softtabstop=4 //一个tab4格 或者set tabstop=4 或者在~/.vimrc中添加也可以 没有~/.vimrc文件可以创建一个 另: set nu //显示行号 set nonu //不显示行号 set expand 阅读全文
posted @ 2020-07-27 20:02 撑死算工伤吗 阅读(101) 评论(0) 推荐(0)
摘要: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you  阅读全文
posted @ 2020-07-26 11:15 撑死算工伤吗 阅读(141) 评论(0) 推荐(0)
摘要: Ubuntu各个ISO版本镜像下载网址: http://mirrors.melbourne.co.uk/ubuntu-releases/ 阅读全文
posted @ 2020-07-13 19:02 撑死算工伤吗 阅读(1035) 评论(0) 推荐(0)
摘要: do sudo apt install libjpeg-dev zlib1g-dev to install the necessary dependencies for Pillow. 阅读全文
posted @ 2020-07-12 16:28 撑死算工伤吗 阅读(3840) 评论(0) 推荐(2)
摘要: 1、win+R,输入control,回车 2、桌面上有的有“控制面板”可以直接双击打开 3、打开一个文件夹,在右边点击“此电脑”,在搜索栏搜索“控制面板” 4、点击“开始菜单”,输入“控制面板” 阅读全文
posted @ 2020-05-03 13:05 撑死算工伤吗 阅读(533) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页