Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2010 14:02:24 +0100
From:      Stefan Miklosovic <miklosovic.freebsd@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   shell redirection
Message-ID:  <f99a79ec1002020502u10cf5040s5a5d8b49f1ff89f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hi

I have a shell script and I would like to do something like this

$ ./script.sh < somefile

After that, I can, just say, write content of that file on the screen.

I would like to know, how to do that in script, I dont know that
tricky redirection things ...

thanks a lot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f99a79ec1002020502u10cf5040s5a5d8b49f1ff89f>