りすぞう は man を おぼえた !

マニュアルは本家で確認しなさい、という教えのもと、UNIX コマンドのマニュアルはどこにあるのかさまよっていたら梨もどきがなんか言ってるなっしー。

ふんふん。

早速やってみましょう。

$ man is
______________________________________________________________________________
NAME
       is - test argument to see if it is a class or an object

SYNOPSIS
       itcl::is option ?arg arg ...?
______________________________________________________________________________

(以下略)

ドヤァ

ぎゃー間違えた!!

$ man ls

NAME
     ls -- list directory contents

SYNOPSIS
     ls [-ABCFGHLOPRSTUW@abcdefghiklmnopqrstuwx1] [file ...]

DESCRIPTION
     For each operand that names a file of a type other than directory, ls
     displays its name as well as any requested, associated information.  For
     each operand that names a file of type directory, ls displays the names
     of files contained within that directory, as well as any requested, asso-
     ciated information.

     If no operands are given, the contents of the current directory are dis-
     played.  If more than one operand is given, non-directory operands are
     displayed first; directory and non-directory operands are sorted sepa-
     rately and in lexicographical order.

     The following options are available:

     -@      Display extended attribute keys and sizes in long (-l) output.

     -1      (The numeric digit ``one''.)  Force output to be one entry per
             line.  This is the default when output is not to a terminal.

     -A      List all entries except for . and ...  Always set for the super-
             user.

     -a      Include directory entries whose names begin with a dot (.).

     -B      Force printing of non-printable characters (as defined by
             ctype(3) and current locale settings) in file names as \xxx,
             where xxx is the numeric value of the character in octal.

     -b      As -B, but use C escape codes whenever possible.

(以下略)

おっ!

コマンドの説明や、オプションの詳細が表示されるコマンド man !覚えた!!表示された内容を消して元に戻りたいときは Q キーを押せばいいみたい。

こいわコマンド

$ man koiwa
No manual entry for koiwa

ない。

もっとがんばるなっしーよ!!

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です