Where can I find the source code for "reboot" command? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
From where to get the source code for reboot command in Linux ?

See shutdown.c in util-linux.

On RHEL / CentOS at least it's in the SysVinit package. You can determine this by
which reboot
to find the executable - it's in /sbin/reboot for me - then
rpm -qf /sbin/reboot
to find out which package it is in. You should then be able to download a SRPM from any CentOS mirror, e.g. http://www.mirrorservice.org/sites/mirror.centos.org/5.5/os/SRPMS/

Related

finding Linux distro with terminal only [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
I'n looking to download a linux distro that has nothing but a terminal, simply boot up the machine into a console/terminal that runs sh/bash.
I want it to test some shell script and I really don't need a desktop environment because I want it to perform as best as possible.
If anyone knows anything like this let me know thanks!
I tried to look it up on google and YT and all I find is some lightweight distributions but with desktops.
I recommend you Arch Linux. It's a lightweight and DIY distro. You don't need a desktop environment to install it on your system

Cross compile for arm& linux on windows machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I need to cross build application in Windows for ARM and Linux machine.
Suprsingly, I didn't find a toolchain for windows,
Is there such a toolchain or did I miss somthing in my understanding ?
Thank you,
ranran
Here https://www.linaro.org/downloads/
scroll down to "Latest Linux Targeted Binary Toolchain Releases"

Install Apache Cassandra 3.1 on CentoOS 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm not familiar with Linux and I need to install Apache Cassandra 3.1 on CentOS 7. I found a guide for Debian. Is there any guide for CentOS?
http://cassandra.apache.org/download/
I could install it by following the steps in https://www.tutorialspoint.com/cassandra/cassandra_installation.html.

How to open the python documentation? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I downloaded and installed python 3 from the official website for Mac Os.
In the setup there was a checkmark for the docs.
This package installs the python documentation at a location that is
useable for pydoc and IDLE.
However I cannot locate it.
How can I open the docs or where are they located?
On Mac Os they are located at
/Library/Frameworks/Python.framework/Versions/3.5/Resources/English.lproj/Documentation/index.html

Open source Linux cluster project [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Are there open source Linux cluster project available? Could someone point me to the web link?
Juhani
Most information you seem to require can be found here.
MOSIX
Beowulf
Linux HA
There's this Pelican HPC livecd, which uses MPI. The livecd approach makes it easy to try out things without breakage.
Oh it also features easy install on networked PCs by booting via PXE over the network.

Resources