Quantcast
Channel: CodeSection,代码区,Linux操作系统:Ubuntu_Centos_Debian - CodeSec
Browsing all 11063 articles
Browse latest View live

Snapd 2.20 Snappy Daemon Brings Support for Ubuntu 14.04 LTS, Many Other Goodies

Canonical's Michael Vogt happily announced the release of the Snapd 2.20 stable build of the Snappy daemon used on Ubuntu linux operating systems for providing out-of-the-box support for installing...

View Article


week8

1、请描述网桥、集线器、二层交换机、三层交换机、路由器的功能、使用场景与区别。 网桥: 连接不同子网,使其透明通信,它们工作在链路层。它们处理的是链路层数据,一般来说就是以太 网帧格式的 数据,缺点是无法避免“广播风暴”,交换机就是网桥的集合。 根据MAC地址来转发帧,本地通信只限本网段内,相当于中继器,线路比较长保证信号不变形的传输 工作在物理层,相当于一个物理接口集线器:...

View Article


Image may be NSFW.
Clik here to view.

Rather than waiting for a NES Classic, you could just make one yourself

The NES Classic is impossible to find in retail stores these days, probably because the $60 box of nostalgia is so much fun. But inside the retro shell, the NES Classic is far from a gamechanging piece...

View Article

Image may be NSFW.
Clik here to view.

Linux 命令手册 - man

linux 命令手册是一本每日更新一个命令的新手必备手册,今天介绍的命令是 man 命令,这个命令是 Linux 下的帮助命令,通过这个命令可以快速查询 Linux 中的命令帮助、配置文件帮助和编程帮助等信息,并且格式化显示。 使用语法 $ man [命令参数] 参数说明 -a:显示所有匹配项 -d:显示 man 查照手册文件时搜索路径信息,不显示手册页内容 -f:指定内容时使用分页程序...

View Article

SparkyLinux 4.5.2 发布,Linux 发行版

Sparkylinux 4.5.2 发布了。SparkyLinux 是轻量级的、快速的、简单的 Linux 发行,它被设计为既适合老旧的也适合新式的计算机,并以定制的 Enlightenment 和 LXDE 桌面为特色。它构建于 Debian GNU/Linux 的测试分支之上。 新的图像提供了Virtualbox相关的错误修复,它已经通过Debian测试repos更新解决,主要更新内容:...

View Article


Difference Between Linux And BSD | Open Source Operating Systems

Short Bytes:linux and BSD are two open source operating system families inspired by the 20th-century operating system Unix. Several things set the two apart like hardware support, development...

View Article

The right way to run systemd in a non-privileged container

Introduction 容器是否需要运行专门的init进程,在社区是一个颇有争议的话题。Docker推崇的哲学是一个进程一个容器(One process in one container),所以不需要init。但这是一种理想化的想法,而在实际使用中,我们经常把容器当做 light VM 来使用,或者在容器运行多个进程。这时,在容器中运行一个init进程是非常有必要的1, 2 。...

View Article

第六章 Shell标准输入、输出和错误

文件描述符(fd):文件描述符是一个非负整数,在打开现存文件或新建文件时,内核会返回一个文件描述符,读写文件也需要使用文件描述符来访问文件。 内核为每个进程维护该进程打开的文件记录表。文件描述符只适应Unix、linux操作系统。 6.1 标准输入、输出和错误 文件描述符 描述 映射关系 0 标准输入,键盘 /dev/stdin -> /proc/self/fd/0 1 标准输出,屏幕...

View Article


第七章 Shell正则表达式

正则表达式在每种语言中都会有,目的就是匹配符合你预期要求的字符串。 7.1 Shell正则表达式 基础正则表达式:BRE(basic regular express) 扩展正则表达式:ERE(extend regular express),扩展的表达式有+、?、|和() 符号 描述 示例 . 匹配除换行符(\n)之外的任意单个字符 匹配123: echo -e "123\n456" |grep -E...

View Article


Image may be NSFW.
Clik here to view.

N25 week 3 blog

