コンテンツ
ラズベリーパイで動作確認済です!
ラズベリーパイでプログラムを実行する方法
最初に、ラズベリーパイを起動します。すると以下のような画面になります。
次に、画面の上の方にある黒い「>_」のようなアイコンをクリックします。
すると、以下のような黒い画面が表示されます。
そこにプログラムを入力し「ENTER」キーを押すと、プログラムが実行されます!
manとは
「man」プログラムは、プログラムの詳しい解説を表示するためのコマンドです
インストール
ラズベリーパイでmanプログラムは最初からインストールされているので、すぐに使うことができます!
プログラムの実行例
このプログラムは、以下のように使用します。
man (解説を表示したいプログラム)
それではラズベリーパイで実行してみましょう。
実行
ためしに、chmodというプログラムの詳しい解説を表示してみます
man chmod CHMOD(1) User Commands CHMOD(1) NAME chmod - change file mode bits SYNOPSIS chmod [OPTION]... MODE[,MODE]... FILE... chmod [OPTION]... OCTAL-MODE FILE... chmod [OPTION]... --reference=RFILE FILE... DESCRIPTION This manual page documents the GNU version of chmod. chmod changes the file mode bits of each given file according to mode, which can be either a symbolic representation of changes to make, or an octal number representing the bit pattern for the new mode bits. The format of a symbolic mode is [ugoa...][[+-=][perms...]...], where perms is either zero or more letters from the set rwxXst, or a single letter from the set ugo. Multiple symbolic modes can be given, sepa‐ rated by commas.
manプログラムによって、プログラムの詳しい解説が表示されました!
「man」にはいろいろな使い方があります。記事を読むだけでなく手を動かして調べてみると、コンピュータを具体的に学ぶ良い経験になります!!
インストールするために使ったコマンドの解説
この記事で使ったコマンドは、以下の記事で詳しく解説しています!よろしければご覧ください。
・chmod
https://www.limemo.net/blog/2017/02/%e3%83%a9%e3%82%ba%e3%83%99%e3%83%aa%e3%83%bc%e3%83%91%e3%82%a4%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b-%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e3%82%a2%e3%82%af%e3%82%bb.html