unix.dvi

Similar documents
UNIX

untitled

dvi

tebiki00.dvi

Linux XScreenSaver T020074

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

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

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

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

Raspberry Pi ZeroによるIoT入門

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

RouteMagic Controller RMC-MP200 / MP Version

GNU Emacs GNU Emacs

RouteMagic Controller RMC-MP200 / MP Version

X Window System X X &

RouteMagic Controller( RMC ) 3.6 RMC RouteMagic RouteMagic Controller RouteMagic Controller MP1200 / MP200 Version 3.6 RouteMagic Controller Version 3

Add-onアプリケーション開発 - 環境構築マニュアル -

1 1 CentOS Java JDK(JavaSE Development Kit)......

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

P X-M04-00 PowerChute Network Shutdown PowerChute Network Shutdown Standard v2.2.3a / Enterprise v2.2.3v PowerChute Network Shutdown Standard


ファイルシステム

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

untitled

Microsoft PowerPoint - InfPro_I6.pptx

CMS入門

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

,,.,,., II,,,.,,.,.,,,.,,,.,, II i

slice00_install.dvi

273? C

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

PowerPoint Presentation

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

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

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

Microsoft Word - Document forADMIN.doc

syspro-0405.ppt

untitled

LHD-LAN_E_G_PDF.}.j...A...p65

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

橡環境設定.PDF

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

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

ql tar.gz の展 9 開 # su - $ cd /usr/local/src/ $ tar xvzf ql tar.gz PostgreSQL(9.2.4) のインストール $ ls -l /usr/local/src/ drwxrwxr-x 月

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

3.2.3 MSDOS,N88BASIC

Systemwalker IT Service Management Systemwalker IT Service Management V11.0L10 IT Service Management - Centric Manager Windows

WinDriver PCI Quick Start Guide

2008 Linux May 12, 2008

Microsoft Word - D JP.docx

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

Logitec NAS シリーズ ソフトウェアマニュアル

PowerGres on Linuxマニュアル

Logitec NAS シリーズ ソフトウェアマニュアル

OpenCV Windows(cygwin) Linux USB PC [1] Inel OpenCV OpenCV 1 Windows Linux OpenCV (a) (b)2 (c) (d) 1: OpenCV 1

外部SQLソース入門

EPSON ES-D200 パソコンでのスキャンガイド

untitled

DCL intro Manual for Ubuntu11.10

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

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

USB FDD ユーザーズマニュアル


Transcription:

1 UNIX 1999 4 27

1 UNIX? 2 1.1 Windows/Macintosh? : : : : : : : : : : : : : : : : : : : : : : : : 2 1.2 UNIX OS : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 2 1.3 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 2 1.4 UNIX : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 3 1.5 Windows Linux : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 3 1.6 UNIX Window : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 4 2 ssh 5 2.1 ssh : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 5 2.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 5 3 8 3.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 8 3.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 8 3.2.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 8 3.2.2 mikilab : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 9 3.2.3 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 10 3.3 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 10 3.3.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 10 3.3.2 : : : : : : : : : : : : : : : : : : : : : : : : 10 3.3.3 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 11 3.3.4 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 11 3.4 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 12 3.4.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 12 3.4.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 13 3.5 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 14 3.5.1 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 14 3.5.2 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 14 3.5.3 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 14 3.5.4 / : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 14 3.6 : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 16 3.6.1 logout : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 16 3.6.2 passwd : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 16 1

1 UNIX? 1.1 Windows/Macintosh? UNIX Windows Macintosh UNIX Windows UNIX UNIX UNIX Linux 1.2 UNIX OS UNIX 1 UNIX Windows Macintosh OS 2 Windows95 Windows Internet Explorer 3 Windows Linux 80386,16MB Windows 1.3 UNIX Linux Windows CD-ROM OS 4 Visual C++ Borland C++ GNU 5 gcc make OS 6 gcc make 7 gcc 1 Sun Solaris 2 Linux OPENSOURCE 3 4 5 Freeware Software Foundation GNU is not Unix. 6 GNU Debian Linux 7 Windows gcc POSIX Windows cygnus cygwin32 http://sourceware.cygnus.com/cygwin/ 2

1.1: Windows Linux Windows Linux OS CPU OS GUI( ) CUI( ) GUI 11 1.4 UNIX UNIX UNIX Windows UNIX OS UNIX Windows UNIX 8 UNIX Word 9 ( ) 10 1.5 Windows Linux Windows Linux 1.1 Windows GA Linux Windows UNIX UNIX 8 tar gzip 9 dpnote Word97 Windows 10 11 1.6 3

1.6 UNIX Window UNIX UNIX X Window X Window 1. OS GUI UNIX X Window Windows 2. & 1 X Window X Window 1 Windows GUI 1 1 3. Window X Window Windows Explorer 4

