LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2005, 02:50 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
A small help


tty*
cat*
fgrep*
more*
su*


rbash@
view@
dnsdomainname@


When I wrote the ' ls ' command, I saw the above files.

What is the meaning of * files?

What is the meaning of @ files?

Finally I have forgotten the command which tells me the name of the shell. Could you please tell me the command to find out the name of the current directory?

I wrote ' pwd ' and pressed enter. It tells me the current directory only.

Your help is appreciated
 
Old 05-31-2005, 02:58 PM   #2
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
The * files are executable files. They can be "run" by typing in their name.

The @ files are links. The file they are actually pointing to can be seen by typing "ls -l".

"pwd" shows the name of the current directory.

The shell you are using should be seen by the command "echo $SHELL". (But I am at work on a WIndows box, and cannot confirm that.)
 
Old 05-31-2005, 03:26 PM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thank you

echo $SHELL ---> This command works fine. I am in the 'bash' shell.

Could you please tell me the command to find out all the other shell on my system?

Last edited by Gins; 05-31-2005 at 03:46 PM.
 
Old 05-31-2005, 04:33 PM   #4
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
I don't know any command that lists all the shells available on a system.

You could try "ls /bin/*sh". That will list any command in /bin that end in "sh", like "bash", "csh", "zsh", etc. Not every file listed will necessarily be a shell, but most probably will. Check their man pages to be sure.
 
Old 05-31-2005, 04:37 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Ummm ... impossible to answer ... have a
ls -l /bin/*sh
That should give you most of the shells,
maybe more than those :}

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Small Fonts... Too much small! cubax Debian 3 03-28-2005 12:31 PM
small script Kassel Programming 2 11-19-2004 05:22 AM
Openldap with small directory very small iholdap Linux - Networking 5 10-04-2003 09:09 AM
5 small hitches..... sparrot Linux - Newbie 27 04-05-2003 03:17 AM
3 small problems in 1 small post vzzt! Linux - Software 10 02-27-2003 08:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration