随笔分类 -  linux

摘要:openssh server (推荐. 一般ssh,ftp 都是单独的,但是这个包含2个) 默认ubuntu 已经安装了, ssh client ,ftp client 但是没有安装ssh server, 所以需要安装 我一般用bitVise,其中 包含ssh,可视化的ftp 输入 ip:port 阅读全文
posted @ 2017-03-21 01:04 scott_h 阅读(1976) 评论(0) 推荐(0) 编辑
摘要:要修改的文件 原资源镜像文件 一个个改太麻烦,用脚本方便点 163 ali yun 类似把 mirrors.aliyun.com 改成mirrors.163.com mirrors.utsc.cn 就可以 ============= (我是深圳,所以弄的比较近的,更多的源,大家可以到官网查下) Ub 阅读全文
posted @ 2017-03-10 22:35 scott_h 阅读(2315) 评论(0) 推荐(0) 编辑
摘要:ubuntu18.04 准备回归wayland, 因为手机平板的ubuntu无人使用,开发成本太高。所以弃用Unity8, 重新改用 waylang 的GNOME Stop gdm with Start lightdm with 1. "Mir" Mir is a display server te 阅读全文
posted @ 2017-03-01 05:16 scott_h 阅读(630) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/sdfgh2046/article/details/6308942 如何将ubuntu文件夹中文名改为英文 文章分类:操作系统 ubuntu对中文的支持越来越好,这自然是好事。不过在终端下输入命令的时候,遇到中文文件夹,可不是件好事。多谢谷歌及众多网友,终于 阅读全文
posted @ 2017-02-17 11:22 scott_h 阅读(1627) 评论(0) 推荐(0) 编辑
摘要:vi设置自动缩进:set smartindent vi设置显示行号:set number 或 set nu 在vim中快速复制粘贴多行 复制粘贴板中的数据到vim中: VIM在 insert 模式 , 键盘按 shift + insert 复制vim中的数据到粘贴板中: 使用ctrl+insert复 阅读全文
posted @ 2017-02-17 10:53 scott_h 阅读(187) 评论(0) 推荐(0) 编辑
摘要:Linux下半部处理之软中断 http://www.cnblogs.com/li hao/archive/2012/01/12/2321071.html 《深入理解Linux内核》软中断/tasklet/工作队列 http://www.cnblogs.com/li hao/archive/2012/ 阅读全文
posted @ 2016-10-18 17:08 scott_h 编辑
摘要:"Linux 下多核CPU知识" 1. 在Linux下,如何确认是多核或多CPU: 如果有多个类似以下的项目,则为多核或多CPU: processor : 0 ...... processor : 1 2. Linux下,如何看每个CPU的使用率: 之后按下1. 则显示多个CPU 3. 如何察看某个 阅读全文
posted @ 2015-11-09 14:37 scott_h 阅读(13119) 评论(0) 推荐(0) 编辑
摘要:第16章 非阻塞式IO 各个操作系统的非阻塞IO是不一样的。不可移植。 (试试看下golang) socket 套接字默认是阻塞的。 可能阻塞的socket 分为4类 1.输入操作 read、readv、recv、recvfrom、recvmsg 5个函数 2.输出操作 wri... 阅读全文
posted @ 2015-11-06 00:33 scott_h 编辑
摘要:linux工具,top p golang 用net/http/profiling /proc/meminfo /proc/stats 陈硕的proc comm 详见视频中的代码地址 http://blog.yunnotes.net/index.php/linuxperformacne/... 阅读全文
posted @ 2015-05-14 19:28 scott_h 编辑
摘要:[man page](https://www.kernel.org/doc/man-pages/) [GNU Manuals Online](http://www.gnu.org/manual/) #显示文件大小 ls -l ll ls -lh ll -h du 统计文件大小相加 df 统计数据块使 阅读全文
posted @ 2015-04-07 01:15 scott_h 编辑
摘要:参考官方文档:https://golang.org/doc/install/source(因为被墙)可以看国内地址: http://godoc.golangtc.com/doc/install/sourcehttp://godoc.golangtc.com/doc/code.html还有这2个帖子h... 阅读全文
posted @ 2015-04-07 01:08 scott_h 编辑
摘要:linux mount linux folder sudo mount -t auto /dev/sdb2 ~/800G http://man.linuxde.net/mount 需要注意的是windows 的【管理】【本地用户和组】 如果没有开启【guest】 用户,则linux mount 必须 阅读全文
posted @ 2015-04-06 23:20 scott_h 编辑
摘要:介绍linux/windows OS下动态库与静态库的编译、调用 http://tldp.org/HOWTO/HOWTO-INDEX/programming.html http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html 阅读全文
posted @ 2015-03-30 15:02 scott_h 编辑
摘要:来源地址: http://blog.csdn.net/jernymy/article/details/6547671 第一种适用于为单一用户设置PATH。第二种是为全局设置 PATH。第三种方法适合于暂时修改,重新登录后失效 >## 第一种方法:每个用户的目录都有自己的配置脚本文件.bashrc 可 阅读全文
posted @ 2014-12-03 22:59 scott_h 编辑
摘要:http://ftp.gnu.org/gnu/ 阅读全文
posted @ 2014-08-01 09:55 scott_h 编辑
摘要:ubuntu cross toolsChain 阅读全文
posted @ 2014-06-17 18:33 scott_h 阅读(1503) 评论(0) 推荐(0) 编辑
摘要:各平台安装golang 阅读全文
posted @ 2014-01-08 01:43 scott_h 阅读(4092) 评论(0) 推荐(0) 编辑
摘要:刚装的Ubuntu,发现Broadcom无线网卡没工作,原来手贱,在liveCD 把wireless禁用了, ubuntu所以认为你机器,没有wireless模块,所以就没有安装wireless驱动相关。打开终端输入:sudo apt-get install bcmwl-kernel-sourceb43-fwcutte无线网卡可以用了转自http://blog.csdn.net/zyx6a/article/details/9006435 阅读全文
posted @ 2013-10-27 00:42 scott_h 阅读(277) 评论(0) 推荐(0) 编辑
摘要:#### linux man pagehttps://www.kernel.org/doc/man-pages/http://linux.die.net/man/https://www.linux.com/learn/docs/ldp/624-Man-Page https://wiki.archli... 阅读全文
posted @ 2013-07-05 22:34 scott_h 编辑

点击右上角即可分享
微信分享提示