UNIX shell flavour

My client place they are using unix on some of the servers. I see command they are puttin is followed by


I would like to know whther they are using Borne or Korn or some other shell flavour they are using?

How to find out that.

I also see they are using some commands ling

ls -lart



what these commands are for. When and why, how to use them. Please advise
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Issue command

ps | grep $$

ls  -- stands for list, like dir in DOS.  It shows the files/folders in a given directory
ls -lart  
l : long listing
a : include hidden files
t  : sort by modification time
r : reverse sort order

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
the hash (#) prompt you see is the root user shell. It is a reminder to the user that he is privileged user.

It is usually called the shell prompt and you can set as you want.

To find out your shell then you can use commands like



echo $SHELL


echo $shell

lo learn more about unix commands and their options, then use man e.g.

man ls

# denotes a comment so not sure what you mean.

# can be under certain circumstances used as a separator

What is the command and

The others provided you with a simple way to determine what shell it is:
often presuming default prompts
$ is a plain shell
[]# bash
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.

Gerwin Jansen, EE MVETopic Advisor Commented:
Hi, not sure what RC means, could be an alias or some commercial application.

You can try finding out like this:
alias | grep RC

Open in new window

which RC

Open in new window

ls command is not working i think so go for ls/?
to know your default shell
$ echo $SHELL

to know the current shell
$ ps -ef|grep $$
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.