on my research list: autossh
Having mainly used ssh as a means to connect to a shell on remote machines and occasionally a manual port forward. I never noticed autossh where you can automate the ssh logon process to keep permanent...
View Articletcpdump 抓包使用小结
tcpdump 是一个很常用的网络包分析工具,可以用来显示通过网络传输到本系统的 TCP/IP 以及其他网络的数据包。tcpdump 使用 libpcap 库来抓取网络报,这个库在几乎在所有的 linux/Unix 中都有。在 windows 中我们通常会使用 Wireshark 进行图形化操作相当便捷,然而在 Linux 环境中如何巧妙应用 tcpdump...
View Article看示例学 awk
本文详细介绍了awk语法结构、关键字、运算符、内置变量、数组、正则表达式元字符、内置函数、算术函数、条件语句和循环等方面的内容,并 通过丰富的示例来帮助大家熟悉使用awk。 上篇文章回顾: linux IPsec离奇事件 介绍 awk是一个强大的文本分析工具。 awk其名称得自于它的创始人 Alfred Aho 、Peter Weinberger 和 Brian Kernighan...
View Articlelinux中shell if 判断总结
UNIX Shell 里面比较字符写法 -eq 等于; -ne 不等于; -gt 大于; -lt 小于 ; -le 小于等于; -ge 大于等于; -z 空串; -n 非空串; = 两个字符相等; != 两个字符不等 无论什么编程语言都离不开条件判断。SHELL也不例外。 大体的格式如下: if list thendo something hereelif list thendo another...
View ArticleWhy do we need to write an own copy program when we can use the copy shell...
I want to copy huge files (~ 10 GB) in my C/C++ program and two options are on hand: 1) Write my own copy function (large buffer might be used), and 2) Call to system copy command (copy on windows, cp...
View ArticleLinux操作系统有什么吸引力,在程序员中这么受欢迎!
在过去的几十年里,操作系统已经取得了很大的进步。曾经由微软windows或苹果MacOS主导的操作系统,如今已不再是常态。千禧年之后,随着人们对计算环境的探索,各种操作系统开始发挥作用。linux是引起用户注意的一个特殊的操作系统系列。虽然早在1991年就引入了它,但随着时间的推移,由于其分散的发展方式以及来自软件开发人员社区的坚定支持,它越来越受欢迎。...
View Articleubuntu apt-get 安装 golang 版本过低问题
apt-get install golang-go 这样安装版本可能过低。 go version 查看版本为 1.6.2 。 apt-get 卸载此版本重新安装 重新安装 去官网查看最新版链接 https://studygolang.com/dl 比如我要下的是 https://studygolang.com/dl/golang/go1.11.linux-amd64.tar.gz 下载 wget...
View ArticleTLP An Advanced Power Management Tool That Improve Battery Life On Linux Lapt...
Laptop battery is highly optimized for windows OS, that i had realized when i was using Windows OS in my laptop but it’s not same for linux. Over the years Linux has improved a lot for battery...
View ArticleHow to Build a Netboot Server, Part 2
The article How to Build a Netboot Server, Part 1 showed you how to create a netboot image with a “liveuser” account whose home directory lives in volatile memory. Most users probably want to preserve...
View ArticleLinux内核设计与实现 原书第3版中文版pdf
下载地址: 网盘下载 内容简介 《linux内核设计与实现(原书第3版)》基于Linux 2.6.34内核详细介绍了 Linux内核 系统,覆盖了从核心内核系统的应用到内核设计与实现等各方面的内容。《Linux内核设计与实现(原书第3版)》主要内容包括: 进程管理 、 进程调度 、时间管理和 定时器 、 系统调用 接口、 内存寻址 、 内存管理 和页缓存、 VFS...
View ArticleTop IBM Power Systems myths: Migrating to Power from x86 is costly, painful...
“Migrating your Oracle databases to IBM Power Systems is dangerous, expensive and very high risk.” That advice came from a well-known consulting company to a client planning to migrate its...
View ArticleRemove duplicate files project is ready
I am glad to inform you all that the remove duplicate file project written with python has finally completed and now it will be uploaded to github for you all to enjoy. This is a free software and it...
View ArticleopenSUSE Leap 15 is here!
openSUSE Leap 15 is here! ( download the iso ) openSUSE has always been my favorite linux distribution I’ve written extensively about the advantages that come from using zypper , the package manager...
View Article使用 tunasync 搭建开源镜像站
公司的企业私有云平台建立之后,为了便于云主机操作系统与软件快速更新,需要搭建企业内网的开源镜像站。调研了国内各大开源镜像站点的技术之后,最终决定使用清华大学开源软件镜像站开发的镜像管理器 tunasync 来构建云平台的软件镜像服务,毕竟使用成熟的镜像管理器比从头造轮子还是方便了许多,镜像站不是云的核心服务也不需要投入太多人力去做开发。 本文介绍了从0开始搭建一个内网开源镜像站并为用户提供 web...
View ArticleOrange PI zero
A new generation of mini pc, is the slogan of the of the manufacturer of the Orange PI zero board. Indeed, its only the half of the size of a normal Raspberry PI board and the half of the weight. Solid...
View ArticlePatch into The Matrix at the Linux command line
Image credits : Jason Baker x Get the newsletter Join the 85,000 open source advocates who receive our giveaway alerts and article roundups. The linux Terminal Top 7 terminal emulators for Linux 10...
View Articlevim8 配置NERD tree树形目录插件
vim8配置树目录网上有很多教程,我这边记录一下,备忘: 1.下载NERD tree 下载地址是: https://www.vim.org/scripts/s... wget https://www.vim.org/scripts/download_script.php?src_id=23731 这个链接有可能会变化。。 我这里下载的是5.0.0的 加压配置 cd ~ ll .vim...
View ArticleCalamares seeking translators
, the linux system installer for boutique distro’s, is translated into 50 or so languages. It’s not a KDE project, but uses a bunch of KDE technology like the KDE Frameworks and KPMCore. It doesn’t...
View ArticleLinux I/O Schedulers
The linux kernel I/O schedulers attempt to balance the need to get the best possible I/O performance while also trying to ensure the I/O requests are "fairly" shared among the I/O consumers. There are...
View ArticleIRS Not Yet Ready to Move to Linux Due to Its Own Errors
The migration to linux embraced by the Internal Revenue Service (IRS) has hit major roadblocks, many caused by what an audit describes as poor IT governance. According to a plan announced in 2014, the...
View Article