随笔分类 -  Linux

摘要:I/O 重定向是在终端运行程序时很常用的技巧,但是我对它所知甚少。今天我在 DigitalOcean 上发现了一篇很好的 "tutorial" 。这篇随笔记录一下我的心得体会和发现的一个问题。 1. I/O redirection 是附在命令末尾的一个表达式(expression),严格说来并非命令 阅读全文
posted @ 2017-11-11 11:36 Pat 阅读(683) 评论(0) 推荐(0)
摘要:2017 年 6 月 28 日,Eclipse 社区(the Eclipse Community)发布了 "Eclipse Oxygen" 。本文记录了我在 Ubuntu 16.04 上安装 Eclipse Oxygen 遇到的问题,并给出了解决办法。 请勿从 Eclipse Neon 升级到 Ec 阅读全文
posted @ 2017-08-07 19:16 Pat 阅读(657) 评论(0) 推荐(0)
摘要:GNU find searches the directory tree rooted at each given starting point by evaluating the given expression from left to right, according to the rules 阅读全文
posted @ 2017-07-18 16:16 Pat 阅读(275) 评论(0) 推荐(0)
摘要:去年 (2016) 2月份在ThinkPad E455 上安装了Ubuntu 14.04 LTS (dual boot with Windows 10, upgraded to Ubuntu 16.04 LTS now). 出现了好多问题, 其中比较难以忍受的一个是 不能识别耳机: 耳机插上后仍然放 阅读全文
posted @ 2017-02-03 12:06 Pat 阅读(1445) 评论(0) 推荐(0)
摘要:Most of this note comes from the Beginning the Linux Command Line, Second Edition by Sander van Vugt The only reason why many administrators are using 阅读全文
posted @ 2016-11-06 15:32 Pat 阅读(206) 评论(0) 推荐(0)
摘要:Useful Linux Utilities (This article is under constant construction) 1. ssh 相关文章 "How To Change OpenSSH Port On CentOS 7" 2. semanage 相关文章 "RHEL7.0修改S 阅读全文
posted @ 2016-11-03 13:53 Pat 阅读(257) 评论(0) 推荐(0)
摘要:最近在调试OJ, 忙了4天多, 最后的问题是judge模块不能正常工作. judge 模块就是两个C++源文件, 它的工作是 1. 从数据库获取用户提交的源码 2. 测评 3. 将测评结果写到数据库 测评部分是与数据库无关的, 我遇到的问题是C++和数据库无法建立连接. 这个问题根源于我用的是LAM 阅读全文
posted @ 2016-11-01 23:08 Pat 阅读(190) 评论(0) 推荐(0)
摘要:( This article is under constant construction ) DISCLAIMER: 本文的主要内容来自 "https://gcc.gnu.org/onlinedocs/gcc/" 这篇随笔主要记录有关build C/C++程序的知识. 包括 gcc/g++ 的各个 阅读全文
posted @ 2016-11-01 17:52 Pat 阅读(1335) 评论(0) 推荐(0)
摘要:今天把OJ项目移到了GitHub上, 学了一点Git. Git is responsible for everything GitHub related that happens locally on your computer. 阅读全文
posted @ 2016-10-29 19:10 Pat 阅读(192) 评论(0) 推荐(0)
摘要:持续更新 1. 从前使用 更新时, 发现软件源是 "cn.archive.ubuntu.com" . 最近在system setting 中将软件源改成了 "archive.ubuntu.com" , 发现速度较慢, 却不知道怎么将源改回来. 原来cn.archive.ubuntu.com是阿里巴巴 阅读全文
posted @ 2016-10-28 12:43 Pat 阅读(250) 评论(0) 推荐(0)
摘要:CentOS 是基于 Red Hat (RHEL) 的, 其中并没有包管理工具 apt. 最近需要在装了 CentOS 系统的服务器上安装Sublime Text, 到 "官网" 上看了一下, 对其他 (Debian/Ubuntu以外) Linux发行版提供统一的 "tarball" ) 包, 扩展 阅读全文
posted @ 2016-10-28 00:14 Pat 阅读(437) 评论(0) 推荐(0)
摘要:今年2月份在一台装了Windows的机器上装了Unbuntu 14.04 LTS (双系统, dual boot, 现已升级到 16.04 LTS). 然而开机时要从grub启动 Windows (选择 Windows Boot Manager) 却总是给出错误 . 一直没找到解决办法, 但是后来发 阅读全文
posted @ 2016-09-30 14:16 Pat 阅读(1501) 评论(0) 推荐(0)