• skip to content

fl8 Wiki

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: Dokuwiki.fl8.jp » dev
Trace: • IPMIコマンド

dev

Search

You can find the results of your search below.

Ends with
  • Exact match
  • Starts with
  • Ends with
  • Contains
@bash
  • Any namespace
  • bash:script (2)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Fulltext results:

06 Bash リダイレクション
5 Hits, Last modified: 10 years ago
</code> === エラー(2)を/var/log/rsync.logへ、標準出力(1)を/dev/nullへ === <code console> * 6 * * * root /root/rsync.sh 2> /var/log/rsync.log 1> /dev/null </code> === 1(標準出力)も2(標準エラー)も残さない。 === ・2>&1は1(標準出力)を2(標準エラー)にコピーするという意味 ・/dev/nullは捨てるという意味。 <code console> $ command >/dev/null 2>&1 </code> <color red>■NG例</color> ・この場合1(標準出力)
01 Bash - 制御文
3 Hits, Last modified: 5 years ago
eceived, 0% packet loss round-trip min/avg/max/stddev = 0.751/0.751/0.751/0.000 ms %%%%% %%%%% 2006年 6月... eceived, 0% packet loss round-trip min/avg/max/stddev = 0.751/0.751/0.751/0.000 ms %%%%% %%%%% 2006年 6月... eceived, 0% packet loss round-trip min/avg/max/stddev = 0.751/0.751/0.751/0.000 ms %%%%% </code> == w
13 簡単なパケロスチェックプログラム @bash:script
3 Hits, Last modified: 10 years ago
DIR} fi while true; do ping ${IP} -c 1 -w 1 > /dev/null if [ $? -eq 0 ];then echo `date "+%Y%m... とだけ変更する。 <code console> ping ${IP} -c 1 -w 1 > /dev/null ↓ ping -c 1 -t 1 ${IP} > /dev/null </code> {{tag>bash network}}
09 While 内でSSH
1 Hits, Last modified: 5 years ago
while ループは1回で終了してしまう。 これを防ぐには、ssh に -n オプションを付け、/dev/null をリダイレクトし、標準入力をリダイレクトしないようにする。 ===== こちらだとO
11 Probress Bar @bash:script
1 Hits, Last modified: 10 years ago
$1; _bar=${_bar:=.} while : do jobs %1 > /dev/null 2>&1 [ $? = 0 ] || break echo -n ${_

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
CC Attribution-Noncommercial-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki