tebiki00.dvi

Similar documents
X Window System X X &

GNU Emacs GNU Emacs

UNIX

スパコンに通じる並列プログラミングの基礎

スパコンに通じる並列プログラミングの基礎

UNIX version Copyright c Daikoku Manabu 1 UNIX 1.1 UNIX UNIX UNIX OS Windows UNIX UNIX UN

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

unix.dvi

スパコンに通じる並列プログラミングの基礎

untitled


LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License

kiso2-01.key

a0postercls? Gerlinde Kettl, Matthias Weiser T E Xmacro wwwctanorg/tex-archive/macros/latex/contrib/a0poster LAT E X

GNUPLOT GNUPLOT GNUPLOT 1 ( ) GNUPLO

UNIX

図 1: 場所をクリックし ホームフォルダーをクリックすると (上図) ホーム フォルダー下にあるファイルやディレクトリの一覧を見ることができる 下図 2

スライド 1

I #2 : ( 8-13), () URL : j inoue/prog2007/prog2007.html

kiso2-01.key

273? C

2 Windows 10 *1 3 Linux 3.1 Windows Bash on Ubuntu on Windows cygwin MacOS Linux OS Ubuntu OS Linux OS 1 GUI Windows Explorer Mac Finder 1 GUI

Unix * 3 PC 2 Linux, Mac *4 Windows Cygwin Cygwin gnuplot Cygwin unix emulator online gnuplot *5 matplotlib *6 SuperMongo *7 gnuplot gnuplot OS *8 Uni


A

I 2 tutimura/ I 2 p.1/??

Microsoft PowerPoint - スハ?コン利用入門_ _UNIX利用の基礎知識.pptx

スライド 1


OS fvwm fluxbox

平成12年度 計算機数学 火・1

1) : man [ ] 1: $ man ls ls ( jman) 2: $ man 3 printf C printf 3 man 1: 2: UNIX 3: 4: 5: 6: 7: 8: man man man -k 2) : ls [options] 1: $ ls /etc [ or ]

Microsoft PowerPoint - InfPro_I6.pptx

( ) 1 Windows HTML ( ) ( ) ( ) WWW 10 ( )

PowerPoint プレゼンテーション - 物理学情報処理演習

05 I I / 56

UNIX ( )

2004/12/16 texsan/shelx97/kenx Windows XWindows

本 日 の 授 業 内 容 最 低 限 覚 えるべきUNIXコマンド pwd, ls, mkdir, cd, cp, rm, mv テキストエディタの 簡 単 な 使 い 方 テキストエディット, Jedit X,Emacs C 言 語 プログラミングの 初 歩 hello, world を 画 面

cpall.dvi

<4D F736F F F696E74202D E3F FC96E55F F554E CC8AEE D8EAF2E B8CDD8AB B83685D>

syspro-0405.ppt

情報処理概論(第二日目)

PowerPoint プレゼンテーション

-2 gnuplot( ) j ( ) gnuplot /shell/myscript 1

etrust Access Control etrust Access Control UNIX(Linux, Windows) 2

I I / 68

Informatics 2010.key

情報活用資料

情報処理概論(第二日目)

PowerPoint Presentation

2008 Linux May 12, 2008

n 第1章 章立ての部分は、書式(PC入門大見出し)を使います

情報処理概論(第二日目)

Microsoft Word - C.....u.K...doc

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi

TeraTerm Pro V.2.32の利用法

x1 GNUPLOT 2 x4 12 x1 Gnuplot Gnuplot,,. gnuplot, PS (Post Script), PS ghostview.,.,,,.,., gnuplot,,, (x2). x1.1 Gnuplot (gnuplot, quit) gnuplot,. % g

利用の手引き (VOS3)

DCL intro Manual for Ubuntu11.10

1 I EViews View Proc Freeze

Java Desktop System Release 3 ㅦㅼㇶㅼㇺ㇬㇤ㅛ

2 A I / 58

PowerPoint プレゼンテーション

programmingII2019-v01

