linux&shell
许我少年
这个作者很懒,什么都没留下…
展开
-
win11 or win10 安装Ubuntu 22.04.3 LTS 子系统
*原创 2023-12-28 16:27:00 · 784 阅读 · 0 评论 -
基于Ubuntu子系统配置Snakemake及搭建简易分析流程
基于Ubuntu子系统配置Snakemake及搭建简易分析流程原创 2022-07-26 17:24:36 · 258 阅读 · 1 评论 -
Sed and Awk 101 Hacks --2 AWK学习
Sed and Awk 101 Hacks <2> AWK学习Chr8、awk语法和脚本命令awk 命令语法awk -Fs '/pattern/ {action}' input-file (or)awk -Fs '{action}' intput-file$ awk -F: '/mail/ {print $1}' /etc/passwd mail awk -Fs -f myscript.awk input-fileawk 程序结构(BEGIN,body,END原创 2022-05-06 11:54:46 · 219 阅读 · 0 评论 -
Sed and Awk 101 Hacks --1-sed 命令学习
Sed and Awk 101 Hacks(Chr1: sed syntax and basic commands)1.sed command syntax$ cat >employee.txt101,John Doe,CEO102,Jason Smith,IT Manager103,Raj Reddy,Sysadmin104,Anand Ram,Developer105,Jane Miller,Sales Manager2.print (P)#仅打印第二行$ sed -n '原创 2022-05-05 15:33:55 · 733 阅读 · 0 评论 -
Linux&Ubuntu安装zsh环境
Ubuntu子系统都是一样的安装本教程只配置简易的zsh:oh-my-zshsh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"主题方面:个人比较喜欢:ys更多主题参考原创 2021-12-23 15:48:53 · 1064 阅读 · 0 评论 -
关于ubuntu子系统ip和远程登录问题及移动硬盘的挂载
1.移动硬盘的挂载## 移动硬盘的挂载sudo mkdir /mnt/Hsudo mount -t drvfs H:\ /mnt/H## 卸载sudo umount /mnt/e## 必须卸载,这样才能正常弹出,否则会提示一直占用。## 下次用的话还需重新挂载2.远程登录问题如果以下命令没输出结果,则需要安装ssh服务ps -e | grep ssh安装命令sudo apt-get install openssh-server 然后再启动服务/etc/init.d/ssh原创 2021-04-21 11:02:19 · 311 阅读 · 1 评论