本周的blog开始使用了代码语言格式,我原本以为自然的才是最好的, orginal的才是最美的, 但是我错了。。。 我发现同学们都在各种markdown,各种排版。我说过我早已过了care这些的年纪,但是我不能脱离群体单独存在,所以我底下了傲娇的头。 本周开始blog标题改为英文,逼格满满,麦满分~ 下面开始第$wk_num周的作业 [root@dhcp-10-129-6-166 ~]#...

View Article

Image may be NSFW.
Clik here to view.

'Upset' Linus Torvalds gets sweary and gets results

Linus Torvalds has unleashed a little ripe language on the linux Kernel Mailing List, and quickly got results for having done so. “This piece-of-shit branch has obviously never been even...

View Article

Image may be NSFW.
Clik here to view.

N25第三周作业(用户组,和文本管理)

列出当前系统 上所有已经登录用户的用户名,注意:同一个用户登录多次,则只显示一次即可. 列出最后登录到当前系统的用户相关信息. 命令who查看所有用户 , tail查看后几行 取出当前系统上被用户当作其默认shell的最多那个shell. 命令cut 分割 , -d 指定分隔符,-f指定字段 uniq 显示或忽略重复行信息 -c:显示并统计重复行的次数 -d:仅显示重复过的行...

View Article

Image may be NSFW.
Clik here to view.

You Can Make Your Own NES Classic With Raspberry Pi and RetroPie

Credit: Andrew Cunningham Stay on target The Raspberry Pi Is Great At Digitizing Your Old-Timey Videos Make Your Raspberry Pi More Festive By Turning It Into A Christmas Tree It’s no secret that the...

View Article


Image may be NSFW.
Clik here to view.

Raspberry Pi 3 Raspbian Jessie with WiFi, SSH, Headless Setup with No...

Raspberry Pi 3 Truly Headless Setup A quick guide to getting your Raspberry Pi 3 running in headless mode with SSH and WiFi without a Keyboard, HDMI or Ethernet Motivation: I just purchased the...

View Article

马哥教育网络班25期-第3周作业

1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,则只显示一次即可。 [root@localhost ~]# whoroot tty1 2016-12-12 04:15root pts/0 2016-12-12 11:10 (10.211.55.2)root pts/1 2016-12-12 11:12 (10.211.55.2)zgx pts/2 2016-12-12...

View Article


Image may be NSFW.
Clik here to view.

centos 6 配置bind

BIND BIND ( B erkeley I nternet N ame D aemon)是现今 互联网 上最常使用的 DNS 服务器软件,使用BIND作为服务器软件的DNS服务器约占所有DNS服务器的九成 [ 。BIND现在由 互联网系统协会 (Internet Systems Consortium)负责开发与维护。 DNS是什么 DNS(Domain Name...

View Article

Image may be NSFW.
Clik here to view.

5款可随时用于数据中心的Linux发行版

如果你在物色一款准备添加到数据中心的linux发行版,本文介绍的这五款发行版不容忽视。 Linux已成为数据中心领域的赢家。大数据、云计算、虚拟服务器……如果你用过这任何一种技术,那么很可能接触过Linux。 在诸多发行版当中,你会发现Linux在企业界很广泛。你可能觉得,Red Hat几乎取得了主导地位,成为数据中心的宠儿...

View Article


Image may be NSFW.
Clik here to view.

The leap second is coming. Are you prepared?

Another year is almost in the books. Love it, or hate it, 2016 has been an interesting year. The Chicago Cubs won their first World Series in 108 years, Britain voted to leave the EU, a real estate...

View Article

Image may be NSFW.
Clik here to view.

JavaScript忍者秘籍PDF+源码

  《javascript忍者秘籍》一书内容极具深度,技术含量高,作者是jQuery JavaScript库的创造者,在JS领域享有盛誉。...

View Article

Image may be NSFW.
Clik here to view.

Smart Projector With Built-in Raspberry Pi Zero

You’ve heard of smartphones but have you heard of smart projectors? They’ve actually been around for a few years and are sort of like a TV set top box and projector combined, leaving no need for a TV....

View Article
Browsing all 11063 articles
Browse latest View live