Questions tagged as 'linux'

0
answers

Problem with Spring Tools Suite

I'm starting my studies with Spring and downloaded Spring Tool Suite version 3.9.4. to develop web java applications. I had previously installed the JDK version 8. I am using Ubuntu 18.04. Given this information, let's get down to the problem:...
asked by 10.05.2018 / 17:35
0
answers

Is there any cross-platform way to use keyboard arrows in c ++?

On windows you have the conio.h library. if I am not mistaken it is possible to use the keyboard arrows on Linux using ncurses.h, but I wanted a more multiplatform solution where the same code would be compiled on several different operating sys...
asked by 03.05.2018 / 20:19
0
answers

How to run the client-server test in C?

I'm studying the basics of networking and I need to run the following code to see how communication occurs. I compile both in the Linux terminal, but when executing nothing happens. Is it necessary to change something in the code, or pass som...
asked by 27.03.2018 / 02:01
0
answers

How to check a CRC

I get 9 bytes for the serial where the last two are the CRC-16, I need to check this CRC to see if I received the block correctly. buffer[0] = 0x2E; buffer[1] = 0x83; buffer[2] = 0x82; buffer[3] = 0x00; buffer[4] = 0x00; buffer[5] = 0x00; buff...
asked by 07.03.2018 / 14:45
0
answers

List Linux sharing on another Linux desktop [closed]

I use a Ubuntu Desktop 16.04. I have a file server on my network but I can not list that server on my Desktop. This server is an Ubuntu Server. There is simply no server in my list of networks. When I try to map via command line, the followin...
asked by 15.12.2017 / 15:17
0
answers

Linux is not writing txt

I have a code that should be executed by a Cron function from Monday to Friday at 7 o'clock. 00 7 * * 1-5 php /var/www/html/felipe_projetos/Poc/ch_ch.php This code should write some data in a txt, but this does not happen, when I run the pa...
asked by 11.12.2017 / 13:03
0
answers

File losing permission when sending to host

Well there is a problem with me when uploading my files to the host, all files on the site are losing permission. Example: I upload the file with permission 777, when it is up on the host it changes to 655. Has anyone ever been through thi...
asked by 04.02.2018 / 18:16
0
answers

Linux SFTP - Certificate requesting password

I need to access an FTP server, from which I have already been sent a certificate called "empresa.cert". On Windows, using WinSCP, I create a connection using this certificate file, and the connection is made normally, and no password is requ...
asked by 05.12.2017 / 14:05
3
answers

strcpy function does not work on Linux [closed]

#include <stdio.h> #include <string.h> void envia(char* pdados); int main() { char* link[1000]; strcpy(link,"http://site.com/data.php?dados="); char* dados = "name"; strcat(link,dados); //printf("%s\n",link); envia(link); } void...
asked by 10.12.2017 / 02:28
0
answers

How to edit host file in etc / hosts?

How to edit host file in etc/hosts ? The site is outside, so I added the ip: xxx.xxxx.xxx www.meusite.com.br But when I go pinging or scanning to see the servers, it does not find any sign.     
asked by 04.12.2017 / 00:26