Google
 
Web www.warpedsystems.sk.ca

 Welcome to Warped Systems Tuesday, August 09 2022 @ 01:38 AM CST  
About Us |  Projects |  Services |  Shop | 
Main Menu
Home
Gallery
Submit Article
Calendar
Stats
 RSS Feed
Links
Mail
Search

User Functions
Username:

Password:

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

Who's Online
Guest Users: 18

Misc
Commonwealth Playlist
A Fan's Guide To Boxing

Recommended Sites
Linux Today
Linux Weekly News


pix 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 http://www.linuxjournal.com/content/using-named-pipes-fifos-bash

  [ Views:: 1,627 ]  
pix
pix pix pix

Story Options

  • Printable Story Format
  • Trackback

    Trackback URL for this entry: https://www.warpedsystems.sk.ca/trackback.php/20090328105730134

    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.06 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