全文検索:
- tar @02_freebsd:80_unixコマンド
- 04 etc/amd.map -rw-rw-r-- root/antivir 3623 11 10 07:38 2004 etc/antivir.conf -rw-r--r-- root/whee... etc/auth.conf -rw-rw-r-- root/antivir 3730 11 10 07:31 2004 etc/avguard.conf -rw-r--r-- root/whee... 6:28 2004 etc/crontab -rw-r--r-- root/wheel 108 5 26 06:28 2004 etc/csh.cshrc -rw-r--r-- root/... .gz ./hoge </code> ==== tar でディレクトリ丸ごとコピー ==== 10.10.10.10の/mnt/ を 10.10.10.20の/mnt/ に丸ごとコピー <code>
- MySQL - バックアップ @02_freebsd:04_database:01_mysql
- sqldump --all-databases | ssh -i key root@192.168.10.10 'cat > dump.sql' ==== リモートへ圧縮してコピー ==== mysqldump --all-databases | gzip | ssh -i key root@192.168.10.10 'cat > dump.sql.gz' ==== リモートへSSHしてからdumpの場合 ==== ssh root@host "mysqldump --all-databases"
- MySQLコマンド @02_freebsd:04_database:01_mysql
- d6.3 (i386) using 5.2 Connection id: 104553 Current database: syslog Current user... ort: mysql-server-5.1.28 Protocol version: 10 Connection: Localhost via UNIX socke... ql.sock Uptime: 15 days 11 hours 10 min 32 sec Threads: 2 Questions: 2293516 Slo
- 18 MySQLでALTER TABLEの進捗確認 @02_freebsd:04_database:01_mysql
- ----+ | 1273517123 | +------------+ 1 row in set (10 min 26.05 sec) $ bash alert_progress.sh 200000 2
- ifconfig @02_freebsd:80_unixコマンド
- eth0にIPを設定する ===== <code console> # ifconfig eth0 10.15.201.201 netmask 255.255.0.0 # ifconfig eth0 10.15.201.201/16 </code> SecondaryとしてIPを追加するときは、[[02
- whois @02_freebsd:80_unixコマンド
- Corporation m. [Administrative Contact] HA14103JP n. [Technical Contact] KM43416JP p. [... /11/17 [Last Update] 2017/04/20 10:09:53 (JST) </code> ===== 管理者情報を確認 ===== [Admin... ct]をwhoisで確認すると、管理者情報も確認できます。 <code> # whois HA14103JP [Querying whois.nic.ad.jp] [whois.nic.ad.jp] [... Information: a. [JPNIC Handle] HA14103JP c. [Last, First] Akiyoshi, Hisa
- dig @02_freebsd:80_unixコマンド
- yahoo.co.jp. 300 IN A 210.80.242.236 yahoo.co.jp. 300 IN A 210.80.243.14 yahoo.co.jp. 300 IN A 210.81.3.241 yahoo.co.jp. 300 IN A 210.81.150.5 yahoo.co.jp. 900 IN
- 20 wait_timeoutとthread_cache_size @02_freebsd:04_database:01_mysql
- -----------------+-------+ | max_connect_errors | 10 | | max_connections | 100 | +--------------------+-------+ 2 rows in set (0.00 sec) </code... なっていないスレッドの数| <code|my.cnf> thread_cache_size = 100 </code> ===== オンラインで反映 ===== wait_timeoutとth... meout = 360; mysql>SET GLOBAL thread_cache_size = 100; </code> ===== thread_cache_sizeの考察 ===== [[h
- ps @02_freebsd:80_unixコマンド
- ax -o pid,lstart,cmd | grep sshd 5875 Thu Jun 6 10:01:54 2013 grep sshd 7885 Thu Apr 12 13:31:26 20
- find @02_freebsd:80_unixコマンド
- サイズが10M以上のものを表示。 <code console> $ find ./ -size +10000k -exec ls -ahl {} \; -rwxr--r-- 1 matsui ma... JP.zip -rwxr--r-- 1 matsui matsui 3.3G 7 3 10:09 ./TEST/Fedora-9-i386-DVD.iso -rwxr--r-- 1 ma... 上のファイルを検索 <code console> $ find /var/log/ -size +1000k -exec ls -ahl {} \; </code> {{tag>Unixコマンド ファ
- 07 DHCPD @02_freebsd:01_net
- es DNS. option domain-name-servers 192.168.1.1, 210.147.240.193; # Servidores WINS. # Descomentar caso utilizado. #option netbios-name-servers 10.10.0.9; # Tempo padrao de alocacao em segundos. # Se o cliente nao especificar nenhum periodo de
- traceroute @02_freebsd:80_unixコマンド
- ute flateight.com traceroute to flateight.com (59.106.13.38), 64 hops max, 40 byte packets 1 218.227... 247.126) 16.920 ms 17.880 ms 16.116 ms 3 219.107.255.254 (219.107.255.254) 19.165 ms 18.637 ms 18.326 ms 4 133.205.1.1 (133.205.1.1) 18.896 ms 18.610 ms 19.348 ms 5 210.173.176.63 (210.173.176.63)
- vipw @02_freebsd:80_unixコマンド
- :Bind Sandbox:/:/sbin/nologin xten:*:67:67::0:0:X-10 daemon:/usr/local/xten:/sbin/nologin pop:*:68:6::
- viエディタ @02_freebsd:80_unixコマンド
- を文字列Bに置換| |:::|:::|(全ての行で、合致するパターン全てを置換) | |:::|:10,50s/文字列A/文字列B/g|文字列Aを文字列Bに置換| |:::|:::|(10行目から50行目までの間で、合致するパターン全てを置換) | |:::|:10,$s/文字列A/文字列B/g|文字列Aを文字列Bに置換| |:::|:::|(10行目から最終行ま
- tree @02_freebsd:80_unixコマンド
- nch.1 | `-- tbench_srv.1 -> dbench.1 |-- perl-5.10.1 | |-- bin | | |-- a2p | | |-- c2ph |