業務用エアコン関連の技術情報、エラーコード、環境問題対策に関する別サイト「エアコンの安全な修理・適切なフロン回収」

nuy

LinuxTips(RedHat系)

空ファイル(ゼロバイト)を作成する

To create an empty file, use the touch command, which changes the type stamp of a file, but creates a zero-byte file if the argument is a non-existent file.
LinuxTips(RedHat系)

ファイルを文字列検索する

Use the find command to search for files that exist in your Linux system.find <Directory name> <Option> <File name>Set each argument to a value and perform the search.The directory name is the name of the directory from which the file search will be performed.The find command searches the specified directory and all subdirectories below it.(An error will occur if you search for a directory that cannot be referenced with permissions.)option allows you to specify what files to search. For example, you can search only for directories, or only for files that belong to a certain owner.
LinuxTips(RedHat系)

ファイルをGZIP形式で圧縮、GZIP形式ファイルの解凍

GZIP is the most commonly used compression method for files on Linux.It is usually used to reduce the size of a file by compressing it into a single (archived) file using the tar command.
LinuxTips(RedHat系)

ファイル名に日付等を付ける

ファイル名に日付等を付ける日付をファイル名に付加するコマンドは「 date 」コマンドを使います。●dateコマンドの使...
LinuxTips(RedHat系)

特定のファイルを検索して削除する

特定のファイルを検索して削除するfindコマンドを利用して、特定の共通点を持つファイルを検索し、削除することができます。...
LinuxTips(RedHat系)

Linuxで通常削除処理できないファイルを削除する

Linuxで通常削除処理できないファイルを削除するファイルを削除するにはrmコマンドを実行します。しかし、名称が「-」で...
LinuxTips(RedHat系)

Linuxで画像のファイル形式を変換する

Linuxで画像のファイル形式を変換するLinuxには、画像形式変換コマンドとして、convertコマンドがあります。c...
LinuxTips(RedHat系)

Linuxで画像形式のファイルを編集する

Linuxで画像形式のファイルを編集する●画像を回転させるLinuxのconvertコマンドは、画像を回転させることがで...
LinuxTips(RedHat系)

ファイルの並べ替え

ファイルの並べ替え●ファイルサイズが大きい順に並べるディレクトリ内にあるファイルを表示する場合、通常はファイル名のアルフ...
LinuxTips(RedHat系)

ファイルのいろいろな表示方法

ファイルのいろいろな表示方法●ディレクトリ内のファイル数を表示lsコマンドは、カレントディレクトリや特定のディレクトリ内...
LinuxTips(RedHat系)

ファイルの比較

ファイルの比較●2つのファイルを比較する2つのファイルに違いがあるかを確認するには、cmpコマンドを使用します。引数に比...
LinuxTips(RedHat系)

ファイル内の文字列・行抽出

ファイル内の文字列・行抽出●特定文字から始まる文字列を抽出する長文のファイルから特定の文字列を抽出する場合、grepコマ...
LinuxTips(RedHat系)

tarコマンドでファイル操作

tarコマンドでファイル操作●tarコマンドで作成したアーカイブの内容を表示tarコマンドで作成したアーカイブの内容を表...
LinuxTips(RedHat系)

ハードディスクの使用状況を確認する

ハードディスクの使用状況を確認するLinuxのハードディスク情報を確認するには「dfコマンド」を使用します。dfコマンド...
LinuxTips(RedHat系)

パーティションテーブルを表示する

パーティションテーブルを表示するパーティションテーブルを表示するにはfdiskコマンドに「-l」オプションを付けてコマン...