Questions tagged as 'linux'

1
answer

How to read stdin in python?

Using netcat to monitor a certain port on my device using the shell command terminal, I can check the data received by it and send data back to the connected device, such as a chat system with sockets. My question is, with replicating the same "i...
asked by 31.10.2018 / 14:12
3
answers

How to access a server via SSH without using a password?

I have to connect a Linux server via SSH, using Putty as a client, many times a day and every time I need to put user and password. I have seen a person making connection without using username and password, how is this possible?     
asked by 30.01.2014 / 14:13
1
answer

How to have two versions of php on the same Apache server?

I have an Apache / 2.4.10 (Ubuntu) server running a website in php 5.5. But I'm creating a new site and it needs php 5.6. Is it possible to have two versions of php installed on my server and use each one in different folders?     
asked by 05.10.2018 / 17:27
1
answer

Tomcat on Windows and Linux

I currently have a Tomcat server running on a machine with Windows Server 2012 . But I got some tips from an Infra friends where they say that Tomcat no Linux performs better. Then I had these doubts: What are the pros a...
asked by 16.12.2015 / 12:40
2
answers

PHP on linux or windows

Explanation: I know it's a controversial question, but I'm not an old man of the programming and I'm knowledgeable about linux, but I've never chosen it because I use C # from time to time and in my college they are pro-microsoft. So the wo...
asked by 01.05.2015 / 06:03
2
answers

Difference between til "~" and slash "/" at the linux prompt?

I'm starting a lower level part, where I'll schedule the users part, permissions and etc. My first question is ~ and / at the prompt?     
asked by 15.09.2017 / 13:53
2
answers

Linux 32 or 64 bits? [closed]

How do I know if the linux I'm using is 32-bit or 64-bit? I need to know what the architecture of my kernel is and I'm new to linux, I'd like to know how to figure it out.     
asked by 28.10.2015 / 00:39
3
answers

How do I start Tomcat as a service on Linux?

I need to put a web system in production using Tomcat 7 . I know I can start with the shell catalina.sh start but I would like something that works after reboot and that Tomcat comes in normally.     
asked by 19.03.2014 / 00:45
3
answers

How does serial communication work and how to do it using C / C ++?

I use Debian 7.1 and I need to do serial communication between a computer and a microcontroller using C / C ++ . I have already done a lot of research on the subject, but the articles and examples I found are very confusing, unclear and not v...
asked by 20.03.2014 / 17:05
1
answer

What is the purpose of the "/ dev / null" path in some commands?

I have often seen some people teaching to do some commands (mostly related to text outputs or things like that), where that directory or file called /dev/null is used. Example: wget -qO- $url &> /dev/null What is the pur...
asked by 17.03.2016 / 13:48