dvi

Linux XScreenSaver T020074

1.3 2 gnuplot> set samples gnuplot> plot sin(x) sin gnuplot> plot [0:6.28] [-1.5:1.5] sin(x) gnuplot> plot [-6.28:6.28] [-1.5:1.5] sin(x),co

160420c_unix.pptx

1 1.1 (JCPRG) 30 Nuclear Reaction Data File (NRDF) PC GSYS2.4 JCPRG GSYS2.4 Java Windows, Linux, Max OS X, FreeBSD GUI PNG, GIF, JPEG X Y GSYS2

B 20 Web

プログラミング演習Ⅱ ガイダンス

170420_unix.pptx

( ) Shift JIS ( ) ASCII ASCII ( ) 8bit = 1 Byte JIS(Japan Industrial Standard) X 0201 (X ) 2 Byte JIS ISO-2022-JP, Shift JIS, EUC 1 Byte 2 By

Informatics 2015

note.dvi

CentOSv2_furoku

Informatics 2014

VNX for Fileでの監査ツールの構成および使用

PowerPoint プレゼンテーション


WebOS aplat WebOS WebOS 3 XML Yahoo!Pipes Popfry UNIX grep awk XML GUI WebOS GUI GUI 4 CUI

2 I I / 61

2.2 Sage I 11 factor Sage Sage exit quit 1 sage : exit 2 Exiting Sage ( CPU time 0m0.06s, Wall time 2m8.71 s). 2.2 Sage Python Sage 1. Sage.sage 2. sa

Linux 利用の手引き ( 基本編 ) Linux 手引き ( 基本編 )-1 総合情報センター 2018 年 3 月版 総合情報センター 1 概要 Linux システム Linux 起動 サインイン Gnome ウインドウ メニュー操作

情報活用資料


Microsoft Word - SuSE Linuxクラスター運用の手引き

2 1. Ubuntu 1.1 OS OS OS ( OS ) OS ( OS ) VMware Player VMware Player jp/download/player/ URL VMware Plaeyr VMware

PowerGres on Linux HAマニュアル


Łñ“’‘‚2004

プリント

C

Compiled MODELSでのDFT位相検出装置のモデル化と評価

untitled

3 4 17:00 Address: ( ) (Subject) ( ) LeapMotion EyeTribe Processing LeapMotion EyeTribe 1. Mac OS X, LeapMotion, EyeTribe, Proces

Microsoft PowerPoint - JohoEnshuu06_07.ppt

̤Äê


Transcription:

(Linux) [ UNIX ] CMD Workshop ( ) 1

*********************************************************************** * Linux PC-UNIX UNIX * * 99% FreeBSD BSD PC-UNIX * * * *********************************************************************** ======================================================================= Linux CUI UNIX MS-Windows GUI CUI GUI GUI : Graphical User Interface CUI : Character (Based) User Interface UNIX UNIX MS-Windows MS- Windows 2

UNIX UNIX ( ) UNIX UNIX(Linux) ssh, telnet, rlogin UNIX: kterm (or xterm) ssh -X xxx.yyy.osaka-u.ac.jp telnet xxx.yyy.osaka-u.ac.jp rlogin xxx.yyy.osaka-u.ac.jp (xxx.yyy -X X-window ) Windows: teraterm ID )kterm, xterm )telnet, rlogin ssh (secure shell) 3

command [-option] [filename] man ( - kterm xterm ) kterm (or xterm) exit UNIX *** UNIX *** ) ----------------------------------- kterm (ctrl) d k ctrl+d ( ) ctrl+k ( ) )Delete UNIX 4

) (manual) ----------------------------- man man man cd man ls man mkdir man mail man fort77 Q ) (Windows ------------------------------------------------------------ (change directory) cd.. ( ) cd ( ) cd test1 ( test1 ) )... mkdir ( ) rmdir ) ----------------- ( ) (list) ls ( ) ls -alf ( : ) 5

