テキストファイルをgrepしたら、バイナルファイルとして扱われる

grepコマンドで、テキストファイルを検索したら、下記のようなエラーが表示される場合があります
「バイナリー・ファイルTEST.t ...隠しファイル・ファイルの拡張子の表示方法 「Windows 10」

隠しフォルダ・拡張子の表示する方法は、エクスプローラーの画面で変更します
エクスプローラーのアプリケーションがわからない場合は、デスクトップにあるフォルダをクリックし ...
Microsoft Edge プロキシを設定する (Windows 10)

Windows 10で標準のブラウザは「Microsoft Edge」になっています
設定はIEと比べると少なくなっています。プロキシの設定をしないと入れないサイトが有りプロキシの設定を「Microsoft Edge」で探しま ...
ログを複数の条件のエラー確認(messages)

OSインストール後のmessagesや起動時のdmesgなどで、エラーが上がっていないか確認する場合のコマンドです。
egrepコマンドで、パイプ(|)複数個のパターン検索(OR検索)を実行しています。「|」はを検索したい場合 ...
右クリックメニューの「送る」に任意のフォルダ・アプリケーションを追加する 【Windows10】

Windows10で右クリックメニューで指定したフォルダーやアプリケーション(プログラム)等をファイル等を渡せる事のできる「送る」の機能があります。
DNSサーバー BIND 9.xの脆弱性について(CVE-2015-5477)

DNS サーバの BIND に、遠隔からの攻撃によって異常終了し、サービス不能 (DoS) 状態となる脆弱性が発表されました。
日本国内において本脆弱性を悪用した攻撃を確認したとの情報がありますので、DNS サーバのアップデー ...
windows10のスタートアップの場所

windows10のスタートアップの場所ですが、Windows8.1と同じく以下のディレクトリがスタートアップのフォルダになります。
C:\Users\\AppData\Ro ...
MRTG SNMPv2c 対応(帯域が120Mbps以上の対応)

MRTGでスイッチ・ルーターの帯域を取得していますが、120Mbps以上の帯域があるとグラフの値が0になってしまいます。実際には120Mbpsちょいでているみたいです
調べてみると、MRTGではTargetを指定しない ...
Windows10 アップグレードしました

2015年7月29日のWindows10のリリース日に、Windows 8.1 ProからWindows10 Proにアップグレードしました
アップグレードして日が浅いのと仕事ではMacbookを使用している事が多いので、
AnsibleでPSコマンドを使用する

ansibleで、パイプ「|」を利用したコマンドをする場合のモジュールは【command】ではなく、【shell】を利用する
パイプ(|)を使用するので、「-m shell」を使用する
例)ansible test ...
シェルスクリプト if文でのエラー

シェルスクリプトでif文を使った際に構文は問題ないのに実行すると
「unary operator expected」と表示される場合があります
下記のスクリプトは、/var/tmp/testのファイル数を変数に代入 ...
BIND 9.xの脆弱性(DNSサービスの停止)について

BIND 9.xにおける実装上の不具合により、namedに対する外部からのサービス不能(DoS)攻撃が可能となる脆弱性が、開発元のISCから発表されました。
本脆弱性により、提供者が意図しないサービスの停止が発生する可能性 ...
PSコマンドでプロセスの起動時刻を調べる

PSコマンドでプロセスの起動時間を確認する方法
プロセスの起動時間を確認しようと「ps -ef」,「ps aux」で確認しても起動時間は表示されません
※ grep -v grepのオプションは、grepコマンドの ...
Ansible インストール [CentOS 5.x]

管理対象がCentOS 5.xの場合は、「python-simplejson」と「python26」のインストールが必要です。
Ansible実行環境には、pythonのバージョンが2.4以上で、「python-simplej ...
Ansibleインストール

構成管理ツールの「Ansible」をインストール手順です。構成管理ツールでは、ChefやPuppeなどが有名ですが、Ansibleは、エージェントレスなので小規模で〜中規模で運用する構成で使用しやすいです。