随笔分类 -  linux

linux使用笔记
摘要:开头几行:head 结尾几行:tail 中间几行:sed 1. 如果你只想看文件的前100行,可以使用head命令,如 head -100 filename 2. 如果你想查看文件的后100行,可以使用tail命令,如: tail -100 filename 或 tail -n 100 filena 阅读全文
posted @ 2018-06-19 10:42 Apollo_zhanghongbo 阅读(1456) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/gatieme/article/details/51673229 scp remote_user_name@remote_ip:remote_file_path local_path 阅读全文
posted @ 2018-05-18 19:22 Apollo_zhanghongbo 阅读(1027) 评论(0) 推荐(0)
摘要:参考:https://zhuanlan.zhihu.com/p/22678445 阅读全文
posted @ 2018-03-26 15:16 Apollo_zhanghongbo 阅读(1275) 评论(0) 推荐(0)
摘要:参考: https://blog.csdn.net/xue_wenyuan/article/details/51545845 https://stackoverflow.com/questions/35771285/using-tensorflow-through-jupyter-python-3 阅读全文
posted @ 2018-03-25 10:51 Apollo_zhanghongbo 阅读(1808) 评论(0) 推荐(0)
摘要:参考: https://yq.aliyun.com/articles/363321 https://www.tensorflow.org/install/install_linux#InstallingAnaconda 亲测有效! 阅读全文
posted @ 2018-03-25 09:59 Apollo_zhanghongbo 阅读(175) 评论(0) 推荐(0)
摘要:linux /etc/profile,bashrc等文件的加载流程 以及 环境变量的设置 转载:https://blog.csdn.net/qq_29753285/article/details/69367215 环境变量一般在profile文件中设置, 如果只想本次登陆shell有效,直接在she 阅读全文
posted @ 2018-03-24 22:16 Apollo_zhanghongbo 阅读(177) 评论(0) 推荐(0)
摘要:Shell脚本笔记 1.最简单的Shell脚本 Shell脚本是以行为单位的,脚本中所包含的成分主要有:注释(#)、命令、Shell变量和结构控制语句。 用户可以使用任何文本编辑器编辑Shell脚本文件,如vi、gedit等。 脚本的调用的两种方式: sh script-file 或 ./scrip 阅读全文
posted @ 2018-01-08 15:57 Apollo_zhanghongbo 阅读(575) 评论(0) 推荐(0)
摘要:Shell notes 鸟哥的私房菜 第13章 l 编写一个shell脚本,需要用”#!/bin/bash”开头: #!/bin/bash # Program: # “这里输入此脚本的功能描述” # History: # “输入日期” “输入作者” “输入版本” PATH=/bin:/sbin:/u 阅读全文
posted @ 2017-12-26 14:27 Apollo_zhanghongbo 阅读(431) 评论(0) 推荐(0)
摘要:安装Ubuntu的时候,设置的默认语言是English,导致中文输入法不好配置。 打开终端 输入sudo apt-get update 输入sudo apt-get upgrade 下载搜狗输入法linux版deb安装包 双击安装 ubuntu右上角设置图标,点击系统设置,Text Entry 点击 阅读全文
posted @ 2017-10-11 14:26 Apollo_zhanghongbo 阅读(291) 评论(0) 推荐(0)