LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-16-2004, 01:08 PM   #1
alexes
LQ Newbie
 
Registered: May 2004
Location: petaluma,ca
Distribution: suse 9.0
Posts: 4

Rep: Reputation: 0
shell help


hello everybody,
whenever I read something about using the shell the prompt shows a $ sign.
I don't have that.mine looks like this: "my login name"@linux:~>
I just don't know where to look for help about this. I have Linux,The Complete Reference,Running Linux by O'Reilly & my SUSE user guide for books.
any help would be great!
thanks,
alex
 
Old 05-16-2004, 01:12 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

It doesn't really matter what your shell looks like. If you want it to look like that then run:
PS1=$

Perhaps you are trying to run a command that requires you to be root, try suing with "su -" first.
 
Old 05-16-2004, 02:18 PM   #3
alexes
LQ Newbie
 
Registered: May 2004
Location: petaluma,ca
Distribution: suse 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for that information. am I right in thinking that thats just a default login prompt?.Is the host name simply a name I give my computer?
root is o.k. it gives me the # symbol. just a little disconcerting when I didn't get the same $ symbol as shown in the books.
 
Old 05-17-2004, 01:24 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
yes it is just the default and you can set your hostname to whatever you like but make sure you add your new hostname after the loopback address in /etc/hosts
 
  


Reply



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
Difference between normal shell and login shell Manish Linux - General 7 11-14-2012 08:30 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
'sh' shell - Actually calls legacy Bourne shell, or uses system default? Dtsazza Linux - Software 1 10-28-2005 09:20 AM
shell interface vs shell scripting? I'm confused jcchenz Linux - Software 1 10-26-2005 03:32 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 03:00 PM

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

All times are GMT -5. The time now is 07:48 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
Open Source Consulting | Domain Registration