LinuxQuestions.org
Review your favorite Linux distribution.
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 08-25-2005, 05:21 PM   #1
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Rep: Reputation: 30
what are % and #


I am just reading through the Slackware 10.1 manual before actually installing onto my system and I am wondering if someone could tell me the significance of the % and # symbols that often seem to precede commands?
 
Old 08-25-2005, 05:28 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Re: what are % and #

Quote:
Originally posted by adds2one
I am just reading through the Slackware 10.1 manual before actually installing onto my system and I am wondering if someone could tell me the significance of the % and # symbols that often seem to precede commands?
They're just an indication of the command prompt. When at the console you will see a prompt (think of the old C:\> from the dos days) looking something like:
Code:
user@host directory $
or
user@host directory %
or
user@host directory #
It's just common practice (though by no means obligatory) to show the current user's name followed by the computer name, followed by the current working directory, followed by the prompt itself. % and $ indicate a normal user (depending on which shell you use) and # indicates the root user (administrator). Just a reminder of who you are before you do something stupid.
 
Old 08-25-2005, 06:44 PM   #3
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Original Poster
Rep: Reputation: 30
sweet. thanks.
 
  


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




All times are GMT -5. The time now is 08:27 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