$author = "Adam W" ; > > What does 2>&1 mean in a shell script??
their are two types of output, standard output and standard error. when you redirect on the commandline you usually only redirect standard output which means that all information messages will be redirected but any error messages will output to the console. adding 2>&1 redirects standard error to standard output and hence any redirect you do to standard output also captures error messages. try 'man bash' and search for REDIRECTION marty -- Close your brown eyes, And lay down next to me. Close your eyes, lay down. 'Cos there goes the fear, Let it go. "There Goes the Fear" - Doves -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
