repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some updates
[cmdllinux.git]
/
scripts
/
_sh_shell
blob
28383f03d77dd98cf51bd6d651673ff87079fa17
1
#! /bin/sh
2
3
#echo $SHELL
4
#$1 $$
5
[
-z
"
$1
"
] &&
echo
"Give shell's pid"
&&
exit
1
6
exec
ps
-o command
=
$1