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

2020-09

LinuxTips(RedHat系)

グループを追加・削除する

●Add a groupTo create a group, use the groupadd command.When executing this command, specify the group name to be added as an argument. You will need root privileges to run this command.
LinuxTips(RedHat系)

グループパスワードを削除する

グループパスワードを削除するグループに設定したパスワードを削除するには、gpasswdコマンドにオプション「-r」か、「...
LinuxTips(RedHat系)

グループにパスワードを設定する

To set a password for a group, use the gpasswd commandYou will be prompted to enter a password when adding a user to a group or when a user is not registered in a group.By setting a password for the group, you can prevent people from registering members to the group without permission.
LinuxTips(RedHat系)

グループに管理者を設定する

You can set up an administrator for an existing group separately from root (privileged user).The administrator set here can add and remove members, set and remove group passwords, etc. for the group.To set up an administrator, add the option "-A" to the gpasswd command and specify the user name and the group name to be managed as arguments.Multiple users can be specified by separating them with a comma ",".
LinuxTips(RedHat系)

グループにメンバーを追加・削除する

グループにメンバーを追加・削除する●グループにメンバーを追加する既存グループにメンバーを追加するには、gpasswdコマ...
LinuxTips(RedHat系)

ディレクトリ内のファイルすべてを表示する

ディレクトリ内のファイルすべてを表示するディレクトリ内のファイルを表示させるには「ls」コマンドを使用します。しかし、「...
LinuxTips(RedHat系)

シンボリックリンクを確認する

シンボリックリンクを確認するシンボリックリンクは、通常ののファイルに見えるが、実体となるファイルは別のディレクトリにある...
LinuxTips(RedHat系)

ファイル、ディレクトリのデフォルトパーミッションを変更する

ファイル、ディレクトリのパーミッションを変更するファイルやディレクトリを新規に作成した場合、デフォルトのパーミッションが...
LinuxTips(RedHat系)

ファイル・ディレクトリの所有権を変更する

To change the ownership of a file or directory, use the chown command.If you want to change the ownership of all files in a directory, run it with the -R option.
LinuxTips(RedHat系)

多段階層のディレクトリを一度で作成する

To create a directory, specify the directory name as the argument of the "mkdir" command and execute it, but if you specify a directory that does not exist when specifying a directory over a multi-level hierarchy, an error will occur.In such a case, you can force a non-existent directory to be created and create a multi-level directory at once by executing with the option "-p".
LinuxTips(RedHat系)

ディレクトリを削除する(ディレクトリ内も全て削除)

ディレクトリを削除する(ディレクトリ内も全て削除)ディレクトリの削除には通常rmdirコマンドを使用します。しかしディレ...
LinuxTips(RedHat系)

ファイル内の文字数、行数を確認する

The wc command is used to check the number of characters and lines in a file. To check the number of characters, use "-c" as an option, and to check the number of lines, use "-l".To execute the wc command, specify the name of the file you want to investigate as an argument.
LinuxTips(RedHat系)

ファイルの内容を行番号付きで表示する

To display the contents of a file, use the cat command, but if you run it without options, it will simply display the contents. To display the contents of a file with line numbers, run the cat command with the option '-n'.If you don't want to add line numbers to blank lines in the file, add the option "-b".
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.