
10-08-2007, 01:36 AM
|
 |
Never say die
User
|
|
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,101
Rep Power: 10
|
|
Code:
#!/bin/bash
echo "*** Method # 1"
echo "My shell info: "
ps -p $$
echo "*** Method # 2"
echo "My shell is $(echo $SHELL)"
How do I find out what shell I’m using?
|