Shell运算符详解
分类:linux 时间: 2015年10月30日 Linux Shell提供大量的基本运算操作,包括算术运算符、比较运算符、逻辑运算符、字符串判断运算符和文件测试运算符,通过这些Shell运算符可以用来基本算术计算,逻辑判断。下面php程序员雷雪松就详细的讲解下5种最基础的Shell运算符。 1、算术运算符 + 加法 减法 * 乘法 / 除法 % 取余 = 赋值 a=$b 将把变量b的值赋给 a。...
View ArticleDetux The Multiplatform Linux Sandbox
Detuxis a sandbox developed to do traffic analysis of the linux malwares and capture the IOCs by doing so. QEMU hypervisor is used to emulate Linux (Debian) for various CPU architectures. The...
View ArticleHorn: Exploiting Recursion in the Linux Kernel
[Security] Posted Jun 21, 2016 2:04 UTC (Tue) by jake On the Project Zero blog, Jann Horn describes a bug Horn found that allows user space to overflow the kernel stack using the ecryptfs encrypted...
View Article基于Centos搭建Docker跨主机网络
前言 docker 1.10以上版本的内置overlay网络挺好用的,奈何公司的线上环境必须是centos6.6,内核版本不够,只能基于ovs另搭建一套网络环境,使容器能够跨主机互通。 本文基于的操作环境,centos6.6 因为要操作network namespace,所以要升级下iproute,参见...
View ArticleCentos Python2 升级到Python3
1. 从python官网到获取Python3的包, 切换到目录/usr/local/src #wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tar.xz 2. 使用命令如下命令进行解压缩: 1 xz -d Python-3.5.1.tar.xz2 tar -xf Python-3.5.1.tar.xz 3....
View ArticleCentOS7同时接入两个不同ISP的局域网对外提供服务
CentOS双ISP配置 环境 iproute2 与 route命令 如何配置iproute2 为物理网卡创建单独的路由表 分别为向新创建的路由表添加路由规则(非持久化,重启机器或网络后失效) 通过ip rule制定策略,将路由表与网络数据绑定(非持久化,重启机器或网络后失效) 测试 iproute定义的route 和rule持久化,避免重启机器或网络后失效...
View ArticleHere comes Flatpak, a competitor to Ubuntu’s cross-platform Linux apps
xkcd linux developers are going to have more than one choice for building secure, cross-distribution applications. Ubuntu's "snap" applications recently went cross-platform , having been ported...
View ArticleFedora 24 正式发布
The Fedora Project 正式宣布发布 Fedora 24,你可以在 Fedora 官网 下载。 Fedora 之旅的另一步 The Fedora Project 开始与一段伟大的旅程…重新定义一款适用于普通用户和开发者的操作系统。 这个系统不是一天建成的, Fedora 24 是在这个旅程的一步。但这并不意味着这是一个“临时”的版本释出;这个版本为 Fedora...
View ArticleDevelopment Release: openSUSE 42.2 Alpha 2
Recent Related News and Releases 2016-05-24 Development Release: openSUSE 42.2 Alpha 1 Ludwig Nussel has announced the release of new testing media for theopenSUSE project. The new alpha release,...
View Article通过Visual Studio为Linux编写C++代码
Build 2016大会上Microsoft首次公布的Visual Studio 2015扩展提供了在VS2015中编写C++代码,随后通过linux/UNIX计算机进行编译和执行的能力。这种想法非常简单:使用Visual Studio 2015编写和开发C++代码,然后将代码部署到运行Linux的远程计算机上进行编译和调试。...
View ArticleopenSUSE 42.2 Alpha 2 发布
openSUSE 42.2 Alpha 2 发布了,openSUSE项目是Novell公司资助的社区计划。为在方方面面促进linux的普及应用,该计划提供了对openSUSE这份完整Linux发行 的免费、简便的获取访问。openSUSE项目有三个主要目标:让openSUSE成为任何人都能最容易获得且最广泛使用的Linux发行,利用开源软件...
View ArticleFedora 24正式发布 现已开放下载
经历了四次延期之后,Fedora 24发行版本于今天正式开放下载,同此前相同涵盖常规的Fedora Workstation、Fedora Server、Fedora Cloud、带Xfce, LXDE, KDE, MATE/Compiz, Cinnamon和Sugar桌面的官方Fedora Spins。 完整更新日志: 访问Fedora 24 自然,用户能够上手使用Fedora 24 Labs...
View ArticleUltimate Edition 5.0 Screencast and Screenshots
Welcome to linuxQuestions.org , a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our...
View ArticleThe State Of Wayland For KDE Plasma 5.7
The State Of Wayland For KDE Plasma 5.7 Written by Michael Larabel inKDE on 21 June 2016 at 09:53 PM EDT.Add A Comment There are a lot of Wayland support improvements to find in the upcoming release...
View ArticleThe story of Raspberry Pi and a masterclass with Eben
Eben Upton The Story of Raspberry Pi Eben Upton, founder of the Raspberry Pi Foundation, talks about the Raspberry Pi, how it came to be and the ups and downs of bringing his 25 computer to market....
View ArticleLinux Australia adopts wait-and-see approach on Appelbaum
linux Australia has predictably chosen to take the safe option in the case of well-known privacy advocate Jacob Appelbaum who has been chucked out of various free software projects and associations...
View Article在Emacs中编译.org
在Emacs中编译 许多Emacs新手常常因为想定位编译出错的位置而询问如何获取buffer中行号. 然而这并不是定位编译出错位置的正确方法. Emacs内置了一个compilation mode,该mode定义在compile.el中. It uses a very generic text-based approach. 这是一个为Emacs新手准备的指南....
View Article[译]希望大家早点知道的Vim技巧
原文: Things About Vim I Wish I Knew Earlier 译者:杰微刊兼职翻译刘晓冬 从2009年开始Vim一直是我主要(并且是唯一的)文本编辑器。这几年,我发现了许多希望当初能早点知道的Vim技巧,因为他们显著改善了我的文本编辑效率。在这片博文中,我想和你们分享最重要的几点。...
View Article作为2016年的开发者,你需要学习Emacs(或者Vi).org
作为2016年的开发者,你需要学习Emacs(或者Vi) 如何提升你写代码的效率并且强迫你仔细思考. 本文并不是关于Emacs与Vi论战的文章. 我主要是想解释为什么(深入)学习一个低层的文本编辑器对任何软件工程师来说都应该是最重要的事情. 我个人喜欢Emacs因为我觉得它常用的快捷键(common shortcuts)比较容易记忆....
View ArticleWget漏洞(CVE-2016-4971)利用方式解析
漏洞描述 近日, CVE-2016-4971漏洞被正式披露,该漏洞影响全部旧版本wget, 黑客可以利用此漏洞对程序员和运维工程师进行钓鱼,从而获得其主机权限或者植入rootkit。 漏洞详情 wget 作为*nix 系统常用下载工具,支持http、https、ftp 等多种协议,当使用wget 下载文件时,若初始下载http服务提供的下载资源, 如果服务器将下载资源重定向到ftp服务时,wget...
View Article