Questions tagged as 'linux'

2
answers

How to upgrade Node.js from version 8 to 10 on Linux Ubuntu via SSH?

I tried several tutorials on the internet before coming to post the doubt here in StackOverflow and no tip worked. My repository is with version 8 of the Node and the same, even removing, back. I need to install Node 10. I've tried: sudo...
asked by 10.12.2018 / 15:32
1
answer

Laravel HTTP ERROR 500 linux [closed]

I'm a complete noob on Linux, I was working normally, and Linux installed some updates that suddenly instead of displaying Laravel's error screen, I get the screen. HTTP ERROR 500 In the middle of this I was using the git stash comm...
asked by 02.10.2018 / 21:49
1
answer

.TAR AutoInstalavel Linux package

I'm following this procedure to create a file compactado autoexecutável but I'm not succeeding, is there something missing? Compact the files to pacote.tar.gz I create pacote.sh file with the following content:...
asked by 13.09.2018 / 16:21
1
answer

Download linux background files [closed]

I have a python script that downloads about 2000 images, and as my pc is not there those things I'm using a VPS. But when I leave the script running it drops a certain amount of images until the ssh connection crashes. How do I make the images d...
asked by 05.10.2018 / 20:27
1
answer

Print available memory in C [closed]

How to know how much memory is available before doing malloc ? I would like to print the memory value that is still available to be able to be allocated, the code must run under Windows and Linux . On a computer I think that this...
asked by 27.08.2018 / 13:56
2
answers

reuse of Javascript between sites hosted on linux

Before spending energy trying to implement this, I would like to know if anyone knows if this is a bad practice and if it really works I have some sites hosted with the root folder as follows: Site 1: / var / www / site1 / html / Site 2...
asked by 09.09.2018 / 02:03
1
answer

Replacing URLs within multiple txt files by the Linux terminal

I have several .txt files Ex: arquivo1.txt arquivo2.txt arquivo3.txt Within these files I have several urls as follows: https://www.site.com.br/diretorio/ https://www.site.com.br/diretorio/ https://www.site.com.br/diretorio/ I would li...
asked by 27.06.2018 / 02:16
1
answer

SED replace the same case for something

I'm trying to replace occurrences of "strings that appear in the document" by another value in the case '' nothing; I have the following code snippet in shell script mkdir NOVO for script in *.sql do sed '/from/ s/fev_\|jan_//g' $script...
asked by 27.06.2018 / 04:01
1
answer

R on Jupyter Notebook [closed]

I use the Python Jupyter Notebook. I want to start using R too on the same platform. I know it's possible, but I did not find out how. Could anyone give a tip?     
asked by 13.06.2018 / 02:25
1
answer

How to leave the geckodriver fit for selenium use?

In Python 3 and Ubuntu, I want to run a test with selenium: from selenium import webdriver from selenium.webdriver.firefox.firefox_binary import FirefoxBinary from time import sleep binary = FirefoxBinary('/usr/lib/firefox/firefox') ff = web...
asked by 18.04.2018 / 18:16