LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Jake Hawkes <jake@infinitylimited.net>
To : Daryl Tester <dt@picknowl.com.au>
Date: Fri, 28 Apr 2000 08:09:08 +0930
Re: Protecting files against power failure
Daryl Tester wrote:
>
> David Newall wrote:
> > Files can even appear in *no* directory. (Try this:
> > bash$ exec 5>foo 6<foo; ls -l / >&5; ls -l foo; rm foo; cat <&6
could someone walk through this one?
exec 5>foo 6<foo
ls -l / >&5
ls -l foo
rm foo
cat <&6
I'm thinking that the first line is setting up IO streams, that the 2nd
and 3rd lines are putting text into those streams, an dthe 5th line is
displaying those streams.
Close?
--
Jake Hawkes, B.Eng (CSE)
"I'm only smart enough to know how stupid I am", Joe Strummer.
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page