lily,
@lily@glaceon.social avatar

here's a tip if a command is taking a long time and you want a notification when it's done:

^Z fg; notify-send 'done'

pressing Ctrl-Z in a terminal emulator will pause the current running command. running "fg" will resume it in the foreground, but returning to the shell has the added benefit of allowing you to queue up multiple commands in a single line (technically you can do this by blindly typing the command while something else is running (as long as that command doesn't read from stdin), but i think this is more elegant.

notify-send is from libnotify, it allows sending a desktop notification from the command line.

#linux #shell

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux
  • khanakhh
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • mdbf
  • Youngstown
  • cisconetworking
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • kavyap
  • ethstaker
  • JUstTest
  • tacticalgear
  • modclub
  • cubers
  • Leos
  • everett
  • GTA5RPClips
  • Durango
  • anitta
  • normalnudes
  • provamag3
  • tester
  • megavids
  • lostlight
  • All magazines