linux操作命令筆記

常用軟體,程式語言的筆記和疑問
Forum rules
盡量做到:
每一個貼子都精心編輯;
每一個疑問都得到解答。
ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

terminal write to clip

Post by ejsoon » 2018 Feb 08, 10:03

pwd | xclip

ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

查找大文件

Post by ejsoon » 2018 Feb 09, 16:21

http://blog.csdn.net/del_zhu/article/details/52169442

find . -type f -size +800M | xargs du -hm | sort -nr

du -hm --max-depth=2 | sort -nr | head -12

ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

Ubuntu add workspace

Post by ejsoon » 2018 Mar 15, 11:09

sudo apt-get install unity-tweak-tool

ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

ubuntu PDF printer

Post by ejsoon » 2018 Mar 28, 14:16

sudo apt-get install cups-pdf

ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

nginx and php-fpm

Post by ejsoon » 2018 Apr 05, 23:11

Since Nginx does not contain native PHP processing like some other web servers, we will need to install php5-fpm, which stands for "fastCGI process manager". We will tell Nginx to pass PHP requests to this software for processing.

ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

Linux服务器维护监控相关

Post by ejsoon » 2018 Apr 17, 22:24

Linux服务器维护监控相关

监控项 命令
CPU top, uptime, vmstat, sar
Memory free, vmstat, sar
I/O iostat, sar
网络 netstat, sar
线程 ps, pstree, sar


ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

加otf字體

Post by ejsoon » 2018 Apr 29, 16:53

新建/usr/share/fonts/opentype
改權限

ejsoon
Site Admin
Posts: 3700
Joined: 2016 Jan 10, 22:15

Re: linux操作命令筆記

Post by ejsoon » 2018 May 17, 10:03

製作usb系統棒(來自這裡):
sudo umount /dev/sdb1
sudo dd if=~/Desktop/target.iso of=/dev/sdx oflag=direct bs=1048576

Post Reply