| サイズ: 5043 コメント:  | サイズ: 5834 コメント:  | 
| 削除された箇所はこのように表示されます。 | 追加された箇所はこのように表示されます。 | 
| 行 89: | 行 89: | 
| 使用方法は [[https://docs.ruby-lang.org/ja/2.0.0/doc/index.html|ruby 2.0.0]] を参照 してください. | 使用方法は [[https://docs.ruby-lang.org/ja/2.0.0/doc/index.html|ruby 2.0.0]] を参照してください. | 
| 行 101: | 行 99: | 
| print "Hello world!\n" | puts "Hello world!" | 
| 行 112: | 行 110: | 
| コマンドラインから直接実行する場合 {{{ $ ruby -e 'print "Hello world!\n"' Hello world! | インタラクティブに実行する場合 {{{ $ irb irb(main):001:0> puts "Hello world!" Hello world! => nil | 
| 行 136: | 行 136: | 
| $ java クラス名(xxx.class)) | $ java クラス名(xxx) | 
| 行 165: | 行 165: | 
| === 起動方法  === 以下のコマンドを実行します. {{{ $ tex <=★ }}} | === 変換方法  === 以下のコマンドを実行します. {{{ $ platex Texファイル(xxx.tex) }}} (例)<<BR>> sample.texをDVIファイルに変換する場合<<BR>> {{{ $ cat sample.tex \documentclass{jarticle} \begin{document} これはサンプルです。 \end{document} $ $ platex sample.tex }}} 組版結果のファイル(sample.dvi)が生成されます. | 
| 行 174: | 行 190: | 
| PDFへ変換するDVIファイル名を引数に指定し,以下のコマンドを実行します. {{{ $ dvipdfmx ファイル名 }}} | 以下のコマンドを実行します. {{{ $ dvipdfmx DVIファイル(xxx.dvi) }}} (例)<<BR>> sample.dviをPDFファイルに変換する場合 {{{ $ dvipdfmx sample.dvi }}} PDFファイル(sample.pdf)が生成されます. | 
| 行 182: | 行 205: | 
| 表示するPDFファイル名を引数に指定し,以下のコマンドを実行します. {{{ $ evince ファイル名 }}} | 以下のコマンドを実行します. {{{ $ evince PDFファイル(xxx.pdf) }}} (例)<<BR>> sample.pdfを表示する場合 {{{ $ evince sample.pdf }}} PDFファイル(sample.pdf)が表示されます. | 
| 行 216: | 行 246: | 
| $ dia <=★ | $ dia | 
| 行 224: | 行 254: | 
| $ gimp <=★ | $ gimp | 
| 行 229: | 行 259: | 
| === 変換方法  === (例)<<BR>> PDFファイルをPNGに変換する場合,以下のコマンドを実行します. {{{ $ ghostscript -q -sDEVICE=png256 -sOutputFile=sample.png -r300 -dNOPAUSE -dBATCH sample.pdf | === 起動方法  === 以下のコマンドを実行します. {{{ $ gs | 
| 行 241: | 行 270: | 
| $ soffice [options] [documents...] <=★ }}} | $ soffice パラメータ }}} (例)<<BR>> sample.docをPDF変換し、カレントディレクトリに出力する場合. {{{ $ soffice --headless --convert-to pdf sample.doc }}} PDFファイル(sample.pdf)が生成されます. | 
| 行 246: | 行 282: | 
| === 個別処理  === 例) JPEG画像(sample.jpg)からPNG画像(sample.png)へ変換する場合,以下のコマンドを実行します. | === コマンド  === * convert:画像のサイズ変更、フォーマット変更、画像の編集、色加工など * mogrityt:画像を一括で処理できるコマンド * identifyt:画像ファイルの情報やサーバ情報を取得・表示する * montaget:画像を並べて結合する * compositet:画像を合成する * displayt:画像を表示する (例)<<BR>> JPGの画像(sample.jpg)をPNG画像(sample.png)へ変換する場合. | 
| 行 252: | 行 296: | 
| === 一括処理  === 例) 複数の画像をJPEG画像からPNG画像へ変換する場合,以下のコマンドを実行します. | (例)<<BR>> 複数のJPG画(*.jpg)をPNG画像へ変換する場合. | 
アプリケーションの実行
窓口サーバにて以下のアプリケーションを利用可能です.
GUIアプリケーションを使用する場合は,利用端末にてX環境が必要です.
 X転送を有効にして窓口サーバにSSHログインして下さい. 
- 利用端末がWindowsの場合 - XmingやCygwin/X等を起動.
- TeraTermやputtyの設定でX転送を有効にし,xdevにログイン. 
 
- 利用端末がLinuxの場合 - デスクトップ環境を起動.
- コマンド ssh -Y xdev を実行.
 
Emacs
起動方法
以下のコマンドを実行します.
$ emacs &
(例)
 ファイル(sample.txt)を指定して起動する場合 
$ emacs sample.txt &
Perl
使用方法は perl 5.16.3 を参照してください.
実行方法
(例)
 Perlスクリプト(hello.pl)を実行する場合
 
・スクリプトの内容
$ cat hello.pl #!/usr/bin/perl print "Hello world!\n";
・スクリプトの実行
$ chmod 755 hello.pl $ ./hello.pl Hello world!
(例)
 コマンドラインから直接実行する場合 
$ perl -e 'print "Hello world!\n";' Hello world!
Python
使用方法は python 2.7 を参照してください.
実行方法
(例)
 Pythonスクリプト(hello.py)を実行する場合
 
・スクリプトの内容
$ cat hello.py #!/usr/bin/python print "Hello world!"
・スクリプトの実行
$ chmod 755 hello.py $ ./hello.py Hello world!
(例)
 コマンドラインから直接実行する場合 
$ python -c 'print "Hello world!"' Hello world!
Ruby
使用方法は ruby 2.0.0 を参照してください.
実行方法
(例)
 Rubyスクリプト(hello.rb)を実行する場合
 
・スクリプトの内容
$ cat hello.rb #!/usr/bin/ruby puts "Hello world!"
・スクリプトの実行
$ chmod 755 hello.rb $ ./hello.rb Hello world!
(例)
 インタラクティブに実行する場合 
$ irb irb(main):001:0> puts "Hello world!" Hello world! => nil
JDK
PATH設定
以下のコマンドを実行します.
$ export JAVA_HOME=/usr/java/jdk1.8.0_212 $ export PATH=$PATH:$JAVA_HOME/bin
コンパイル方法
以下のコマンドを実行します.
$ javac Javaプログラムファイル(xxx.java)
実行方法
以下のコマンドを実行します.
$ java クラス名(xxx)
MATLAB
起動方法
以下のコマンドを実行します.
$ matlab
Google Chrome
起動方法
以下のコマンドを実行します.
$ google-chrome
Mozilla Firefox
起動方法
以下のコマンドを実行します.
$ firefox
ASCII Tex
変換方法
以下のコマンドを実行します.
$ platex Texファイル(xxx.tex)
(例)
 sample.texをDVIファイルに変換する場合
 
$ cat sample.tex
\documentclass{jarticle}
\begin{document}
これはサンプルです。
\end{document}
$ 
$ platex sample.tex組版結果のファイル(sample.dvi)が生成されます.
dvipdfmx
変換方法
以下のコマンドを実行します.
$ dvipdfmx DVIファイル(xxx.dvi)
(例)
 sample.dviをPDFファイルに変換する場合 
$ dvipdfmx sample.dvi
PDFファイル(sample.pdf)が生成されます.
Evince
表示方法
以下のコマンドを実行します.
$ evince PDFファイル(xxx.pdf)
(例)
 sample.pdfを表示する場合 
$ evince sample.pdf
PDFファイル(sample.pdf)が表示されます.
gnuplot
起動方法
以下のコマンドを実行します.
$ gnuplot
tgif
起動方法
以下のコマンドを実行します.
$ tgif
inkscape
起動方法
以下のコマンドを実行します.
$ inkscape
dia
起動方法
以下のコマンドを実行します.
$ dia
Gimp
起動方法
以下のコマンドを実行します.
$ gimp
Ghostscript
起動方法
以下のコマンドを実行します.
$ gs
LibreOffice
起動方法
以下のコマンドを実行します.
$ soffice パラメータ
(例)
 sample.docをPDF変換し、カレントディレクトリに出力する場合. 
$ soffice --headless --convert-to pdf sample.doc
PDFファイル(sample.pdf)が生成されます.
ImageMagick
コマンド
- convert:画像のサイズ変更、フォーマット変更、画像の編集、色加工など
- mogrityt:画像を一括で処理できるコマンド
- identifyt:画像ファイルの情報やサーバ情報を取得・表示する
- montaget:画像を並べて結合する
- compositet:画像を合成する
- displayt:画像を表示する
(例)
 JPGの画像(sample.jpg)をPNG画像(sample.png)へ変換する場合. 
$ convert sample.jpg sample.png
(例)
 複数のJPG画(*.jpg)をPNG画像へ変換する場合. 
$ mogrify -format png *.jpg
Clang c++ LLVM
使用方法は clang を参照してください.