Skip to content

Linux console output on multiple UARTs

My embedded board has 2 UARTs. I want to have console output on both the UARTs. In kernel/Documentation/console/console.txt it’s mentioned that: you can only define one console per device type (serial, video). Does this mean I can use only one UART as console? Or, is it possible to redirect the console …

Running script in crontab–reboot: command not found

I’ve set a script in my root crontab that is supposed to restart my machine with the reboot command. However, I am getting a reboot: command not found despite the fact that reboot is in the root user’s path. My script: root user crontab: …yes, this is only a temporary workaround while I figu…

php not working on ubuntu desktop 16.04.02

I need php < then 5.3 becouse software I inherited use mssql library. SO I have set up linux, and apache (working fine via localhost or ip) then: I get libxml in version below 2.9 (otherwise make php will not work – compiler will lack some older libraries I belive) So I have libxml instaled and go wi…

sudo doesn’t work, but root user works [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …

“usermod: UID ‘0’ already exists” why?

As part of my Docker image I have the following ENTRYPOINT script: The image compiles successfully. When I try to run the container by running the following command docker run -it temp bash I got the following output: Why my UID is 0? I can’t find where is my error here, any help is more than welcome. U…