• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • Last Modified:

How do I determine which shell I am in

How do I tell if I am in Bash or ksh

What is the default shell for AIX 6.1
0
Los Angeles1
Asked:
Los Angeles1
2 Solutions
 
PapertripCommented:
How do I tell if I am in Bash or ksh
echo $0

Open in new window

What is the default shell for AIX 6.1
ksh
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Default shell is ksh, you can view 'your' shell by just giving a 'ps' command.

Have a look at /etc/passwd for the shell that's configured for your account. For example:

paul:!:201:1::/home/paul:/usr/bin/ksh
jdoe:*:202:1:John Doe:/home/jdoe:/usr/bin/ksh
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now