Top 10 Free Alternatives to Expensive Software
Unless you have a company buying licenses for you, tools like Photoshop, Pro Tools, Maya, or even windows can be a serious bite out of your wallet. Here are some more affordable options to those...
View Article详解shell 遍历文件夹内所有文件并打印绝对路径
例如你有一个文件夹路径是 /wls,如果想要遍历这个文件夹内的所有文件,并将它们保存到数组中,利用shell你可以这样做for file in /wls/*do if test -f $file then arr=(${arr[*]} $file) fidoneecho...
View ArticleLinux shell 之 提取文件名和目录名的一些方法总结
很多时候在使用linux的shell时,我们都需要对文件名或目录名进行处理,通常的操作是由路径中提取出文件名,从路径中提取出目录名,提取文件后缀名等等。例如,从路径/dir1/dir2/file.txt中提取也文件名file.txt,提取出目录/dir1/dir2,提取出文件后缀txt等。下面介绍两种常用的方法来进行相关的操作。一、使用${}1、${var##*/}该命令的作用是去掉变量var从左边...
View Articleyum安装(卸载)本地rpm包的方法
举例:一、yum安装和卸载jdk1、先查看是否有版本:#rpm -qa|grep jdk2、再卸载#yum remove Java-*-openjdk Cy#yum remove java-1.8.0-openjdk-headless-1.8.0.91-1.b14.el6.x86_64-y3、使用yum安装本地jdk的rpm包#yum localinstall...
View ArticleCentOS6.5 上部署 MySQL5.7.17 二进制安装以及多实例配置
1、建用户、下载、解压groupadd mysqluseradd -r -g mysql mysqlwget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.17-linux-glibc2.5-x86_64.tar.gztar xvf mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz -C...
View ArticleUbuntu 14.04 搭建 apt-get 服务器的教程
1. 系统环境:ubuntu14.04 amd64 desktop2. 步骤:2.1 安装 dpkg-dev、nginx<span style="font-size:18px;">$ sudo apt-get update $ sudo apt-get install dpkg-dev nginx -y</span> 2.2 创建软件存储目录$ mkdir -p...
View ArticleUbuntu16.04安装MySQL5.7的教程
安装主程序主程序安装就我知道有两种方式:- 使用apt-get全自动安装# 安装命令apt-get install mysql-server# 安装过程中需要输入mysql的root密码 使用dpkg手动安装依赖包# 1. 下载安装包# 我测试过程中下载的是:mysql-server_5.7.16-1ubuntu16.04_amd64.deb-bundle.tar#...
View Articleext2_allocate_branch()解析
在之前的多篇博客中我们都比较详细地阐述了ext2_get_block()路径中各个函数的实现原理,今天我们来关注下ext2_allocate_branch()的实现细节,这个函数是非常重要的,而且理解起来也没那么简单,虽然说函数的功能一句话就可能说完:为数据块建立映射路径。...
View ArticleThe Ubuntu Sub System (New Bash Shell) in Windows 10
windows 10 has recently added aBash Shell support. It is not just a simple shell. It contains a complete linux subsystem, which means you can run Linux native code directly on Windows. How to Enable...
View ArticleUsing TensorFlow’s Supervisor with TensorBoard summary groups
One of TensorFlow’s more awesome parts is definitely TensorBoard, i.e. the capability of collecting and visualizing data from the TensorFlow graph as the network is running while also being able to...
View Articlerkt v1.23.0 发布,CoreOS 的容器引擎
rkt v1.23.0 发布了。该版本添加了大量有关 rkt fly flavor, garbage collection, kvm, 和 sandbox 的特性。 新的实验性 app 子命令现在遵循 CRI 的语义,如果应用程序失败或退出,不会过早退出。 最后,docker2aci 收到了一个重要的更新修复问题,os/arch 标签会导致 arm 架构出现问题。 新特性 沙盒:如果 app...
View ArticleUSN-3024-1: tomcat6, tomcat7 vulnerabilities
Severity Medium Vendor Canonical Ubuntu Versions Affected Canonical Ubuntu 14.04 LTS Description It was discovered that Tomcat incorrectly handled pathnames used by web applications in a getResource,...
View ArticleValve Rebases SteamOS on Debian GNU/Linux 8.7, Adds Mesa 13.0.3 & Nvidia...
Valve has released today a new Beta version of the SteamOS operating system that the company is using on Steam Machines. The new update was pushed to the brewmaster_beta channel and it's versioned as...
View ArticleGet Ubuntu 16.04.1, Linux Mint 18.1, elementary OS 0.4 & Zorin OS 12 on...
After informing Softpedia about the availability of the linux AIO Ubuntu 16.10 and Linux AIO Ubuntu 14.04.5 Live DVDs, eljko Popivoda from the Linux AIO team is announcing the initial release of Linux...
View ArticleFedora Atomic Working Group update from 2017-01-17
This is an update from Fedora Atomic Working Group based on the IRC meeting on 2017-01-17. 14 people participated in the meeting, the full log of the meeting can be found here . OverlayFS partition We...
View ArticleN26 第三周作业
1、列出当前系统上所有已经登录的用户的用户名,注意:同一个用户登录多次,则只显示一次即可。 [root@localhost ~]# useradd tom[root@localhost ~]# echo "123456" | passwd --stdin tom……[c:\~]$ ssh tom@192.168.0.101……[root@localhost ~]# who(unknown) :0...
View ArticleGoodvibes is a New Internet Radio Player App for Ubuntu
I don’t listen to the radio that often, butwhen I do it’s certainly not in thetraditional way. Like many, I listen tointernet radio on my PC using a linux radio app. A small selection of such players...
View ArticleCentOS 6.4下LAMP 系统服务搭建过程详解
LAMP 架构在企业里用得非常广泛,目前很多电商公司、游戏公司、移动互联网公司大多都采用这种架构。LAMP指的是linux、Apache、mysql、php。下面记录了 LAMP 架构系统服务的搭建过程。 一、MySQL数据库安装 1. 系统环境 CentOS 6.4 x86_64 Mini 版本安装 2. 基础软件包安装 [root@vip ~]# yum install gcc vim make...
View Article装了这个主题包,就被拿system shell?
Author:Flanker@腾讯科恩实验室 各位Android用户一定对主题包不陌生,这应该是Android相对于iOS可定制化的一大优势。 说到主题包,各位会想到什么?这个? 哦不对,跑题了。那这个? 好了又跑题了,下面是正文。两年前,我们对EMUI做了一次审计,发现了数十个各种各样的问题,从系统崩溃重启到system/内核权限代码执行,都早已报给了华为并得到了修复。...
View Article