LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-23-2006, 01:04 PM   #1
carlos88
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Rep: Reputation: 0
general questions re shell, prompts, X


Chaps, very new newbie ...very thick, wondering about three things in my Slack (installed with relative ease - apart from Lilo, but did it) -

Shell - my default shell is bash. But I was wondering, if you didnt have a shell set up as default, what could you do? Basically, how can you tell if a command you enter is a bash command, a standard linux command, or a slackware command? Or am I getting the wrong end of the stick here?

Prompts - when I first log in, my prompt is a tilda and hash. If I do Cd /, then the tilda becomes a /. So whats the tilda all about?

X - I'm using blackbox as default for the time being, and in xterm, I cd to the games. Interestingly, all the games are in bright light green - I can hardly read it. Also, the path on my prompt ends with games# , even though directory is games.

I did do google searches for this info, but apart from unanswered limited stuff to 'linux without shell', couldnt get anywhere.
Thanks
 
Old 07-23-2006, 01:39 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by carlos88
Chaps, very new newbie ...very thick, wondering about three things in my Slack (installed with relative ease - apart from Lilo, but did it) -

Shell - my default shell is bash. But I was wondering, if you didnt have a shell set up as default, what could you do? Basically, how can you tell if a command you enter is a bash command, a standard linux command, or a slackware command? Or am I getting the wrong end of the stick here?
To determine whether a command is a bash-builtin or a
stand-alone executable look at "man bash".
man bash
/^SHELL BUILTIN


Quote:
Originally Posted by carlos88
Prompts - when I first log in, my prompt is a tilda and hash. If I do Cd /, then the tilda becomes a /. So whats the tilda all about?
The tilde indicates that you're in your home directory, it's
short for (every users) /home/username


Quote:
Originally Posted by carlos88
X - I'm using blackbox as default for the time being, and in xterm, I cd to the games. Interestingly, all the games are in bright light green - I can hardly read it. Also, the path on my prompt ends with games# , even though directory is games.

I did do google searches for this info, but apart from unanswered limited stuff to 'linux without shell', couldnt get anywhere.
Thanks
As for the colours: alias ls to ls --color-never and they're gone.

The # indicates that you're doing something very stupid, you're
running as root, which is the single biggest mistake new-comers
to the Linux-world make.



Cheers,
Tink

Last edited by Tinkster; 07-23-2006 at 01:40 PM.
 
  


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
Shell Scripts Answering Prompts dudeman41465 Linux - Software 1 01-24-2006 11:20 AM
BASH question(or shell in general) jrmann1999 Linux - Software 4 05-11-2005 05:16 PM
Shell prompts and keymaps amnesty_puppy Linux - Newbie 8 08-17-2004 06:52 PM
Newbie questions:Bash Prompts newinlinux Linux - Newbie 9 03-10-2004 06:15 PM
Shell Prompts and root ls colouring iantri Slackware 10 09-11-2003 08:48 PM


All times are GMT -5. The time now is 02:35 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 Google+: linuxquestions
Open Source Consulting | Domain Registration