間違ってFirefox をリフレッシュした場合の戻し方

Firefoxを更新して、Firefox遅い場合はリフレッシュして下さいみたいなメッセージが出ていたので、「Firefox をリフレッシュ」を押 ...
mountエラー「wrong fs type, bad option, bad superblock on /dev/sdb」

/dev/sdb、/dev/sdcで構成しているソフトウェアRAID構成を解除して、/dev/sdb、/dev/sdcをマウントする時に以下のエラーが出てマウント出来なかった
# mount -t ext4/dev/sdb/mn ...ハイパーバイザが起動できない「アプリケーションでエラーが発生しました」

マザーボードとCPU交換後にHyper-Vを利用しようとすると、
「’仮想マシン名’の状態を変更しようとして、アプリケーションで ...
Windows10 デスクトップアイコン 表示する

Windows10のデスクトップの初期状態では、「ごみ箱」だけしかデスクトップに表示されないケースがあります。
この状態だと不便なので、「コンピューター」、「ユーザー ...
Windows Subsystem for LinuxのVimカラースキームを変更する

WSL(Windows Subsystem for Linux)でのVimでシェルスクリプトを編集しているとコメントアウトした文字が下記の画像のように非常に見にくいです。ほと ...
Windows Subsystem for Linuxでマウス操作でコピー&ペーストする方法

bash on Windowsで、ペーストしたりする時メニューの編集から貼り付けをしたりしていたけど、Terate ...
Windows Subsystem for Linuxの「rsync」コマンドでバックアップをする

Windows Subsystem for LinuxでLinuxのコマンドを利用できるので、Googleフォトにある画像ファイルをローカルのディスクとネットワークドライブとして使用しているNASに「rsync」でバックアップする事に ...
digコマンドでネームサーバを調べる

ドメインのネームサーバを何処に設定したかdigコマンドで調べる場合は「ns」のオプションを使用します。NSのオプションを使用するとドメイン名に対応するNSレコードを取得する事ができます
$ dig onamae.com ns; ...diff 同じファイルか? 違うファイルか? 調べる方法

diffコマンドでファイルが同一かどうか?違うファイルかどうか?等で使用しますが、通常違うファイルの場合下記のような表示になります
$ cat test01.txt ...Finderでフォルダのフルパスを表示する

Windowsのエクスプローラーと違いmacOSのFinderでは、下記の画像のように今いるフォルダのフルパスが表示されないので使い勝手が違い戸惑うことがあります。
Finderでフルパスを表示する方法はタイトルバーに表示 ...
シェルスクリプトで変数内の改行を有効にする

シェルスクリプトを改行を含まれる変数をechoコマンドなどで表示した場合に、下記のように改行がスペースに変換される場合があります。
$ cat test.sh#!/bin/bashTEST="1 ...MacOSのメニューバーにあるアイコンの並び替えと削除

macOSでメニューバーにアイコンの並び方を変更する方法とメニューバーにあるアイコンの削除を削除する方法を紹介します
メニューバーにアイコンの並び方を変更【macOS】メニューバーにあるアイコンの並び順を変更するには、移動 ...
高速パブリックDNSサービス「1.1.1.1」を利用する

前回の記事でGoogleパブリックDNSサービスを紹介しましたが、今回はAPNICとCloudflareは4月1日より提供された、無料のパブリックDNSサービス「1.1.1.1」 ...
ネット環境を改善にGoogleパブリックDNSに変更する

最近、ネット環境は遅くなってタイムアウトしたり「サーバーが見つかりませんでした」と表示される機会が多くなってきたのでプロバイダのDNSから違うGoogleパブリックD ...
sedコマンドで空白の削除する

sedコマンドを利用してファイル内の空白文字(スペース)を削除します
書式:sed ‘s///g’ 【ファイル名】
下記のような空白を含むファイ ...