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

Linux下让进程在后台可靠运行的几种方法

想让进程在断开连接后依然保持运行?如果该进程已经开始运行了该如何补救? 如果有大量这类需求如何简化操作? 我们经常会碰到这样的问题,用 telnet/ ssh 登录了远程的 linux 服务器,运行了一些耗时较长的任务, 结果却由于网络的不稳定导致任务中途失败。如何让命令提交后不受本地关闭终端窗口、网络断开连接的干扰呢? 下面举了一些例子, 您可以针对不同的场景选择不同的方式来处理这个问题。...

View Article


Image may be NSFW.
Clik here to view.

总结四条对学习Linux系统有帮助的方法

网络是一个很神奇的东西,现代人的生活离不开网络,网络已深入人们的工作,生活,娱乐等方方面面。网络之所以无处不在,是因为它提供了诸多的网络服务,所以网络服务是网络的灵魂。 互联网上的各种网络服务是架构在各种各样的服务器上的。服务器( Server )是提供网络服务的物理载体,是一种计算机,只不过它是一种功能更为强大的计算机,特别是在网络应用服务方面。在服务器中安装有操作系统,就如普通 PC 中安装有...

View Article


Image may be NSFW.
Clik here to view.

PowerShell Useful Windows Bash commands to remember

This is for linux Newbies when working with both Linux Ubuntu 16.04.01 and windows Bash (which is based on Ubuntu 16.04.1). Please, get use the execute the following commands at least weekly as updates...

View Article

LINUX 常用的50个命令及例子11~20

linux 常用的50个命令及例子 11. 文件操作:xargs 把所有的jpg拷贝到另外的目录下 # ls *.jpg | xargs -n1 -i cp {} /external-hard-drive/directory 打包所有的jgp. # find / -name *.jpg -type f -print | xargs tar -cvzf images.tar.gz...

View Article

Here's Ubuntu Budgie 16.10 Linux Operating System Running on an Onda Tablet PC

According to a tweet posted by user Beto Sanchez, it would appear that the Ubuntu Budgie 16.10 (Yakkety Yak) operating system is running on an Onda Tablet PC device, which usually ships with either...

View Article


Fedora wiki and trac spam and first DWF

As some people might have noticed, Fedora has had some issues with spam on our Wiki and Trac instances . This spam attack is a targeted attack, since they had to create a lot of new users, and not...

View Article

Image may be NSFW.
Clik here to view.

你真知道 “Too many open files” ?

江湖上的人都碰到过 Too many open files 的错误(无论你是多线程,网络socket,还是别的什么幺蛾子,这个错误很常见)。笔者一个朋友刚好也碰到过,经过一番搜索最终解决了问题。但是始终没有搞清楚――“到底问题出在哪里?”。我当然也讲不清楚(否则就不会有这篇文章咯)网上也找不到相关资料。作为一个 有良知的自媒体公众账号...

View Article

grep正则表达式及sort、diff等相关命令

linux文本处理三剑客: grep:文本过滤工具(模式:patter) sed:stream editor 流编辑器,文本编辑工具 awk:linux上的实现gawk,文本报告生成器(格式化文本) * 正则表达式:Regular Expression,REGEXP,由一类特殊字符及文本字符所编写的模式,其中有些字符其不表达字面意义,而是用于表示控制或者通配的功能;* 分类:...

View Article


direnv ― Unclutter your .profile

Many of my projects need specific environment variables to run. Usually I have a export.sh script that I source when I cd into the directory. There’s a better way, which I highly recommend: direnv ....

View Article


8 fun Raspberry Pi projects to try

For many of us 2016 flew by, and we didn't complete all our New Year's resolutions or mark everything off our "2016 To Do" lists. I didn't have nearly enough time to play with the Raspberry Pi this...

View Article

Image may be NSFW.
Clik here to view.

Hack the Fortress VM (CTF Challenge)

Previously you have breach many vulnhub CTF, today we will try to breach FORTRESS VULNHUB CTF. Download it from here . Start Kali linux and follow these steps. Open terminal in Kali Linux and run this...

View Article

Image may be NSFW.
Clik here to view.

QA & Automation 101 Retrospective

At the beginning of this year I've hosted the first QA related course at HackBulgaria . This is a long overdue post about how the course went, what worked well and what didn't. Brace yourself because...

View Article

Linux bash 特性、相关变量以及编程

linux bash 特性、相关变量以及编程 bash 特性之:命令hash 缓存此前执行过的命令(都是外部命令,不记录内嵌命令),加速命令的执行 hash -d 清空指定命令记录 -r 直接清空hash表 bash 特性之一: 变量 程序=指令+数据 指令是有文件提供 数据是由:IO设备,文件,变量,管道 程序:算法+数据结构 变量类型:存储格式、表示数据范围、参与的运算 编程语言...

View Article


My SQL Server journey with Linux

linux, where did it all begin About a couple of years ago there was an April fools joke on SQLServerCentral.com about SQL Server coming to Linux. Now we know this isn’t a joke and SQL Server for Linux...

View Article

Image may be NSFW.
Clik here to view.

面向多媒体中心的OpenELEC 7.0稳定Linux发行版本发布

面向多媒体中心的OpenELEC 7.0稳定linux发行版本发布 2小时前来源:cnBeta 摘要:以windows...

View Article


Image may be NSFW.
Clik here to view.

你知道Linux的创始人Linus Torvalds吗?这7项技术他非常讨厌!

你知道linux的创始人Linus Torvalds吗?这7项技术他非常讨厌! 一点号w3cschool2小时前 php?url=0FLYvcjI51" alt="你知道Linux的创始人Linus Torvalds吗?这7项技术他非常讨厌!" />作为当今世界上很伟大的一名程序员,Linux的创始人Linus...

View Article

解析企业Shell面试题

一个同学问我一个问题,说有以下文件内容,要求输出为特定的格式。这里就献丑给出一个处理的方法吧,由于时间关系可能我的答案并不是最好的,但是我尽量将我的答案讲解明白,让你理解处理的方法。如果您有简单明了的处理方法请不啬赐教! 题目 文件内容如下: 2016-12-08 00:09 血战钢锯岭 2016-12-08 03:01 你的名字 2016-12-08 04:00 长城 2016-12-08...

View Article


Image may be NSFW.
Clik here to view.

vi(m) or emacs? Neither, just use nano!

There is quite a funny, almost religious, debate within the linux community between the two venerable command line text editors vi or Vim and Emacs . Sure they have loads of features and plugins but...

View Article

How Facebook Uses Linux and Btrfs: An Interview with Chris Mason

Chris Mason is the principal author of Btrfs, the open source file system that’s seen as the default file system for SUSE Enterprise linux. Mason started working on Btrfs at Oracle and then moved to...

View Article

Image may be NSFW.
Clik here to view.

Linux文件的三个时间参数atime,mtime,ctime。

在windows系统下查看过文件属性的朋友可能都知道,每个文件都有三个时间参数,分别为:创建时间、修改时间、访问时间。如图: 同样的,linux文件系统下对应每个文件也有三个时间参数,但与windows下略有不同,三个时间分别为: Access(atime):访问时间,指文件最后一次被访问的时间; Modify(mtime):修改时间,指文件内容最后一次被修改的时间。这里的文件内容指文件内的数据;...

View Article
Browsing all 11063 articles
Browse latest View live