Code...
#!/bin/bash
if [[ x$1 = x ]]; then
f=${1:-/proc/${$}/fd/0}
else
f=$1
fi
while read line
do
echo $line
done < $f'Domain > Linux' 카테고리의 다른 글
| [Linux/Ext4] Order of file list of the directory in ext4 (1) | 2015.03.09 |
|---|---|
| [Bash] signal을 받고 죽은 process의 exit code (0) | 2015.02.11 |
| [Linux] mmap and memory... (0) | 2013.10.07 |
| CoW(Copy on Write) on ARM (0) | 2013.09.26 |
| git server daemon 설치하기 (0) | 2013.06.13 |