• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 315
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

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