LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 05-31-2005, 01:50 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Rep: Reputation: 46
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, 01: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, 02:26 PM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,638

Original Poster
Rep: Reputation: 46
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 02:46 PM.
 
Old 05-31-2005, 03: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, 03:37 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,622
Blog Entries: 10

Rep: Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773Reputation: 773
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 09:38 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration