Berkeley CSUA MOTD:Entry 22215
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/24 [General] UID:1000 Activity:popular
5/24    

2001/8/22-24 [Computer/SW/Languages, Computer/SW/Unix] UID:22215 Activity:nil
8/22    In bourne shell, what does the following mean? "exec 0<&5 5<&-"
        \_ Close file descriptor 0 (standard input), and replace it with
           a copy of file descriptor 5; then close file descriptor 5.