摘要:
解决: 在项目git 路径 末尾加 .git 阅读全文
摘要:
Content-disposition其实可以控制用户请求所得的内容存为一个文件的时候提供一个默认的文件名 阅读全文
摘要:
str1 = "/Users/krunal/Desktop/code/pyt/app.pyt"import osres = os.path.split(str1)res1 = os.path.splitext(str1)print(res)print(res1)"""('/Users/krunal/ 阅读全文
摘要:
git clone 时遇到该错误 办法 执行 git config --system --unset credential.helper 然后再次执行git 操作, 输入正确的用户名密码即可. 阅读全文
摘要:
客户端敲shutdown 或kill -9 进程号 阅读全文
摘要:
查看主机名 cat /etc/hostname 永久修改 hostnamectl set-hostname 新名字 执行完上面命令后 执行一下bash命令 # 则立即生效 阅读全文
摘要:
systemctl status sshd 阅读全文
摘要:
图 阅读全文
摘要:
mount命令的功能是将文件系统挂载到目录。文件系统指的是被格式化过的硬盘或分区设备,进行挂载操作后,用户便可以在挂载目录中使用硬盘资源了。原文链接:https://www.linuxcool.com/mount 挂载的命令 mount [磁盘路径] [挂载的路径] 查看本机挂载的命令 [root 阅读全文
摘要:
1、如查看vim进程 [root@localhost ~]# ps -ef | grep vim 2、杀死vim进程 [root@localhost ~]# kill -9 pid号 阅读全文