次のコマンドを実行することで可能です。
Perlのパスを確認する
Perlのパスを確認するには、whereisコマンドの引数にperlを指定して実行します。$ whereis perl perl: /usr/bin/perl /usr/share/man/man1/perl.1.gz
Perlのバージョンを確認する
Perlのバージョンを確認するには、perlに「-v」もしくは、「-version」を付けて実行します。$ perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi (with 39 registered patches, see perl -V for more detail) Copyright 1987-2012, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.
無料プレゼント
図解60p「Linuxサーバー構築入門マニュアル」
独学で詰まる前に、“型(手順書)”で最初の環境構築をサクッと終わらせましょう。
登録10秒/自動返信でDL/合わなければ解除3秒
登録10秒/自動返信でDL/合わなければ解除3秒
無料で受け取る
※メールアドレスだけでもOK(必須項目は最小限)
<<関連記事>>
・MIMEでエンコードされたテキストを読めるように変換する
・viエディタで文字をコピーする
・ハードディスクの使用状況を調べるには
・tar.bz2ファイルの解凍・圧縮コマンド|tar.gzとの違いやオプション一覧
・tar.gz形式のファイルを解凍、展開するには
