lsコマンドタイプスタンプで並び替え

lsコマンドでファイルのタイプスタンプで、「新しい順番」、「古い順番」にソートする方法
新しい順番は、 ls -lt
古い順番は、ls -ltr
コマンドのオプションの意味は下記の通り
-l ファイ ...
メールキューの確認と削除 [Postfix]

メールキューを確認するには「mailq」、「postqueue -p」コマンドで確認できます
mailqコマンド「mailq」のコマンドを利用してメールキューの確認方法は以下となります
$ sudo ...テキストファイルをgrepしたら、バイナルファイルとして扱われる

grepコマンドで、テキストファイルを検索したら、下記のようなエラーが表示される場合があります
「バイナリー・ファイルTEST.t ...PSコマンドでプロセスの起動時刻を調べる

PSコマンドでプロセスの起動時間を確認する方法
プロセスの起動時間を確認しようと「ps -ef」,「ps aux」で確認しても起動時間は表示されません
※ grep -v grepのオプションは、grepコマンドの ...
lsコマンド 容量を見やすい単位で表示(MB,GBなど)

lsコマンドなどで容量を自動でMB,GBなど見やすい単位で表示にする方法は、オプションで「h」を使用します
通常ですと、以下のようにバイト単位で表示されます
Chrony インストール [CentOS 7.x, CentOS 8]

CentOS 7、CentOS8では、NTPクライアントは「ntpd」ではなく、「Chrony」に変更されています。
本記事では、新しいNTPクライアント・サーバーの「Chrony」のインストール方法 ...
yum update でOSのバージョンを上げない [CentOS]

通常では、を叩くとカーネルのバージョンが上がりOSのバージョンがあがります
構築したサーバーの仕様で、OSのバージョンを上げたくない場合があると思います。
その場合は、以下 ...
digコマンドでネームサーバーを指定する

Linuxのdigコマンドで「ネームサーバーを指定する」方法です
ドメインを変更した際になどに利用する場合があるかとおもいます
簡単なオプションですが、いつも利用する場合に忘れてしまいます
lsコマンド・findコマンドで、ファイル・ディレクトリのフルパス名を取得する方法

ls で下記のようなコマンドで実行した場合、ファイル・ディレクトリをみてもフルパスは表示されません
$ ls -l/etc/httpd/conf/合計 92-rw-r--r-- 1 root root 35165 10月 1 ...