空のディレクトリを探す
find . -type d -empty
空のディレクトリを削除する
find . -type d -empty -delete
find . -type d -empty
find . -type d -empty -delete
cd /var/www/html find . -name "*.html" -type f -print0 | xargs -0 grep -P '<\?[\s\S]*?\?>'
-P オプションで複数行を対象とし、[\s\S]*? で改行が含まれている範囲も検索している。AddType application/x-httpd-php .php .html
<??> で囲まれている箇所を抽出しているので、<?xml version="1.0" encoding="UTF-8"?>
Microsoftから、Windows 11 の ISO をダウンロード ダウンロードしたISOを右クリックしてマウント コマンドプロンプトを起動してマウントしたドライブ(D:とか)に移動し、setup /product server を実行 あとは指示に従うだけ これだけ。 ...