#!/bin/bash # Shell Script To Display MP3 file name currently playing using # beep media player # ------------------------------------------------------------------------- # Copyright (c) 2008 nixCraft project <http://www.cyberciti.biz/fb/> # This script is licensed under GNU GPL version 2.0 or above # ------------------------------------------------------------------------- # This script is part of nixCraft shell script collection (NSSC) # Visit http://bash.cyberciti.biz/ for more information. # ---------------------------------------------------------------------- lsof -F -p $(ps aux | grep "[b]eep-media-player" | awk '{ print $2}') | grep -i mp3
Previous post: htpasswd Replacement: Perl Script To Create Password Using crypt()
Next post: Perfect PHP Pagination
Sign up for our daily email newsletter:
You must log in to post a comment.