How do I know which Unix shell?

Duyên Trương

New member
How do I know which Unix shell?
Answer
Use the following Linux or Unix commands:
  1. ps -p $$ – Display your current shell name reliably.
  2. echo “$SHELL” – Print the shell for the current user but not necessarily the shell that is running at the movement.
 

Tìm kiếm

Back
Top