projects
/
feisty_meow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
turned off debugging noise.
[feisty_meow.git]
/
scripts
/
tty
/
findterm.sh
1
#!/bin/bash
2
3
# this shell file locates a terminal of the user whose
4
# login id is specified as the first parameter.
5
6
if [ -z "$1" ]; then
7
echo $(basename $0): needs a user name as a parameter.
8
exit 1
9
fi
10
11
who | grep $1 | awk '{ print $2 }'