¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè11²ó

Similar documents
¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè3²ó


A

GNU Emacs GNU Emacs

X Window System X X &

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè7²ó

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè3²ó

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

CentOSv2_furoku

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè3²ó

K-BASIC 1st: ユニケージ基礎編(前編)

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

untitled

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

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè10²ó

UnixText2.pptx

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

fx-9860G Manager PLUS_J

UNIX


ProVAL Recent Projects, ProVAL Online 3 Recent Projects ProVAL Online Show Online Content on the Start Page Page 13

/

13 Student Software TI-Nspire CX CAS TI Web TI-Nspire CX CAS Student Software ( ) 1 Student Software 37 Student Software Nspire Nspire Nspir

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1

double float

作業手順手引き

ビッグデータアナリティクス - 第3回: 分散処理とApache Spark

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

MU120138A 10ギガビットイーサネットモジュール 製品紹介

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

ゲートウェイのファイル形式

Microsoft Word - Live Meeting Help.docx

1 CUI CUI CUI 1.1 cout cin redirect.cpp #i n c l u d e <s t r i n g > 3 using namespace std ; 5 6 i n t main ( void ) 7 { 8 s t r i n g s ; 10 c

ゲートウェイ ファイル形式

r08.dvi

18/02/18 14:39 PAGE : : : : : : : : :

ohp08.dvi

Introduction Purpose This training course describes the configuration and session features of the High-performance Embedded Workshop (HEW), a key tool

tebiki00.dvi

New version (2.15.1) of Specview is now available Dismiss Windows Specview.bat set spv= Specview set jhome= JAVA (C:\Program Files\Java\jre<version>\

syspro-0405.ppt

unix.dvi

2008 Linux May 12, 2008

160420c_unix.pptx

フィルタとは

2.4.7 \ AWK AWK......

Elastic stack Jun Ohtani 1

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

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè2²ó

ユーザ デバイス プロファイルの ファイル形式

. ωcen ωcen Bellini et al.2009 HR Horizontal Branch VizieR VizieR Catalog Service Row Selection All Rows Keyword omega cen Catalogue Selection UBV(RI)

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

0.2 Button TextBox: menu tab 2

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

1 ( ) Level ################# #myls # ################ #!/bin/sh # if [ $# -eq 0 ] ; then pw=. elif [ $# -eq 1 ] ; then pw $1 else echo

Networking Semester 802.3

Red Hat Enterprise Linux 6 Portable SUSE Linux Enterprise Server 9 Portable SUSE Linux Enterprise Server 10 Portable SUSE Linux Enterprise Server 11 P

fp.gby

B 20 Web

電話機のファイル形式

スライド タイトルなし

170420_unix.pptx

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )

I J

help gem gem gem my help

E MathML W3C MathJax 1.3 MathJax MathJax[5] TEX MathML JavaScript TEX MathML [8] [9] MathSciNet[10] MathJax MathJax MathJax MathJax MathJax MathJax We

haskell.gby

Specview Specview Specview STSCI(Space Telescope SCience Institute) VO Specview Web page htt

untitled

csj-report.pdf

fuzzing

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

LiveCode初心者開発入門サンプル

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology

I I / 68

TC5.ids

Quickstart Guide 3rd Edition

RouteMagic Controller RMC-MP200 / MP Version

Microsoft Word - Meta70_Preferences.doc

JC オンライン投稿の操作方法について(mac) 2011_9 FINAL

Step 1 Feature Extraction Featuer Extraction Feature Extraction Featuer Extraction Image Analysis Start>Programs>Agilent-Life Sciences>Feature Extract


Jacques Garrigue

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

1. 1 DBMS Unix (USP ) ( )[3] 20 UNIX [2] KISS UNIX 1. 2 (Tukubai ) Unix OS Unix USP Tukubai Tukubai 1. 3 Unix SQL Tukubai usp Tukubai Open usp Tukubai

AuthorManual_JSTP.ppt

8 P2P P2P (Peer-to-Peer) P2P P2P As Internet access line bandwidth has increased, peer-to-peer applications have been increasing and have great impact

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

sed, awk 生物学で公開されるデータの形式の多くがascii text fasta, fastq, sam, bed, wig, その他独自の形式,... プログラムの入力や出力を整形する作業が生じる パールのようなもの に頼る Perl, Python, Ruby,... ( 小さな )gl

東京エリアDebian勉強会   Buffalo Linkstation向け Debian Installer - 第139回 2016年5月度

Microsoft Word - ReadMe(MT-UNIX).doc

170403_1_FABEX_2017会場案内マップ

HIS-CCBASEver2

13

05 I I / 56

RT300i/RT140x/RT105i 取扱説明書


Transcription:

11 2013 6 19

11 (6/19) 6 (18:10-19:40) λ13 UNIX : 2 / 26

UNIX UNIX sort, head, tail, cat, cut diff, tee, grep, uniq, wc join, find, sed, awk, screen 3 / 26

sort sort : $ sort [options] [FILE...] options ( ) -n : -r : -k POS1[,POS2] : (1 ) -t SEP : -m : -T DIR : : file 3 /usr/tmp $ sort -nr -k3,3 -T/usr/tmp file 4 / 26

head head : 10 : head [-n lines -c bytes] [file...] $ sort -n -k3,3 head -n 10 5 / 26

tail tail : 10 tail [-F -f -r] [-q] [-b number -c number -n number] [file...] : -f : monitor a log file: $ tail -f /var/log/httpd-access.log 6 / 26

cat cat : ( ) cat [-benstuv] [file...] : $ cat file1 file2 > file3 7 / 26

cut cut : cut -b list [-n] [file...], cut -c list [file...], cut -f list [-s] [-d delim] [file...] : -b BYTE-LIST : -c CHAR-LIST : -f FIELD-LIST : -d DELIM : extract users login names and shells from the system passwd file: $ cut -d : -f 1,7 /etc/passwd show the names and login times of the currently logged in users: $ who cut -c 1-16,26-38 8 / 26

diff diff : diff [OPTION]... FILES -u : unified diff format : $ diff -u file1 file2 9 / 26

tee tee : tee [-ai] [file...] : $ ls tee output.txt 10 / 26

grep grep : PATTERN grep [options] PATTERN [FILE...] grep [options] [-e PATTERN -f FILE] [FILE...] : search lines including abc : $ grep abc file count the number of lines starting with abc : $ grep -c ^abc file 11 / 26

uniq uniq : uniq [-c -d -u] [-i] [-f num] [-s chars] [input_file [output_file]] : -d : $ cat file1 file2 sort uniq > file3 $ sort file uniq -d 12 / 26

wc wc : wc [-Lclmw] [file...] 13 / 26

join join : join [-a file_number -v file_number] [-e string] [-o list] [-t char] [-1 field] [-2 field] file1 file2 : $ cat file1 1001 orange 1002 apple 1003 grape $ cat file2 1001 400 1002 250 1004 500 $ join file1 file2 1001 orange 400 1002 apple 250 $ join -a1 -a2 -e NULL -o 0,1.2,2.2 file1 file2 1001 orange 400 1002 apple 250 1003 grape NULL 1004 NULL 500 14 / 26

find find : find [-H -L -P] [-EXdsx] [-f pathname] pathname... expression find [-H -L -P] [-EXdsx] -f pathname [pathname...] expression : print files with ".rej" suffix: $ find. -name "*.rej" -print print ".o" files older than 1 year $ find. -name "*.o" -mtime +365 -print remove empty files: $ find. -empty -exec rm {} \; 15 / 26

sed (streaming editor) sed : sed [-Ealn] command [file...] sed [-Ealn] [-e command] [-f command_file] [-I extension] [-i extension] [file...] : -e command : -f command file : replace "old" by "new": $ echo "old songs in old books" sed s/old/new/g print line 3-5: $ sed -n 3,5p file 16 / 26

awk awk : 1 awk [ -F fs ] [ -v var=value ] [ prog -f progfile ] [ file... ] : swap column1 and colimn2 and add sum to column3: $ echo "12 56" awk {print $2,$1,$1+$2} extract the capacity in percent from the df command: $ df awk match($0, /[0-9]+%/) {print substr($0, RSTART, RLENGTH - 1)} 17 / 26

screen screen : ( ) screen : screen ctrl-a d : detach screen -r : 18 / 26

N 19 / 26

: : ( ) 20 / 26

tcpdump: wireshark: GUI LAN IDS 21 / 26

wireshark : UNIX,Windows,Mac : pcap, pcap-ng, etc. ( ) 22 / 26

wireshark main window menu: main toolbar: filter toolbar: packet list pane: packet details pane: packet bytes pane: 16 statusbar: 23 / 26

wireshark wireshark user s guide http://www.wireshark.org/docs/wsug_html_chunked/ 2 Wireshark.. 2012. wireshark wiki sample captures http://wiki.wireshark.org/samplecaptures capture files used in Practical Packet Analysis, 2nd Edition http://nostarch.com/packet2.htm packet traces from WIDE backbone http://mawi.wide.ad.jp/mawi/ 24 / 26

: wireshark 25 / 26

[1] Ruby official site. http://www.ruby-lang.org/ [2] gnuplot official site. http://gnuplot.info/ [3] Mark Crovella and Balachander Krishnamurthy. Internet measurement: infrastructure, traffic, and applications. Wiley, 2006. [4] Pang-Ning Tan, Michael Steinbach and Vipin Kumar. Introduction to Data Mining. Addison Wesley, 2006. [5] Raj Jain. The art of computer systems performance analysis. Wiley, 1991. [6] Toby Segaran. ( )... 2008. [7] Chris Sanders. ( ). 2 Wireshark.. 2012. [8]... 2011. [9],.., 2010. [10],.., 2009. 26 / 26