2 ssh 2.1 ssh UNIX ssh telnet X-Window 1 X-Window ssh Windows 2 Tera Term Pro(http://hp.vector.co.jp/authors/VA002416/) Tera Term Pro ssh http://www.zip.com.au/~roca/ttssh.html Robert O'Callahan Tera Term Pro TTSSH ssh ttinst cosmos DIA shared ttinst ttinst.exe cosmos DIA shared ttinst ttinst.exe ttinst.exe 2.1 OK Tera Term Pro 2.2 2.2 2.1 ssh ssh - cosmos 2.3 Continue μ cosmos 3 2.4 known_hosts 2.1: 1 rev.1 2 ( ) ssh telnet X Window xterm kterm 5

2.2: 2.5 User name μ Passphrase 4 [Use plain password to μ μ log in] OK Enter passwd ( ) apple 5 mikilab 3 Last login: Sun Apr 18 16:57:05 1999 from 192.168.6.*** You have mail. [kawasaki@mikilab ~]$ passwd Changing password for kawasaki (current) UNIX password: pipin@ 6 New UNIX password: apple 6 BAD PASSWORD: is too simple New UNIX password: Rh345!sa 6 Retype new UNIX password: Rh345!sa 6 passwd: all authentication tokens updated successfully [kawasaki@mikilab ~]$ ssh mikilab cosmos ssh telnet 3 known hosts RSA 2.3 4 5 passwd 6 6

2.3: 2.4: 2.5: SSH 7

3 3.1 Telnet,ssh,X-Window 1 3.2.1 3.3 3.4 3.5 3.6 3.2 3.2.1 UNIX UNIX 2 3 3.4 UNIX / / 3.1 4 KD103 KD201 KD302 3-102 3-201 3-202 KD103 KD201 KD302 1 MS-Windows 2 MS-Windows 3 4 8

3.1: 3.2: mikilab 3.2.2 mikilab mikilab 3.2 5 "/" 5 9

mikilab home home1 bin usr 5 kawasaki home1 public_html kouta home cdlist public_html javajava 3.2.3 UNIX kouta kawasaki /home1/kawasaki../../home1/kawasaki../ kouta../ home javajava /home/kouta/javajava kouta javajava WWWmikilab../kouta/javajava 3.3 3.3.1 3.2.1 UNIX UNIX mikilab home home1 kouta kawasaki kouta kawasaki 3.3.2 pwd pwd kouta /home/kouta 10

cd javajava cd /home/kouta/javajava cd javajava 3.3.3 ls ls ls ls -la ls /home/kouta ls /home/kouta public_html javajava cdlist ls -la /home/kouta ls -la /home/kouta drwxr-xr-x 5 kouta mikilab 1024 Apr 19 03:54. drwxr-xr-x 60 root root 2048 Apr 13 13:24.. drwxr-xr-x 3 kouta mikilab 1024 Nov 6 19:12 javajava drwxr-xr-x 7 kouta mikilab 1024 Jan 16 02:45 public_html -rw-r--r-- 1 kouta mikilab 18944 Apr 8 15:03 cdlist "d" d "rwx" 3.4 3.3.4 mkdir kouta kouta unix mkdir /home/kouta/unix kouta 3.3 rmdir kouta kouta unix 11

3.3: mkdir unix rmdir unix kouta 3.2 3.4 3.4.1 UNIX ( ) Read/Write/eXecute 3 / / / / Read/Write Read 3.3.3 ls -la ls -la drwxrwxr-x 2 sin mikilab 1024 Apr 10 01:05 students drwxr-xr-x 2 sin mikilab 1024 Jan 4 17:30 database -rw-rw-r-- 1 sin mikilab 215 Apr 10 01:08 index.html -rw-r--r-- 1 makoto mikilab 16831 Jan 9 16:55 logoisdl.gif drwxrwx--- "d" rwx / / Read Write execute rwx - 12

3.1: chmod 0 4 Read 1 execute 5 Read + execute 2 Write 6 Read + Write 3 Write + execute 7 Read + Write + execute students Read/Write/eXecute Read execute logoisdl.gif Read Write Read sin makoto mikilab mikilab -rw-r----- 1 tsuchiya student 1041 Apr 7 1997 profile.htm drwxr-xr-- 2 tsuchiya student 1024 Dec 1 23:48 seiji profile.htm execute tsuchiya student seiji public_html drwxr-xr-- 2 kouta mikilab 1041 Apr 7 1997 public_html mikilab drwxr-xr-x 2 kouta mikilab 1041 Apr 7 1997 public_html drwxrwxrwx 2 kouta mikilab 1041 Apr 7 1997 public_html 3.4.2 chmod chmod 777 filename filename 777 / / 3.1 13

chmod 777 index.html index.html rwx chmod 755 index.html index.html rwx r-x chmod 640 index.html index.html rw- r-- --- chmod 644 chmod 755 3.5 3.5.1 3.5.2 cat more cat filename more filename cat more 1 6 3.5.3 rm rm filename 3.5.4 / cp mv cp filename1 filename2 mv filename1 filename2 filename1 / filename2 / 3.4 kouta javajava janken.class public_html cp javajava/janken.class public_html 3.5 6 14

3.4: cp example 3.5: cp file dir 3.6: cp file file 3.7: cp -r dir dir 15

cp cdlist cdlist2 3.6 -r cp -r public_html/images javajava 3.7 3.6 3.6.1 logout UNIX logout 3.6.2 passwd [kouta@mikilab ~]$ passwd Changing password for kouta (current) UNIX password: New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully passwd 16