Getting public IP address ranges for an organization
Small bash script to automate the work with Qrator Radar public API. The idea is to get autonomous system (AS) number of the organization by it’s name and retrieve all related IPv4 Prefixes. Why you...
View ArticleContainer Tidbits: Adding Capabilities to aContainer
A few weeks ago, I wrote a blog on removing capabilities from a container . But what if you want to add capabilities? While I recommend that people remove capabilities, in certain situations users...
View ArticleThe Emacs dumper dispute
Welcome to LWN.net The following subscription-only content has been made available to you by an LWN subscriber. Thousands of subscribers depend on LWN for the best news from the linux and free software...
View ArticleCanonical offers direct Docker support to Ubuntu users
Enterprise Ubuntu users running Docker in production now have a new source for Docker support: from Canonical. Earlier today, Canonical and Docker announced joint support for the commercial edition of...
View Articledebian lts report 2016.11
Debian LTS report for November 2016 Noevember 2016 was my third month as a Debian LTS team member. I was allocated 11 hours and had 1,75 hours left from October. This makes a total of 12,75 hours. In...
View ArticleJoe Belfiore Returns To Microsoft, Will Drive Windows 10 Consumer Shell...
It was many moons ago that Joe Belfiore left Microsoft to take some time off and travel the globe. The day afterBelfiore left, the questions started popping up about if he would return and when he did,...
View ArticleWhat Is the lost+found Folder on Linux and macOS?
The lost+found folder is a part of linux, macOS, and otherUNIX-like operating systems. Each file system―that is, each partition―has its own lost+found directory.You’ll find recovered bits of corrupted...
View ArticleUbuntu-Based Trisquel GNU/Linux 8.0 "Flidas" Enters Development with MATE 1. ...
The development team behind Trisquel GNU/linux, a 100% libre distribution based on the Ubuntu Linux operating system, announced the availability of the first Alpha images for the upcoming Trisquel...
View ArticleLifting quality of a shell script
Introduction In release cycle of our team at work, we need to perform so-called system tests. In order to do that, we need to log into Artifactory, search for the latest release package, check if it’s...
View ArticleJoe Belfiore is reportedly running the consumer-focused Windows Shell at...
We recently r eported that Joe Belfiore was back at Microsoft after a 1 year holiday with his family. Joe Belfiore previously led the“PC-Tablet-Phone” team for the Operating Systems group at...
View ArticleContribute to Polari with this one simple trick!
I’ve been rather quiet recently working on new features for Builder. But we managed to just release Builder 3.22.3 which is full of bug fixes and a really new important feature. You can now...
View ArticleFinding a valid build order for KDE repositories
KDE has been lately been growing quite a bit in repositories, and it's not always easy to tell what needs to be build before, do i build first kdepim-apps-libs or pimcommon? A few days ago i was...
View Article使用shell脚本实现ping对应IP所对应的人名(推荐)
#!/bin/basha=(张三 李四 王五 赵六)for i in {0..3}doif ping -c 1 192.168.1. $((${i}+1)) >dev/null 2>&1;thenecho $((${i}+1))"号"${a[${i}]}"在线"elseecho $((${i}+1))"号"${a[${i}]}"离线"fidone这串shell代码实现了ping...
View ArticleLinux复制文件命令cp之使用解说
linux下的命令有很多,其中有一个命令,我一直使用都存在问题,那就是cp命令了。每次使用该命令,都提示cp:omitting directiory错误。最后百度了一下才明白,原来cp命令复制目录的时候需要带命令参数的。难怪我一使用cp命令就报错。下面说一下该命令的一些使用技巧:1. cp命令语法cp [options] <source file or directory>...
View ArticleLinux 深入理解进程权限
linux 进程权限分析在linux下,关于文件权限,大部分人接触比较多,也比较熟悉了解.但是对进程权限一般知之甚少。本文总结一下linux系统下进程权限问题和现象。需要强调的是,本文是linux系统下讨论,因为linux和unix有很多不同的地方,并且各个不同的unix系统也有很多不同。先开门见山的列出本文讨论对象:ruid(实际用户id: real...
View Articlelinux shell txt转换成html的实现代码
原理: awk命令,分割格式化的txt(txt文件格式以“|”分割开的)成数组,然后拼接成html格式(html - head - title - body - table)shell源码# !/bin/shfile_input='txt.log'file_output='txt2html.html'td_str=''function create_html_head(){ echo -e...
View Article深入理解Linux中的grep命令
介绍linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹 配的行打印出来。grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。grep [-acinv] [--color=auto] '查找字符串' filename 参数: -a :将binary文件以text文件的方式查找数据...
View Article一步步教你编写可测试的Go语言代码
第一个测试 “Hello Test!”首先,在我们$GOPATH/src目录下创建hello目录,作为本文涉及到的所有示例代码的根目录。然后,新建名为hello.go的文件,定义一个函数hello() ,功能是返回一个由若干单词拼接成句子:package hellofunc hello() string { words := []string{"hello", "func", "in",...
View ArticleLED is my new Hello World - Swift (for Linux) time
It took me some time to write this post...mainly because I'm now learning Rust and also because I just finished my latest demo...whose blog is coming later today -;) This version of my LED Numbers app...
View ArticleZamansky 23: Org Capture (Part 1)
Mike Zamansky has another video up. It’s number 23 in his Using Emacs Series and is part 1 of a sequence videos about Org capture . In this first installment, he covers the mechanics of Org capture:...
View Article