Similar documents
情報の分析 1. Linux ツールの活用

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

273? C

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

tebiki00.dvi

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

untitled

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

UNIX

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

UNIX

Microsoft PowerPoint - InfPro_I6.pptx

X Window System X X &

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

GNU Emacs GNU Emacs

unix.dvi

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

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

( ) 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

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

オンラインによる 「電子申告・納税等開始(変更等)届出書」 提出方法

山梨県ホームページ作成ガイドライン

slice00_install.dvi

untitled

MathLibre KNOPPIX (next generation) 2012 KNOPPIX/Math MathLibre KNOPPIX , KNOPPIX 6.0, next generation. KNOPPIX/Math KDE,

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

untitled

Linux Activities for Promoting Desktop Linux Utilization Jun Iio Research Center for Information Technology, Mitsubish

untitled

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

CONTENTS Web

Microsoft PowerPoint - 情報システム pptx

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

app1.id

Linux XScreenSaver T020074

( )!?

Raspberry Pi ZeroによるIoT入門


リファレンス

3 Windows

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

WebClass

Microsoft Word - マニュアル4.1J

32

2008 Linux May 12, 2008

ٽ’¬24flNfix+3mm-‡½‡¹724

5 ISMS 5 4 PC PC USB PDA 2

6. freerec P2V P2V... 4 P2V... 5 P2V

1

WebClass

数学論文の書き方 - 第1回:入門編

UNIX ( )

インターネット入門

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

付加情報をもったファイル共有システム

DCL intro Manual for Ubuntu11.10

Bento User’s Guide

MINI2440マニュアル

Flash Player ローカル設定マネージャー

橡J_ptvr_common.PDF

Asterix_Users_Manual.book

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

UNIX とは? 1969 年 米国のベル研究所で開発されたオペレーティングシステム特徴 文字ベースの対話型 OS マルチユーザ 複数のユーザが同時に利用できる マルチタスク マルチプロセス 複数の処理を平行して行える タイムシェアリング 一定の時間に区切って処理を行う 複数の処理を平行しているよう


help gem gem gem my help

