0
推荐
1380
阅读
shell script 基础1
数值比较:n1 -eq n2 是否相等n1 -ge n2 大于或等于-gt 大于-le 小于或等于-lt 小于-ne 不等于expr 在行内进行运算find /data/archive/ -name "*.json.gz"head -3000 取头3000个文件xargs -l
0
推荐
1421
阅读
f.lux indicator applet to protect your sight
# Install dependencies
sudo apt-get install git python-appindicator python-xdg python-pexpect python-gconf python-gtk2 python-glade2 libxxf86vm1
# Download xflux-gui
cd /tmp
git clone "https://github.com/xflux-gui/xflux-gui.git"
cd xflux-gui
python download-xflux.py
# EITHER install globally
su...
0
推荐
1271
阅读
Install skype on ubuntu 14.04
Step 1 » Enable ubuntu canonical repository .sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"Step 2 » Update the repositories by the below command.sudo apt-get updateStep 3 » Now issue the below command to install Skype.sudo apt-get install sky...
0
推荐
1593
阅读
#Linux##Sublime Text 3# 加PPA报错怎么处理
虽然调了一套自己的vim,不过始终还是没能玩的飞起。一涉及到要求生产力的时候就自然转到普通的编译器了。。。之前用的Sublime Text 3,研究了一下安装的教程。When trying to add the repository for y-ppa-manager, I receive:add-apt-repository ppa:webupd8team/y-ppa-manager
Cannot add PPA: 'ppa:webupd8team/y-p...
0
推荐
1384
阅读
#Linux# 在terminal中永久加入alias
普通的alias指令是在terminal中被直接输入的,关闭terminal之后就失效了,是“一次性”的。alias cls="clear"如何让cls永久的在terminal永久的代替clear呢,解决办法如下:You can put such aliases in the ~/.bash_aliases file.That file is loaded by ~/.bashrc. On Ubuntu 10.04, the following lines ...
0
推荐
1349
阅读
#VirtualBox# 下载安装最新版本的VirtualBox
Debian-based Linux distributionsAdd the following line to your /etc/apt/sources.list:deb http://download.virtualbox.org/virtualbox/debian xenial contrib
According to your distribution, replace 'xenial' by 'vivid', 'utopic', 'trusty', 'raring', 'quantal', 'precise', 'lucid', 'jessie', 'wheezy...
0
推荐
1922
阅读
#VirtualBox# 把驱动签名到内核上
Starting VirtualBox kernel modules ...failed! (modprobe vboxdrv failed. Please use 'dmesg' to find out why)I had the same problem. After searching for a solution for days, I finally found an easy fix here: "gorka(dot)eguileor(dot)com(slash)vbox-vmware-in-secureboot-linux" (sorry can't fully...
0
推荐
1560
阅读
#java# 新系统安装Java Development Kit
直接下载jdk压缩包方式安装 分为下面5个步骤 1.官网下载JDK 2.解压缩,放到指定目录 3.配置环境变量 4.设置系统默认JDK 5. 测试jdk1.官网下载JDK 地址: http://www.oracle.com/technetwork/articles/javase/index-jsp-138363.html ...
0
推荐
1218
阅读
ubuntu系统根目录下各个目录用途说明
1、/ 根目录--------- 所有目录挂在其下2、/boot--------- 存放Ubuntu内核和系统启动文件。系统启动时这些文件先被装载。3、/etc--------- 系统的配置文件目录。密码文件、设置网卡信息、环境变量的设置等都在此目录中,许多网络配置文件也在其中。具体 参见 。4、/lib--------- 根文件系统目录下程序和核心模...
0
推荐
1504
阅读
Chrome: double click, nothing happened, cannot launch the browser
Correct the ownership, assuming pipi is your username:chown -R pipi:pipi /home/pipi
and the permissions for all folders:find /home/pipi -type d -print0 | xargs -0 chmod 775
775 - These are the default permissions when you create a new folder. From: http://askubuntu.com/questions/618478/google-...
0
推荐
1718
阅读
Chrome: How to add PPA and repo, and install Chrome on Terminal
APT is a package management system for Debian and other Linux distributions based on it, such as Ubuntu. For the most part, APT is easy to use for installing, removing, and updating packages. In rare instances, often when you are mixing in third-party dependencies, there is a chance that apt-get ...
0
推荐
1191
阅读
关于PPA
remove:Run Ubuntu Software Center and from the menu choose "Software Sources" - there you can add/edit/remove repositories. Since Ubuntu Maverick (10.10) add-apt-repository accepts a -r or --remove parameter which removes the PPA in the same way you installed it. :) "sudo&nbs...
0
推荐
1452
阅读
ubuntu在顶部面板显示系统负载、流量
首先要安装系统监视工具System monitor Indicator 软件,可以在点击这里下载(https://launchpad.net/indicator-sysmonitor/+download) 安装方法:sudo dpkg -i indicator-sysmonitor_0.3.9~oneiric0_all.deb 这时候也可以直接运行...
1
推荐
1925
阅读
wget代理连接不上
问题如下:richardma@richardma-Latitude-E7270:~/Documents/Diary$ wget download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb
--2016-08-12 14:04:49-- http://download.skype.com/linux/skype-ubuntu-precise_4.3.0.37-1_i386.deb
Resolving test6666@172.26.100.238 (tttt9999@172.26.100.238)...
0
推荐
1118
阅读
apt & wget 下载的包都存在哪里?
apt-get安装目录和安装路径apt-get 下载后,软件所在路径是:/var/cache/apt/archiveswget下载的,如果没有特殊指定目录, 就下载到pwd下