LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2008, 04:20 AM   #1
morfeus80
Member
 
Registered: Mar 2006
Distribution: OpenSUSE 10.3
Posts: 53

Rep: Reputation: 15
shell


Hallo, what's the command I have to type to know the kind of shell I'm using (bash, ksh, chs...)?
 
Old 01-23-2008, 04:27 AM   #2
sophkos
LQ Newbie
 
Registered: Jan 2008
Distribution: Fedora 7
Posts: 16

Rep: Reputation: 0
It's echo $0
 
Old 01-23-2008, 04:36 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Or look at the value of the environment variable SHELL
Code:
echo $SHELL
 
Old 01-23-2008, 04:56 AM   #4
morfeus80
Member
 
Registered: Mar 2006
Distribution: OpenSUSE 10.3
Posts: 53

Original Poster
Rep: Reputation: 15
Ok, it works, thanks!
Another question: if I use the explorer to visulize the folders, I can't see the hiden folder (those with the . at the beginning), so how can I change that option?
 
Old 01-23-2008, 05:00 AM   #5
morfeus80
Member
 
Registered: Mar 2006
Distribution: OpenSUSE 10.3
Posts: 53

Original Poster
Rep: Reputation: 15
Sorry, I found the solution!
 
Old 01-23-2008, 05:00 AM   #6
Chris.C
LQ Newbie
 
Registered: Jan 2008
Location: /home/chris
Distribution: Zenwalk, Backtrack 2
Posts: 20

Rep: Reputation: 0
Under the View menu, there should be a checkbox for, "show hidden files", check that, and you're set.
 
Old 01-23-2008, 05:04 AM   #7
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Quote:
Originally Posted by morfeus80 View Post
Another question: if I use the explorer to visulize the folders, I can't see the hiden folder (those with the . at the beginning), so how can I change that option?
It depends on which "explorer" do you mean. If using GNOME as Desktop Environment, maybe you're referring to Nautilus. If this is the case under the menu "View" check "Show Hidden Files".

PS - It should be useful to get better and quick responses to specify the distribution(s) you're using in your LQ profile. They will appear in the left-side panel of every posted message.
<------ look at mine here!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Shell tip: Set the shell prompt and themes in Linux Terminal LXer Syndicated Linux News 0 06-12-2007 04:02 AM
First time using linux shell, loving it, can anyone help me write my own shell???? WinX187 Programming 4 04-21-2007 01:06 AM
I made a shortcut to a shell script and it is using default shell icon... shlinux Linux - Software 2 04-20-2006 07:29 AM
Alias or shell script to confirm 'exit' commands from a shell rose_bud4201 Programming 2 03-08-2006 03:34 PM
'sh' shell - Actually calls legacy Bourne shell, or uses system default? Dtsazza Linux - Software 1 10-28-2005 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration