LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03:32 AM   #16
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976

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, 04: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: 189

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


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


All times are GMT -5. The time now is 01:09 AM.

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