Results 1 to 3 of 3

Thread: Difference in Input Redirection syntax.

  1. #1
    Join Date
    Sep 2021
    Location
    Costa Rica
    Beans
    12
    Distro
    Ubuntu 20.04 Focal Fossa

    Difference in Input Redirection syntax.

    Hello there,

    Could somebody kindly explain the difference between these if any:

    a) x &> Nfile

    b) x 2>&1 Nfile


    Thank you in advace.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Difference in Input Redirection syntax.

    Reads like a homework problem. https://github.com/jlevy/the-art-of-command-line has a section on redirection, as will any beginning level Unix/Linux book.
    stdout vs stderr

  3. #3
    Join Date
    Sep 2021
    Location
    Costa Rica
    Beans
    12
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Difference in Input Redirection syntax.

    Quote Originally Posted by TheFu View Post
    Reads like a homework problem. https://github.com/jlevy/the-art-of-command-line has a section on redirection, as will any beginning level Unix/Linux book.
    stdout vs stderr

    Thank you again.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •