Topic: How to test what shell I'm using in terminal?

Is there an easy way to determine what shell I'm using in terminal?

Share

Re: How to test what shell I'm using in terminal?

I've found several ways, from most to least reliable. The following works in the four shells I have installed on my system (bash, zsh, csh, tcsh):
1)

# ps -p $$
  PID  TT  STAT      TIME COMMAND
14143   0  Ss     0:00,03 -bash (bash)

2)

# echo $0
-bash

3) Check $SHELL; this is a last resort, as it specifies your default shell and not necessarily the current shell.

# echo $0
csh

# echo $SHELL;
/usr/local/bin/bash

Re: How to test what shell I'm using in terminal?

Can You Buy Sildenafil Over The Counter  viagra prescription Levitra Aus Indien Commander Levitra Bayer Is Kamagra Legal

Share

Re: How to test what shell I'm using in terminal?

Costo Finasteride Propecia Cephalexin And Itp  cheapest cialis 20mg Discount Celebrex Viagra E Cialis Problemi

Share

Re: How to test what shell I'm using in terminal?

Revue Priligy Prospecto De Propecia  comprar kamagra en andalucia Buy Xenical America Does Cephalexin Help With Cellulites

Share

Re: How to test what shell I'm using in terminal?

Annonce De Clomid Amoxicillin And Doxycycline Together Need Isotretinoin Isotret Best Website Overseas  viagra online pharmacy Vermox Synthroid 150 No Prescription Buy Kamagra From India Online

Share

Re: How to test what shell I'm using in terminal?

Achat Cialis 5 Mg Zithromax Acid Reflux  cialis without a doctor's prescription Viagra Natural Herbolario Buy Amoxicillin Without Px Generic Viagra Companies

Share

Re: How to test what shell I'm using in terminal?

Purchasing Amoxicilina With Overnight Delivery  order cialis online Leitra Luts Uk Suppliers Of Zyban Buy Kamagra In Canada

Share

Re: How to test what shell I'm using in terminal?

What Is Keflex Ordered For  viagra online Finasteride For Sale Internet Viagra Tablet For Sale Buy Valtrex Cheap No Prescription

Share

Re: How to test what shell I'm using in terminal?

Cialis Per Posta Direct Pharmacy Usa  viagra achat sans ordonnance Cialis 5 Mg Beipackzettel Cialis Professional Generic Finasteride 20mg For Sale

Share

Re: How to test what shell I'm using in terminal?

Discount Doxycycline Where To Buy Propecia Regrow Further Hair Keflex Injection  vardenafil bestellen Viagra Compro Comprar Cialis Envio 24 H Propecia Uk 1mg

Share

Re: How to test what shell I'm using in terminal?

Levitra Alla Menta Adult Dosage Amoxicillin Alcohol Cephalexin Interaction  kamagra getafe Can You Buy Cipro 250mg Online Amoxicillin Msds Sheets

Share

Re: How to test what shell I'm using in terminal?

Cialis Levitra Mujer Tadalafil Online Reliable  viagra Buy Stendra Tablets Online

Share

Re: How to test what shell I'm using in terminal?

Viagra Online A Basso Costo Viagra 25 Anos Effetti Collaterali Del Cialis Generico  cialis price Real Generic Dutasteride Cod Only Healthy Man Reviews

Share