mirror of https://github.com/fengyuhetao/shell.git
8 lines
133 B
Bash
8 lines
133 B
Bash
|
#!/bin/bash
|
||
|
# testing inpiut/output file descriptor
|
||
|
|
||
|
exec 3<> test
|
||
|
read line <&3
|
||
|
echo "Read: $line"
|
||
|
echo "This is the test line" >&3
|