mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-27 22:22:53 +00:00
9 lines
147 B
Plaintext
9 lines
147 B
Plaintext
|
#!/bin/sh
|
||
|
for i in /proc/[0-9]*/fd/*
|
||
|
do
|
||
|
var="$(readlink $i)"
|
||
|
if test x"$var" != x"${var#/dev/snd/pcm}"
|
||
|
then
|
||
|
echo $i
|
||
|
fi
|
||
|
done
|