| | |
Thread Solved |
•
•
Join Date: Jun 2009
Posts: 13
Reputation:
Solved Threads: 0
I've been reading all this stuff about Linux and how it is open-source for everything, and that is one of the great things about it. But I haven't really seen anything. On the one hand I have just switched to Linux so don't really know anything. Please correct me if I am wrong: any program can be opened and looked at and THAT'S the source or you can execute the program, which runs the program.
I'm trying to learn the shell and one of the tutorials was talking about with different users you can put restrictions on them so they can only view the program and not run it:
I don't really want to change any program source codes, but I would like to look at them so I can learn from them.
Thanks
I'm trying to learn the shell and one of the tutorials was talking about with different users you can put restrictions on them so they can only view the program and not run it:
•
•
•
•
When applied to a folder, the execute permission has nothing to do with
running programs. Instead, the execute permission controls who can
access or modify the small folder file.
Thanks
"Learn It. Run it. Tinker with it."
Welcome to Linux!
First of all not all programs for Linux are open source!!! Infact, in some cases it is illegal to look at certain programs source code!!! (just thought I'd mention that)
>I haven't really seen anything
Your probably not looking right...for example...in Ubuntu you can view the Linux Kernel source code by going to the directory: /usr/src/
generally when you install a program, you don't really work with the source code(you work with binaries), unless you compile it, almost always the project supplies the source code in a separate tarball for downloading, you just gotta find them.
A good example of this is the mozilla FTP server:
the binaries are located here:
ftp://ftp.mozilla.org/pub/firefox/re...c3/linux-i686/
and the source is here:
ftp://ftp.mozilla.org/pub/firefox/re...3.5rc3/source/
get it?
Sometimes however, programs installed also will bring the source, this is generally stored in a directory called "src"
for example there might be a
Just for your reference
/bin - binaries
/lib - libraries
/src - source
> When applied to a folder, the execute permission has nothing to do with
running programs. Instead, the execute permission controls who can
access or modify the small folder file.
That just means if you have a program located in a file, and you aren't allowed to access that folder, you can't run that program.
Hope I helped
Please tell me if you need more explanation
First of all not all programs for Linux are open source!!! Infact, in some cases it is illegal to look at certain programs source code!!! (just thought I'd mention that)
>I haven't really seen anything
Your probably not looking right...for example...in Ubuntu you can view the Linux Kernel source code by going to the directory: /usr/src/
cd /usr/src generally when you install a program, you don't really work with the source code(you work with binaries), unless you compile it, almost always the project supplies the source code in a separate tarball for downloading, you just gotta find them.
A good example of this is the mozilla FTP server:
the binaries are located here:
ftp://ftp.mozilla.org/pub/firefox/re...c3/linux-i686/
and the source is here:
ftp://ftp.mozilla.org/pub/firefox/re...3.5rc3/source/
get it?
Sometimes however, programs installed also will bring the source, this is generally stored in a directory called "src"
for example there might be a
pidgin/src/ or mozilla/src/ directory on your system. Those would hold source codeJust for your reference
/bin - binaries
/lib - libraries
/src - source
> When applied to a folder, the execute permission has nothing to do with
running programs. Instead, the execute permission controls who can
access or modify the small folder file.
That just means if you have a program located in a file, and you aren't allowed to access that folder, you can't run that program.
Hope I helped

Please tell me if you need more explanation
Last edited by athlon32; Jun 27th, 2009 at 8:54 pm. Reason: typo
I'm pretty much a noob! I'm here to learn new things and to gain skillz by observing and helpin'. I'll try to help you to the best of my abilities, and apparently the guys on here aren't cool enough to appreciate my rep begging :(
Look, it's a link!!!!
http://shallweprogram.blogspot.com/
Look, it's a link!!!!
http://shallweprogram.blogspot.com/
•
•
Join Date: Jul 2008
Posts: 39
Reputation:
Solved Threads: 1
hello friend,
I could be of assistance too. Just mention one thing you'd like to do and let's see if we can throw in some practice!
First thing though: You must get this book to open your eyes and depending, turn you to a pro within three or four dedicated months:http://search.barnesandnoble.com/boo...rk+G%2E+Sobell
Go for either the 2008 or 2006 edition. You can buy the used one as it is very cheap and they ship worldwide. Without meaning to, I find the book really helpful.
Once you get the book, let me know.
However, for a start, if you must touch any code, you must first log in as "root" as username and supply the p[assword you created during installation. Also go to the desktop preference to change to KDE desktop to enable you use the command console better.
See you then!
I could be of assistance too. Just mention one thing you'd like to do and let's see if we can throw in some practice!
First thing though: You must get this book to open your eyes and depending, turn you to a pro within three or four dedicated months:http://search.barnesandnoble.com/boo...rk+G%2E+Sobell
Go for either the 2008 or 2006 edition. You can buy the used one as it is very cheap and they ship worldwide. Without meaning to, I find the book really helpful.
Once you get the book, let me know.
However, for a start, if you must touch any code, you must first log in as "root" as username and supply the p[assword you created during installation. Also go to the desktop preference to change to KDE desktop to enable you use the command console better.
See you then!
O God! He that teaches man what he knows not, please grant us the solution.
![]() |
Similar Threads
- Open Source (LAMP) Software Engineers for Hot Web 2.0 Company -San Francisco (Web Development Job Offers)
- Windows 2K source code? (Windows NT / 2000 / XP)
- Can't view source codes (Web Browsers)
- Beware of Bad Capacitors (source of much bizarre behavior) (Motherboards, CPUs and RAM)
- View Source in IE6 (Web Browsers)
- PCModKingdom Source Code (IT Professionals' Lounge)
Other Threads in the Getting Started and Choosing a Distro Forum
- Previous Thread: Source
- Next Thread: Running Ubuntu Server 9.01 on VPC 2007
| Thread Tools | Search this Thread |
age-related baremetal chrome cio cloudcomputing code commercial computers crystalballsunday developers development distributions distro dsl elderly embedded google http://expertcore.org/ innovations jauntyjackalope kernel library linus linux microsoft multi-core netgear newbies openoffice.org operating operatingsystems parallel performance processing redhat routers smp studios system systembuilders systemintegrators terminalservices thecloud thinclients tools ubuntu users virtualization vmware webbased wikis windows xenon





