Created
August 31, 2013 14:24
-
-
Save vasmani/6398550 to your computer and use it in GitHub Desktop.
aconnect시 자동으로 포트를 찾아 연결해 준다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| aconnect=/usr/bin/aconnect | |
| para="`$aconnect -i | grep ttymidi | awk '{print $2}' `0 `$aconnect -o | grep TiMidity | grep user | awk '{print $2}'`0" | |
| $aconnect $para |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment