Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

how to find in which shell i am working..

Shell Programming and Scripting


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-31-2007
pineapple pineapple is offline
Registered User
 
Join Date: Mar 2007
Last Activity: 1 April 2007, 11:16 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
how to find in which shell i am working..

Hi Friends,

I am new for this site.i have a small query.plz let me know the command to find in which shell presently i am working.
Sponsored Links
    #2  
Old Unix and Linux 03-31-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
 
Join Date: Mar 2005
Last Activity: 9 April 2015, 4:19 AM EDT
Location: classification algos
Posts: 3,206
Thanks: 19
Thanked 30 Times in 27 Posts

Code:
ps


this question had been answered already

could you please try searching the forums ! Linux
Sponsored Links
    #3  
Old Unix and Linux 04-01-2007
mona's Unix or Linux Image
mona mona is offline
Registered User
 
Join Date: Nov 2005
Last Activity: 18 June 2007, 11:17 PM EDT
Location: Singapore
Posts: 96
Thanks: 0
Thanked 2 Times in 1 Post
This will give you the current shell

Code:
echo $0

This will give you the login SHELL

Code:
echo $SHELL

The Following 2 Users Say Thank You to mona For This Useful Post:
figaro (09-05-2010), sameer007 (11-16-2013)
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find Month first Working Day koti_rama Shell Programming and Scripting 3 11-10-2011 08:00 AM
Find and delete not working annamalai77 UNIX for Advanced & Expert Users 0 05-26-2011 05:40 AM
Where to find a working shell scriptor...without being on UNIX? kratka UNIX for Dummies Questions & Answers 3 08-09-2007 06:16 PM
find command not working jabrady UNIX for Advanced & Expert Users 7 10-04-2005 12:45 PM
Write a shell script to find whether the first day of the month is a working day phani Shell Programming and Scripting 7 03-18-2005 12:59 AM



All times are GMT -4. The time now is 04:47 AM.