![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux学习
dreamsfire
这个作者很懒,什么都没留下…
展开
-
ubuntu 更换阿里源
From:https://www.linuxidc.com/Linux/2018-08/153709.htm 备份 /etc/apt/sources.list cp /etc/apt/sources.list /etc/apt/sources.list.bak 在/etc/apt/sources.list文件前面添加如下条目 #添加阿里源 deb http://mirrors.aliyun.c...转载 2019-05-16 10:48:59 · 447 阅读 · 0 评论 -
ubuntu 下连接 github
From:https://blog.csdn.net/thone00/article/details/80496984 1.安装git sudo apt-get install git 2.检查SSH 在shell里检查是否可以连接到GitHub: ssh -T git@github.com 如果看到: Warning: Permanently added ‘github.com,204.2...转载 2019-05-16 11:44:19 · 983 阅读 · 0 评论 -
git学习笔记
1.本地仓库初始化 git init #把当前目录变成git可管理的仓库 2.把文件放到(删除) git 仓库 第一步:使用 git add 将文件添加到仓库 git add filename #删除文件只需要把 add 改成 rm 第二步:用命令 git commit 告诉Git,把文件提交到仓库: git commit -m "本次提交的说明" #commit可以一次提交多个文件 3.查...原创 2019-05-20 11:19:14 · 79 阅读 · 0 评论 -
解决linux下sudo更改文件权限报错xxxis not in the sudoers file. This incident will be reported.
本文转自Linux社区作者为z-sm的文章 原文链接http://www.linuxidc.com/Linux/2016-07/133066.htm Linux中普通用户用sudo执行命令时报”xxx is not in the sudoers file.This incident will be reported”错误,解决方法就是在/etc/sudoers文件里给该用户添加权限。如下: 1...转载 2019-07-17 11:36:13 · 808 阅读 · 0 评论 -
grep常用需要转义字符汇总
最近用grep的时候发现转义非常恶心,干脆做个测试,统计一下表示特殊语意时,需要转义的字符,这里的特殊语意是指非匹配自己本身,有特殊含义的时候 {} () | + ...原创 2019-08-13 12:36:59 · 7419 阅读 · 0 评论