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

Image may be NSFW.
Clik here to view.

linux中粘滞位简单理解

linux下 每一个文件和目录都有自己的访问权限,访问权限确定了用户能否访问文件或者目录和怎样进行访问。最为我们熟知的一个文件或目录可能拥有三种权限,分别是读、写、和执行操作,在这里不做详细说明。我们创建一个文件后系统会默认地赋予所有者读和写权限。当然我们也可以自己修改它,添加自己需要的权限。 特殊权限:...

View Article


Happy leap second (or mostly happy) and happy new year for 2017

Happy new year, and from a technology perspective, also happy leap second. As always, when there’s a leap second, people get a chance to debug their timekeeping code. I guess if they happen frequently...

View Article


SELinux and Samba on Fedora 25 Server

After setting up a home server running Fedora 25, we wanted to use it's large amounts of storage for images and such. Naturally, we reached for Samba to enable network file storage. We installed and...

View Article

chmod 没有执行权限的解决办法 [转载http://www.fblinux.com/?p=30]

chmod没有权限,貌似就算是root用户也无法授权,这可咋办?chmod是设置权限的命令,但是自身没有了执行权限,那么就表示没有办法更改其他命令的权限,也没有办法改变自己的权限。 [root@localhost ~]# ll /bin/chmod ----------. 1 root root 48712 Oct 15 2014/bin/chmod [root@localhost ~]#...

View Article

在 Android 上运行 sshd

新的 Z5C 到手。拿 root 装软件。然后发现一个很重要的事情:我之前在 Z3C + Android 4.4.4 上用得好好的 Rooted SSH/SFTP Daemon ,在登录的时候报了这么个错: CANNOT LINK EXECUTABLE: "/system/lib/libc++.so" is 32-bit instead of 64-bitpage record for...

View Article


Console Hacking 2016: Postscript

Another year, another console hacking talk ! This talk picks off where our lighting talk last year left off, and goes into detail of how we ported linux to the PS4. If you haven’t watched it, take a...

View Article

常用工具镜像网站又更新了#1

2016年11月份搭建了一个常用工具的镜像网站,因为众所周知的原因,很多软件工具需要自备梯子才可以下载,但是有的软件工具非常大,在梯子下下载,时间长的像噩梦,所以就搭建了这么一个网站,可以更快速的下载工具软件学习,所有的工具软件都有Window,linux和Mac三个平台的版本。...

View Article

Image may be NSFW.
Clik here to view.

cocos2d 在windows上环境搭建

详细搭建步骤如下: 1、Android 开发环境搭建 Android开发环境搭建不是重点,相信看此文章的很多人都已经搭建成功,这里随便概述性的说说。 1、下载 JDK 2、下载 Eclipse 3、下载 Android SDK 4、启动Eclipse , 安装 ADT 2、下载安装Android NDK 我使用的NDK版本为r5 Google 出的最新NDK 为 r7 下载地址为...

View Article


Image may be NSFW.
Clik here to view.

Fossil Echo, a beautiful looking story-driven platformer should come to Linux...

We've been waiting a while on it, but Fossil Echo [ Steam , GOG , Official Site ] looks like it's finally nearing a release for linux. I asked on Steam for an update and got this response : Quote Hey...

View Article


ShellCheck A Free Utility To Find Bugs In Your Shell Scripts

I just wrote a script and wanted to check if there is any bugs in it. Is there any way to do it easily? Yes, of course! Now, you can easily find bugs in your shell scripts using ShellCheck ....

View Article

Image may be NSFW.
Clik here to view.

KDE releases beta of Kirigami UI 2.0

Today, KDE announces the beta release of Kirigami UI 2.0. Soon after the initial release of Kirigami UI , KDE's framework for convergent (mobile and desktop) user interfaces, its main developer Marco...

View Article

Samba 使用

命令 smbd 启用 smb sudo service smbd start Samba 进程,使用 -D 参数开启守护进程。 smbpasswd smbpasswd 命令属于 samba ,能够实现添加或删除samba用户和为用户修改密码。 语法 smbpasswd [option] [username] smbpasswd(选项)(参数) 选项 -a:向smbpasswd文件中添加用户;...

View Article

Image may be NSFW.
Clik here to view.

Faster C++ builds

The C++ language is known for its slow build process. While that is largely true (compared to many other languages), C++ is also one of the most mature languages out there, with rich tool support....

View Article


Linux的ldconfig命令和ldd命令用法

ldd 查看程序依赖库 ldd作用:用来查看程式运行所需的共享库,常用来解决程式因缺少某个库文件而不能运行的一些问题。 示例:查看test程序运行所依赖的库: /opt/app/todeav1/test$ldd test libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000039a7e00000) libm.so.6 =>...

View Article

Linux环境变量LD_LIBRARY_PATH

LIBRARY_PATH和LD_LIBRARY_PATH是linux下的两个环境变量,二者的含义和作用分别如下: LIBRARY_PATH环境变量用于在程序编译期间查找动态链接库时指定查找共享库的路径,例如,指定gcc编译需要用到的动态链接库的目录。设置方法如下(其中,LIBDIR1和LIBDIR2为两个库目录): export...

View Article


Image may be NSFW.
Clik here to view.

中国移动自主研发BC-Linux操作系统 部署已超万台

当前,信息技术推动着世界向以云计算为基础的信息化和智能化发展,依托大数据和云计算平台创造的持续迭代的智能化、软件化、定制化的应用服务和解决方案成为最主要的生产方式。为满足云计算和大数据时代企业应用部署要求,中移软件自主研发企业级linux操作系统,面向企业用户提供高质量商业化的系统订阅、技术支持服务。目前在中国移动各数据中心部署服务器数量已超万台。...

View Article

Image may be NSFW.
Clik here to view.

Clean Up Your Mac From Other Files

Sometimes, your mac is filled up with files and you can't seem to understand what really is taking much space. Here is how you can find out. First of all find disk usage and save it to a log file....

View Article


Vip - Vi-Style Editor in #PicoLisp in 990 lines of code

Vip - Vi-Style Editor in PicoLisp A complete editor in less than 1000 lines of code There is an old saying: Once in your life you should build a house, plant a tree, and write an editor. I decided to...

View Article

N25期―第五周作业

1、 显示当前系统上root、fedora或user1用户的默认shell; grep -E "^(root|fedora|user1):" /etc/passwd | cut -d: -f 2、找出/etc/rc.d/init.d/functions文件中某单词后面跟一组小括号的行,形如:hello(); grep -Eo "\<[[:alnum:]]+\>\(\)"...

View Article

Image may be NSFW.
Clik here to view.

Solus 2017.01.01.0 released

If you know about Budgie desktop environment then you surely heard about Solus linux. Few hours ago team behind it released new Solus 2017.01.01.0. For those who don't know about Solus Linux, then you...

View Article
Browsing all 11063 articles
Browse latest View live