How Do I See The C/c++ Source Code Of The Ubuntu?

hello, how do I see the c/c++ source code of the ubuntu?
Because it is an open source Operating system.

thanks.


Similar Content



Source Code

hi,
i need source code for clustering and source prefix aggregation in wireless sensor network using tcl in ns2.please help me.

Is There A Way To Have A Script Called Source, That Can Be Run Without The Full Path?

Is there a way to have a script called source, that can be run without the full path?

Ex:
When I run:
export PATH=/home/user:$PATH
source

I get:
Code:
$ source
bash: source: filename argument required
source: usage: source filename [arguments]

However I want it to run my script called source:
Code:
$ cat source 
#!/bin/bash
echo "Hello World"

Is there way to override a shell builtin in the PATH var or some other way?

I'm New To Linux....questions Compiling A Small Source Code

Hi Everybody.....
I'm new to this site and new to Linux ( Ubuntu 12.04) generally. I am an old goat mechanical engineer with years of electronic instrumentation design experience. I am connecting several of my old HP digital oscilloscopes and logic analyzers to a Ubuntu box via GPIB (ieee 488) interface. I have the interface working well using the open source ( Sourceforge) "Linux-GPIB" kernel module. I can remotely control the instruments using "Linux-GPIB"'s "ibterm" terminal utility. However "ibterm" doesn't provide a means to do a scope screen dump to a file. A guy on EEBLOG published a short C language 30 line source code to perfome this function. Unfortunately it isn't a package with makefile.am, makefile .in, configure etc which I understand I could compile using the typical ./config, make, checkinstall procedure. It is just the c source code text. Soooo.....do I use gcc directly? If so, how do I run gcc in a manner to be able to uninstall all the various files it will make? Or ?? What is the procedure for automake in this situation ? Or....? I'm kind of lost. Your suggestions would be helpful.
Cheers.
Alan Jacobs
Green Bay, Wisconsin USA

Leach Doubt..

Hi. I have some doubts regarding “LEACH” protocol. I’m using ns-2.34 on Ubuntu 10.04 and patched leach protocol by following below link. I got ‘leach.out’ file, but I didn’t get ‘leach.err’ file.

https://abdusyarif.wordpress.com/201...-step-by-step/

Then I want to check out the leach source code file. The source code of the leach is not found in that folder. I ran out the leach test file and I’ve got a warning message.

Installing Gnuplot Version 5.0

Hi there. I have a problem installing the newest version of gnuplot which is 5.0. I downloaded it from this website (sourceforge): a source tarball. The Ubuntu 12.04 archive manager in my laptop placed it in the directory /home/alex/gnuplot-5.0.0.tar. I opened the directory/folder with a click and began reading manuals. The install procedure (read INSTALL.gnu) calls for issuing this command:

Quote:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
It is impossible to get to the directory gnuplot-5.0.0.tar via a terminal. If I type cd gnuplot-5.0.0.tar it says that this is not a derectory. If I omit .tar it does not recognize the name at all. I tried to rename it but after that I could not open it even with a click.

What shall I do?

Thanks, - A.

Selinux On Ubuntu Server

Hi All,

Please can someone assist me on this, I enabled Selinux on Ubuntu 14.04 server and it's disabling ssh remote login for all users including root.

From the ssh terminal I get the following error:

ssh root@192.168.x.x
Last login: Wed Mar 25 12:39:02 2015 from 192.168.x.x
/bin/bash: Permission denied
Connection to 192.168.211.135 closed.


tail /var/log/auth.log

ubuntu sshd[1640]: Accepted password for root from 192.168.x.x port 51082 ssh2

ubuntu sshd[1642]: Accepted password for root from 192.168.x.x port 51089 ssh2

ubunt sshd[1640]: Received disconnect from 192.168.x.x: disconnected by user

audit2allow --all

sshd_t

This avc is a constraint violation. you would need to modify the attribute of either the source or target types to allow this access.

possible cause is the source user (system_u) and target user (unconfined_u) are different.

possible cause is the source role (system_r) and target role (unconfined_r) are different.

possible cause is the source level (s0) and target level (s0-s0:c0.c255) are different.

allow sshd_t unconfined_trocess transition.

Please how can I make this changes to take effect.

Thanks in advance.

Code For The Project Development

I am doing my academic project on "hop by hop message authentication and source privacy in wsn". Its based on source ananmous message authentication scheme so how can i get the code for this ..plz help

Benefit Of Source Command

Hi,

What are the benefits that we get when we choose to source a file rather than execute it as a shell script?

and then in what way is export opposite to source?

It looks like they are doing the same thing, i.e making environment variables accessible in the local shell

How To Master Linux? Where Do I Start?

I'm new to Linux, I want to master all of the lovely little details about what makes Linux tick, and how it ticks. I would love to know any suggestions of where I should start. I want to know how anything, the hardware, software, and firmware works. I am wanting to get into computer science, I'm very motivated and am willing to put in the time to learn and master Linux. I figure that Linux is a good of a place to start as any, seeing how there is a lot of source code to study and open source software to play around with.

Free Open-source Software For Disabled And Blind Users...

Greetings,
I have three questions about free software for the disabled and blind user.

1) Which operating system distribution of free, open-source software is good for the disabled and blind user?

2) What about a desktop environment and window manager that is good for the disabled and blind user?

3) What about application selection for the disabled and blind user?

Thank you