Linux
Test_C.
这个作者很懒,什么都没留下…
展开
-
Ubuntu无界面Linux 使用pyppeteer 报错:pyppeteer.errors.BrowserError: Browser closed unexpectedly:
安装依赖sudo apt-get install gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 .原创 2020-06-03 16:54:30 · 1526 阅读 · 0 评论 -
Ubuntu 18.04 安装 mysql 没有初始密码
https://www.cnblogs.com/williamjie/p/11126486.htmlsudo cat/etc/mysql/debian.cnfuser 是临时登录名password 是临时密码设置 root 密码:use mysql; update mysql.user set authentication...原创 2019-10-14 13:58:55 · 507 阅读 · 0 评论 -
Linux Ubuntu 修改为国内源
1. 备份源文件cp /etc/apt/sources.list /etc/apt/sources.list.bak2. vim 打开源文件vim /etc/apt/sources.list3. 将源复制到源文件中, 复制其中一个源就行#添加阿里源deb http://mirrors.aliyun.com/ubuntu/ bionic main restrict...原创 2019-03-19 08:51:29 · 645 阅读 · 0 评论 -
Linux 的vim使用
来自鸟哥的私房菜第一部份:一般模式可用的按钮说明,游标移动、复制贴上、搜寻取代等移动游标的方法 h 或 向左方向键(←) 游标向左移动一个字元 j 或 向下方向键(↓) 游标向下移动一个字元 k 或 向上方向键(↑) 游标向上移动一个字元 l 或 向右方向键(→) 游标向右移动一个字元 如果你将右手放在键盘上的话,你会发现 hjkl 是排列在一起...原创 2019-03-28 17:16:25 · 174 阅读 · 0 评论 -
Python Linux 中用 Python 脚本批量杀死进程
Linux 中跑了多个 Python 进程 需要全部杀死os.popen() 调用 read() 方法有返回值os.system() 运行 Linux 命令没有返回值,直接运行# -*- coding:utf-8 -*-import osimport reprint('------')# os.popen() 调用 read() 方法有返回值b = os.po...原创 2019-04-16 18:22:53 · 887 阅读 · 0 评论 -
Linux 使用 tmux
https://www.cnblogs.com/wangqiguo/p/8905081.htmlhttps://www.cnblogs.com/kevingrace/p/6496899.htmlhttps://blog.csdn.net/zong596568821xp/article/details/83785387https://blog.csdn.net/listen2you/ar...转载 2019-05-05 15:21:51 · 267 阅读 · 0 评论 -
ubuntu系统shell 中source: not found错误
https://www.cnblogs.com/laien/p/8277617.htmlshell脚本中含有source命令运行时提示 source: not found测试:运行ls -l /bin/sh后显示/bin/sh -> dash这说明是用dash来进行解析的。解决方案:命令行执行:dpkg-reconfigure dash(需要roo...转载 2019-05-21 11:45:01 · 197 阅读 · 0 评论 -
Linux Ubuntu 安装 nethogs 网络流量监控工具
https://github.com/raboof/nethogs/releaseshttps://www.cnblogs.com/aaron-agu/p/5743141.htmlsudo apt-getinstall build-essential sudo apt-getinstall libncurses5-dev libpcap-dev wget-chttps://gi...原创 2019-05-23 09:43:48 · 508 阅读 · 0 评论