ls test2 ( test2 ) (concatenate) cat test.f (test.f ) ) ( a.out) cp a.out test.exe (move) mv a.out test.exe (a.out test.exe ) (remove) rm a.out (a.out ) ) ---------------------------------- xterm & ( xterm xterm ) kterm & ( kterm kterm ) & gedit & (gedit MS-Windows ) emacs & (emacs ) vi (emacs vim ) emacs vi 6

(no window ) xterm (or kterm) emacs -nw 1) & X- (UNIX ) 2) xterm (kterm) emacs (or xemacs) emacs UNIX (UNIX emacs vi ) 3) 4) vi vi vim vi vim emacs & emacs -nw vi 7

) ( ) ------------------------------------------------------- ps ( ) ps -aux ( ) kill 1120 (1120 ) kill -9 1120 ( 1120 ) ctrl+c ( ) 1) ctrl+z ( ) bg ( ) fg ( ) ) ---------------------------------- UNIX tar.gz,.tgz xxx, xxx tar czvf yyy.tgz xxx xxx tar xzvf yyy.tgz czvf, xzvf (c:create, x: extract, z: zipped, v:verbose, f:file) 8

)UNIX zip MS-Wondows zip MS-Windows winzip ) ( ( ) -------------------------------------------------------- CR( ) *** X-Wondows *** X-Window (UNIX ) fortran xterm (or kterm) gedit (or emacs, vi ) gedit (or emacs) xterm ( ) kterm gedit(or emacs, vi) 9

*** emacs *** CTRL Ctrl ESC Esc SPACEbar + --> [ ] emacs [file name]& ( ) emacs -nw [file name] ( ) [file name] CTRL+s CTRL+xc [ ] CTRL+s --> CTRL+s CTRL+SPACEbar --> --> ESC --> w CTRL+SPACEbar --> --> CTRL+w 10

( ) --> CTRL+y CTRL+g *** vi or vim *** vi ex --> ESC Esc ENTER Enter --> [ ] vi [file name] [file name] (write) ESC --> : --> w! w file-name (quit) ESC --> : --> q! wq! [ ] (input, append, or open) --> i (or a) --> i --> ENTER 11

o ESC --> / --> ESC --> x ESC --> dd ESC --> yw (yank) ESC --> yy ( paste) ESC --> p ESC --> P ESC --> : --> e! a: i, a, o ESC b: ex : ENTER c ex 12

*** fortran compile, *** a) xterm kterm b) gedit& emacs& ( ) emacs -nw or vi c) ( ) d) ( test.f ) e) xterm ifort test.f (test.f a.out ) ifort fortran77 f77,g77, fort77 f) xterm./a.out ( a.out ) c) e) c) f) 1)./a.out > outf (outf ) " " " " UNIX " " UNIX ls -aux less 2) ctrl+c 3) & JOB JOB ps kill 4) 13

5) (C FORTRAN a.out) a.out *** *** a) kterm & (xterm &) b) fortran (gedit or emacs or vi) x- y- ( plot.data) ( fortran./a.out >plot.data ) c) kterm & gnuplot gnuplot d) plot "plot.data" quit eps d) set terminal postscript eps set output "plot.eps" plot "plot.data" with lines f)plot.eps kterm ghostview plot.eps & print ghostview gv gnuplot gnuplot 14

prog.f90! ifort prog.f90./a.out input c!====== A very simple program prog.f90 ============== real::a,b,c,d,e,f,g integer::i,j,k a=1.0 b=2.0 write(*,*) a,b=,a,b print *, input c read(*,*) c d=a+b+c! addition write(*,*) a,b,c,d=,a,b,c,d d=d+a! Is this correct? Yes. write(*,*) a,d=,a,d e=a/c! division f=a*c! multiplication g=a**c! power write(*,*) a,c,d,e,f=,a,c,d,e,f d=d+a! What is the answer? Why? write(*,*) a,d=,a,d 15

i=5.5 j=2 k=i/j! What is the answer? Is your answer correct? write(*,*) i,j,k=,i,j,k stop end 16