Thursday, July 30, 2009

Unix shells question ?

Dear all,





could you pls help me :


how can i find out which shells are available in my unix system??

Unix shells question ?
$ cat /etc/shells
Reply:You can find out what shell is running by typing


echo $0 at the prompt





The other shells are usually located in /bin or /usr/bin and can be:


csh - the C shell


bsh - the Bourne Again Shell


ksh - the Korn Shell


sh - The Bourne Shell
Reply:If you are on a RedHat based linux system you can use the rpm command to broswe installed software packages.





The syntax would be something like: rpm -qa *sh





Hope this helps!

flowers delivery

No comments:

Post a Comment