LHD-LAN ...[.U.[.Y.}.j...A.. V05.p65

Transcription:

C1-202 / F-101 originally from 2014 4 15

3 1 3 C1 2 C1-202 F 1 F-101 PC imac MacPro OS Mac OS X C WWW L A TEX 2 3 4 e-mail kyama@tut.jp C-506 6767

5 2 2.1 ID ID 2.2 2.3 2.4 2.4.1 1. imac MacPro 2. 3. Mac OS X 3

6 2 2.4.2 1. 2.... 3. 4. 2.4.3 ID ID 1 1 https://imc.tut.ac.jp/config/ 2.5

2.5. 7 TA WWW 1 WWW WWW 2 [1] 3 5GB WWW ftp 300 http://www.imc.tut.ac.jp/classroom/ 1 WWW 2 3

8 2 WWW 4 4 nice 4

9 3 3.1 Mac OS X Mac OS X Macintosh OS OS Darwin POSIX UNIX 3.1 Dock [2] 3.1.1 Mac OS X Dock Dock + 3.1.2

10 3 3.1: Mac OS X 3.1.3 & Emacs, Mozilla Firefox command + c 1 Emacs Firefox command + v 3.2 UNIX UNIX UNIX UNIX Dock 3.2.1 UNIX 3.2.2 1 Windows Ctrl + c X-Window

3.2. UNIX 11 / -+- bin +- tmp : +- home -+- 0 ----+- ky003 : +- 1 ----+- e980001 -+- Mail +- report -+- kadai1.tex +- kadai2.tex +- c ------+- kadai1.c +- kadai1.o +- kadai2.c +- kadai2.o +- kadai1 +- x000002 000002 : 3.2: 2 3 UNIX 4 3.2 3.2.5 3.2.2 UNIX UNIX command option1... argument1... command options1... argument1... ls 2 3 Windows UNIX 3.2.4 4 Windows

12 3 cp -i report.txt test.txt report.txt test.txt -i test.txt 3.2.3 man command man command? 3.2.4 ls -l -rw-r--r-- 1 ky003 teacher 8201 2 22 12:19 readme.txt drwxr-xr-x 2 ky003 teacher 512 2 22 11:42 report 10 1 d - 9 3 r, w, x - readme.txt report readme.txt report report

3.2. UNIX 13 3.2.5 3.2.5.1 / 5 3.2 kadai1.tex /home/4/e980001/report/kadai1.tex 3.2.5.2 OS / 3.2 e980001 /home/4/e980001 kadai1.tex report/kadai1.tex.. 3.2 /home/4/e980001/report kadai1.c../c/kadai1.c cd cd 6 3.2 e980001 /home/4/e980001 /home/4/e980001/report cd report /home/4 cd../.. ~ /home/4/e980001/report e980001 ~/report 5 Windows 6 pwd

14 3 3.2.5.3 ls cp cp source... target source, target source target target source source target -r source target mv mv source... target rm rm file... -r 7 cat less 3.2.5.4 mkdir, rmdir rm -r 3.2.5.5 chmod chmod mode file... chmod g+w readme.txt readme.txt chmod go-r readme.txt readme.txt 7 Windows -r -i

3.2. UNIX 15 8 3.2.6 *:.?: 1 [abc...]: abc... 1 [a-b]: a b 1 3.2 /home/4/e980001/c kadai?.c: kadai1.c, kadai2.c *1.*: kadai1.c, kadai1.o kadai[12].o: kadai1.o, kadai2.o kadai1.[a-z]: kadai1.c, kadaic.o 3.2.7 UNIX 9 Windows GUI UNIX UNIX < > sort 1 sort 8 9 ls

16 3 sort < data.txt sort > result.txt sort < data.txt > result.txt data.txt result.txt data.txt less sort < data.txt less L A TEX ls -lr grep.tex$ wc -l ls grep.tex wc grep 3.2.8 10 bash 3.2.8.1 bash Ctrl-b 11 : 1 Ctrl-f : 1 Ctrl-d : 1 Ctrl-h delete : 1 10 cd 11 Ctrl-b Ctrl Control b

3.3. 17 3.2.8.2 TAB TAB 3.2.8.3 bash Ctrl-p, : Ctrl-n, : 3.2.8.4 Ctrl-c q Ctrl-z fg bg 3.3 3.7 & 3.3 Emacs 12 Emacs C WWW HTML 3.6 L A TEX UNIX 12 vi

18 3 3.3.1 Emacs Emacs sample.txt emacs sample.txt Emacs Emacs Dock Emacs Emacs Emacs Emacs Ctrl-x 5 2 Emacs 3.3.2 3.1 Emacs [3] C-x : Ctrl x M-x : x command 13 3.4 3.2 UTF-8 Emacs EUC Emacs 14 Emacs J: JIS, S: Shift-JIS, E: EUC, u: UTF-8 1. M-x 2. set-buffer-file-coding-system 3. Coding system for saving file (default, nil): 13 ESC M-x ESC x 14 MS-DOS/Windows Shift-JIS nkf Emacs

3.5. 19 3.1: Emacs C-f ( ) C-b ( ) C-n ( ) C-p ( ) C-SPACE C-w M-w C-y C-k C-s M-% C-/ C-g C-x C-f C-x C-s C-x C-w C-x C-i C-x 5 2 C-x C-c C-\ 1 1 1 1 Emacs Emacs ON/OFF JIS iso-2022-jp EUC euc-japan Shift-JIS sjis-dos Windows sjis-unix Unix UTF-8 utf-8 3.5 3.5.1 Web mail Web mail 3.5.1.1 1. Firefox Safari 2. URL URL: https://imc.tut.ac.jp/mail 3.

20 3 3.2: SPACE, SPACE SHIFT + 1 SHIFT + 1 Webmail 3.5.1.2 Sent 3.5.2 Mozilla Thunderbird 3.6 L A TEX L A TEX WWW [4] example.tex Finder Dock ptex pdf EUC OS ps301, ps302

3.7. WWW 21 3.7 WWW 3.7.1 WWW WWW Firefox Safari Dock 3.7.2 public html HTML http://www.educ.cs.tut.ac.jp/~ / URL public html public html educ.cs.tut.ac.jp 3.8 GNUPLOT Dock GNUPLOT PostScript [5] 3.9 OS command + shift + 3 command + shift + 4 SPACE [6] 3.10 3.10.1 C GNU C gcc C [7] WWW FAQ [8] [9] gcc C example.c gcc example.c

22 3 a.out./a.out 1 gcc example1.c example2.c -o gcc -o execfile example.c a.out execfile -l libm gcc -o execfile example.c -lm -I -L ~/MyInclude ~/MyLib gcc -I /MyInclude -L /MyLib -o execfile example.c -lm Makefile 3.10.2 C++ GNU C++ g++ 3.10.3 Java JDK 1.6.0 3.10.4 Perl Perl 5.10.0 perl Perl [10] WWW Perl [11] [12] 3.10.5 Make GNU Make make

3.11. 23 3.10.6 GNU debugger gdb 3.11 PS 2 ps301, ps302 pdf OS ps301, ps302 L A TEX 3.6 GNUPLOT 3.8 PostScript PostScript xxx.ps lpr -Pprintername psfilename PostScript lpr lpq lpq -Pprintername lprm 100 http://www.imc.tut.ac.jp/classroom/ 3.12 Emacs trr trr Emacs M-x trr 3.13 USB imac MacPro USB USB USB

24 3 3.14 3.14.1.bashrc bash.bashrc.bashrc 3.14.1.1 PATH= ~/bin PATH=~/bin:$PATH 3.14.1.2 exportvariable=value export EDITOR=vi EDITOR vi

3.14. 25 3.14.1.3 alias cp= cp -i cp foo.c./bar cp cp -i cp -i foo.c./bar 3.14.2 Emacs.emacs.el Emacs.emacs.el [3]

27 [1] http://www.cgh.ed.jp/netiquette/ [2] Mac http://www.apple.com/jp/findouthow/mac/ [3] GNU Emacs Manual, FAQ http://flex.phys.tohoku.ac.jp/texi/emacs-jp/emacs-jp toc.html http://flex.phys.tohoku.ac.jp/texi/faq-jp/faq-jp toc.html [4] TeX Wiki http://oku.edu.mie-u.ac.jp/~okumura/texwiki/ [5] gnuplotj http://robotics.me.es.osaka-u.ac.jp/~masutani/software/gnuplotj.html [6] Mac OS X http://support.apple.com/kb/ht1343?viewlocale=ja JP&locale=ja JP [7] C 2 ANSI, B. W. and D. M. ( ), ( ),, 1989. [8] C FAQ http://www.kouno.jp/home/c faq/ [9] Indian Hill Style Guide C http://www.gfd-dennou.org/arch/comptech/cstyle/ [10] Perl <VOLUME1><VOLUME2>, L. and J. and T. ( ), ( ),, 2002. [11] Perl http://itpro.nikkeibp.co.jp/article/column/20080528/304529/ [12] perl texinfo http://flex.ee.uec.ac.jp/texi/perl/perl toc.html