タグ

2015年4月2日のブックマーク (2件)

  • 「tail -f」を使うのは情弱、情強は「less +F」を使う | ソフトアンテナ

    ログファイルの監視に「tail -f」コマンドを使っている方は多いかもしれません。ファイルの末尾を表示する「tail」コマンドに、ファイル末尾に追加されたデータを追跡表示する「-f」オプションを指定することで、手軽にログの監視ができる便利なコマンドです。 しかし最近、「tail -f」より便利なコマンドとして「less +F」の使用を推奨するブログ記事「Stop using tail -f (mostly)」が公開され話題となりました。 「less」はテキストファイルの内容を表示する、ページャーと呼ばれるソフトウェアですが、これに「+F」オプションを指定することで、「tail -f」より便利なファイル監視コマンドとして使えるらしいのです。具体的に「less +F」が「tail -f」より便利な点として以下の2点が挙げられています。 監視モードと通常モードをlessを起動したまま行き来できる

    「tail -f」を使うのは情弱、情強は「less +F」を使う | ソフトアンテナ
  • Add or subtract time - Microsoft Support

    Let's say that you need to add two different time values together to get a total. Or, you need to subtract one time value from another to get the total time spent working on a project. As you'll see in the sections below, Excel makes it easy to add or subtract time. Add time Suppose that you want to know how many hours and minutes it will take to complete two tasks. You estimate that the first tas

    Add or subtract time - Microsoft Support
    takryou79
    takryou79 2015/04/02
    24 時間、60 分、または 60 秒を超える時刻の書式を自動的に設定するには、以下のユーザー定義の表示形式と SUM 関数を使用します。 時間 = \[h\]:mm:ss 分 = \[m\]:ss 秒 = \[ss\]”