随笔分类 -  linux环境问题

摘要:https://www.modb.pro/db/112970 阅读全文
posted @ 2022-09-27 15:02 Marklong 阅读(44) 评论(0) 推荐(0)
摘要:echo "" | awk -F, '{print > ("some_prefix_" $2"_some_suffix_date")}' 阅读全文
posted @ 2022-09-14 19:00 Marklong 阅读(28) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/lsr-mark/p/15672002.html 阅读全文
posted @ 2022-09-13 17:11 Marklong 阅读(22) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/daodaotest/p/13277208.html 阅读全文
posted @ 2022-08-16 17:02 Marklong 阅读(21) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/linuxprobe/p/16329015.html 阅读全文
posted @ 2022-08-04 14:24 Marklong 阅读(15) 评论(0) 推荐(0)
摘要:输出逗号分割的第一列的值 echo "6 1:2 3:4,5" | awk -F ',' '{print $1}' 把第一列label自减1 echo "1 1:2 3:4,5" | awk -F ' ' '{$1--; print $0}' 把label转成01分布的值(以label的值为1作为分 阅读全文
posted @ 2022-08-03 18:04 Marklong 阅读(42) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/chengmo/archive/2010/10/11/1847772.html 阅读全文
posted @ 2022-07-25 19:37 Marklong 阅读(19) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/Guiled7/article/details/122177931 举例 awk -F "," '{print $2}' 6_oot.csv > test.txt 阅读全文
posted @ 2022-07-25 15:51 Marklong 阅读(166) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_36625806/article/details/111589620 阅读全文
posted @ 2022-07-22 09:51 Marklong 阅读(51) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/58073103 https://blog.csdn.net/xdg15294969271/article/details/121491001 阅读全文
posted @ 2022-07-21 17:09 Marklong 阅读(283) 评论(0) 推荐(0)
摘要:tmux 或者 nohup nohup记得在最后加 >.log & 不然不会真的在后台运行 阅读全文
posted @ 2022-07-19 19:42 Marklong 阅读(34) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/getcomputerstyle/article/details/101565260 阅读全文
posted @ 2022-07-17 08:48 Marklong 阅读(100) 评论(0) 推荐(0)
摘要:1.安装 sudo apt install tmux 2.常用命令 tmux 新建窗口 tmux a 恢复窗口 在tmux窗口中 “control”+B激活tmux命令模式,之后“D”是退出窗口,“S”是切换窗口 在tmux窗口中 ,“control”+B激活tmux命令模式,之后输入“:set - 阅读全文
posted @ 2022-07-08 17:15 Marklong 阅读(92) 评论(0) 推荐(0)
摘要:1.ssh-copy-id crypto@43.134.89.170 2.输入密码即可 阅读全文
posted @ 2022-07-08 16:52 Marklong 阅读(39) 评论(0) 推荐(0)
摘要:1.sudo apt install git, zsh 2. $ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 3.ssh-keygen -t rsa 4.git config 阅读全文
posted @ 2022-07-08 16:42 Marklong 阅读(178) 评论(0) 推荐(0)
摘要:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ 阅读全文
posted @ 2022-07-07 15:36 Marklong 阅读(136) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_44749184/article/details/124187881 阅读全文
posted @ 2022-07-07 15:18 Marklong 阅读(21) 评论(0) 推荐(0)
摘要:在linux下一般用scp这个命令来通过ssh传输文件。 1、从服务器上下载文件 scp username@servername:/path/filename /var/www/local_dir(本地目录) 例如scp root@192.168.0.101:/var/www/test.txt #把 阅读全文
posted @ 2021-07-08 22:30 Marklong 阅读(2412) 评论(0) 推荐(0)
摘要:原链接:https://www.cnblogs.com/fanglijiao/p/11986259.html 安装特定的源存档文件。 pip install ./downloads/SomeProject-1.0.4.tar.gz 从包含档案的本地目录安装(不要检查PyPI) pip install 阅读全文
posted @ 2021-07-08 22:28 Marklong 阅读(1575) 评论(0) 推荐(0)
摘要:参考链接:https://www.pianshen.com/article/27951008925/https://www.pianshen.com/article/27951008925/ 阅读全文
posted @ 2021-04-30 11:29 Marklong 阅读(377) 评论(0) 推荐(0)