LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-01-2011, 02:32 AM   #16
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983

Quote:
Originally Posted by kenny53067 View Post
as for the "#" character I'm not sure what it means, all I know is that it was used on an example for dump in my text book but it doesn't say why.
As previously mentioned the # character is a symbol utilized by the shell to start a line of comment (or a string inside a line that will be ignored by the shell). In some cases, text books use it as the root's command prompt. For example, instead of writing:
Code:
┌─[alex@linux]-[~]
└─• echo hello world
which is my prompt, I could write
Code:
# echo hello world
this means you have to ignore the # characters, but it means you have to run the command as root. You could find also a $ sign: in this case the author is telling you to run the command as normal user:
Code:
$ hello world
again you have to ignore the $ sign and type only the command.
 
Old 08-01-2011, 03:12 PM   #17
culaterout
Member
 
Registered: Jul 2006
Location: colorado
Distribution: Debian, Arch Linux, Linux Mint, Ubuntu, Fedora, Suse, Mepis, Redhat, Sayabon, mandrake and android (
Posts: 192

Rep: Reputation: 29
Kenny,


Sorry I didn't know you are new at Programming.... Ops

Then you will have real fun when you get to physics... You think this is bad when it gets to leaving comments.

Your in for a surprise... Just look at one physics problem with out explanation and you will get lost real fast until

you figure out what the element is????? and what the answer is there trying to solve for...

Well good luck...

Sorry I try to pass along useful information that might shape your learning....
 
  


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
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
cron file 000-delay.cron (it is on my FC5) - what is the purpose? jtmoon Linux - Server 1 03-08-2007 11:15 AM
Someones logged in as root, and its not me joose Linux - Security 7 10-14-2005 05:35 AM
Opinion: (name, file name, and extension) un shiza Programming 2 06-28-2005 04:23 PM
what can be done with someones router access cartman12345 General 2 04-21-2005 11:09 PM

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

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