The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Test
By Guest on 22nd April 2019 08:23:26 AM | Syntax: BASH | Views: 19



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. banner()
  2. {
  3.   echo "+------------------------------------------+"
  4.   printf "| %-40s |\n" "`date`"
  5.   echo "|                                          |"
  6.   printf "|`tput bold` %-40s `tput sgr0`|\n" "$@"
  7.   echo "+------------------------------------------+"
  8. }
  9.  
  10. banner "Starting the Job"
  11. sleep 3



  • Recent Pastes