Bash:Redirection Halts

Posted by user365828 on Stack Overflow See other posts from Stack Overflow or by user365828
Published on 2010-06-13T18:50:52Z Indexed on 2010/06/13 18:52 UTC
Read the original article Hit count: 207

Filed under:
|

I have a command e.g. ls-l > file.txt When there is insufficient space on my drive, the above command just stalls waiting for something to happen. Does anyone know about a code that I could write enabling me to display a message about the lack of space on my drive? E.g. could I use IPC or do you have any other ideas? Thanks in advance.

© Stack Overflow or respective owner

Related posts about linux

Related posts about redirection