会员
周边
捐助
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ZhangZhihui's Blog
公告
日历
导航
博客园
首页
新随笔
新文章
联系
管理
10 2020 档案
Linux - sudo echo permission denied
摘要:scnzzh@ZUBT:~$ sudo echo -e 'devops\tALL=(ALL)\tNOPASSWD:\tALL' > /etc/sudoers.d/devopsbash: /etc/sudoers.d/devops: Permission denied The redirection
阅读全文
posted @
2020-10-20 09:57
ZhangZhihuiAAA
阅读(229)
评论(0)
推荐(0)
编辑
Linux - Delete a user from a group / Check which groups a user belongs to
摘要:scnzzh@ZUBT1:~$ sudo gpasswd -d root docker Removing user root from group docker scnzzh@ZUBT1:~$ sudo usermod -aG docker scnzzh scnzzh@ZUBT1:~$ groups
阅读全文
posted @
2020-10-20 09:08
ZhangZhihuiAAA
阅读(160)
评论(0)
推荐(0)
编辑
Ubuntu - Check if a package is installed or available to install
摘要:dpkg -l | grep pkg_name zzh@ZZHPC:~$ sudo apt search postgresql-client Sorting... Done Full Text Search... Done postgresql-client/jammy,jammy 14+238 a
阅读全文
posted @
2020-10-15 14:36
ZhangZhihuiAAA
阅读(125)
评论(0)
推荐(0)
编辑
Python - Unicode to string
摘要:>>> ord('\u2019')8217>>> chr(8217)'’' >>> ord("'")39>>> chr(39)"'" >>> ord('中')20013>>> chr(20013)'中'
阅读全文
posted @
2020-10-09 08:01
ZhangZhihuiAAA
阅读(213)
评论(0)
推荐(0)
编辑
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes