請問">"的用法 - Linux

By Lily
at 2010-12-01T01:14
at 2010-12-01T01:14
Table of Contents
請問一下各位版友一個問題:
我的./a.out中使用read(STDIN_FILENO, buf, BUFFSIZE)與write(STDOUT_FILENO, buf
,n)
我下這樣的一個指令 ./a.out < infile > outfile
是不是以infile為輸入(stdin)到./a.out
./a.out的輸出(sdtout)到outfile
--
我的./a.out中使用read(STDIN_FILENO, buf, BUFFSIZE)與write(STDOUT_FILENO, buf
,n)
我下這樣的一個指令 ./a.out < infile > outfile
是不是以infile為輸入(stdin)到./a.out
./a.out的輸出(sdtout)到outfile
--
Tags:
Linux
All Comments

By Olivia
at 2010-12-01T10:19
at 2010-12-01T10:19

By Christine
at 2010-12-04T11:58
at 2010-12-04T11:58
Related Posts
硬碟不夠用了有辦法擴增嗎?

By Jack
at 2010-12-01T01:08
at 2010-12-01T01:08
請問刪除指令...

By Doris
at 2010-12-01T00:49
at 2010-12-01T00:49
linux使用rsync進行差異備份

By Skylar Davis
at 2010-11-30T22:07
at 2010-11-30T22:07
ftp的虛擬資料夾與實體目錄

By Joseph
at 2010-11-30T16:56
at 2010-11-30T16:56
centos ltsp client端 網卡問題

By Dinah
at 2010-11-30T13:26
at 2010-11-30T13:26