Category Archives: SYSTEM

How to Change Your Default Applications on Ubuntu

File Associations

To set the default application for a specific file type, locate a file of that type in the file manager, right-click it, and select Properties.
Click the Open With tab and select the application you want to use for that file type. Use the Set as default button to make the application the default application.

Ubuntu MATE for the Raspberry Pi 2 and Raspberry Pi 3

Martin Wimpress and Rohith Madhavan have made an Ubuntu MATE image for the Raspberry Pi 2 and Raspberry Pi 3 which you can download or build yourself.
The image is based on the regular Ubuntu armhf base, not the new Snappy Core, which means that the installation procedure for applications is the same as that for the regular desktop version, ie using apt-get. However, since Ubuntu MATE 16.04 snap packages can be installed alongside classic deb packages. Continue reading Ubuntu MATE for the Raspberry Pi 2 and Raspberry Pi 3

find 命令

Linux中find常见用法示例

·find   path   -option   [   -print ]   [ -exec   -ok   command ]   {} \;

find命令的参数;
pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。
-print: find命令将匹配的文件输出到标准输出。
-exec: find命令对匹配的文件执行该参数所给出的shell命令。相应命令的形式为’command’ { } \;,注意{ }和\;之间的空格。
-ok: 和-exec的作用相同,只不过以一种更为安全的模式来执行该参数所给出的shell命令,在执行每一个命令之前,都会给出提示,让用户来确定是否执行。 Continue reading find 命令