Welcome to Warped Systems Thursday, December 01 2022 @ 01:56 PM CST  
About Us |  Projects |  Services |  Shop | 
Main Menu
Submit Article
 RSS Feed

User Functions


Don't have an account yet? Sign up as a New User

Who's Online
Guest Users: 26

Commonwealth Playlist
A Fan's Guide To Boxing

Recommended Sites
Linux Today
Linux Weekly News

pix pix pix
Using Named Pipes (FIFOs) with Bash   
Saturday, March 28 2009 @ 10:57 AM CST
Contributed by: Linegod

HowtoWhy might you want to use a named pipe in a shell script? One situation might be when you've got a backup script that runs via cron, and after it's finished, you want to shut down your system. If you do the shutdown from the backup script, cron never sees the backup script finish, so it never sends out the e-mail containing the output from the backup job. You could do the shutdown via another cron job after the backup is "supposed" to finish, but then you run the risk of shutting down too early every now and then, or you have to make the delay much larger than it needs to be most of the time.

Read the full thing at

  [ Views:: 1,647 ]  
pix pix pix

Story Options

  • Printable Story Format
  • Trackback

    Trackback URL for this entry:

    No trackback comments for this entry.
    Using Named Pipes (FIFOs) with Bash | 0 comments | Create New Account
    The following comments are owned by whomever posted them. This site is not responsible for what they say.

    Created this page in 0.05 seconds

     Copyright © 2022 Warped Systems
     All trademarks and copyrights on this page are owned by their respective owners.
    Subscribe in a reader
    J.P. Pasnak
    Powered By