随笔分类 - Linux
摘要:将系统刷入SD卡之后,重新拔插一下读卡器,让系统识别新刷入的分区 在boot分区新建一个文件,空白的即可,文件命名为ssh 注意要小写且不要有任何扩展名
阅读全文
摘要:使用北外镜像配置conda镜像源,提高conda install速度
阅读全文
摘要:关闭用户图形界面,使用tty登录。 sudo systemctl set-default multi-user.target sudo reboot 注意: 关闭图形界面重启后, 需要 Ctrl+Alt+F1 切换到命令行模式,否则重启之后会停在黑屏状态,实际上系统是已经启动完成的,通过ssh也能连
阅读全文
摘要:0. 如何新建用户 Linux下新建用户需要使用useradd和passwd命令 最基础的使用方法如下: useradd <username> # 新建一个名为<username>的用户 passwd <username> <password> # 为该用户设定密码为<password> 1. 新建
阅读全文
摘要:关于rc.local文件 /etc/rc.local是/etc/rc.d/rc.local的软链接,可以用于控制系统boot时执行的脚本命令 其内容一般如下: #!/bin/sh -e # # rc.local # # This script is executed at the end of ea
阅读全文
摘要:使用bcftools的counts插件查看vcf文件的信息
阅读全文
摘要:在shell循环中,对已有的字符串变量循环拼接赋值
阅读全文