Questions tagged as 'linux'

3
answers

How to remove the "4 980 Raphael" space between numbers only

I have a String "980 Rafael" and I would like to know how I will remove only the spaces that are between the numbers in shell script.     
asked by 14.03.2017 / 12:46
1
answer

Differences between one: Linux and Windows Development Environment [closed]

I would like to know the development differences between these two OS. I have little knowledge about Linux, only theoretical. Today, researching the creation of a PHP environment, without using XAMPP or anything like that, I came across th...
asked by 19.05.2016 / 06:47
3
answers

Doubt with PHP and Apache

I formatted my machine and was advised to use Linux, and so I did. But in my localhost , the .php files are not read / recognized, only the .html files. I installed, reinstalled and did everything I saw on the internet, bu...
asked by 12.05.2015 / 20:01
3
answers

OpenCV haartraining - Out of memory

I have 30 positive images and 60 negative images. When I tried to run haartraining with 4GB of memory and Quadcore processor, I get this error message: OpenCV ERROR: Insufficient memory (Out of memory) in function cvAlloc, cxalloc.cpp(111) T...
asked by 20.11.2014 / 12:39
4
answers

Copying files via SSH between two remote servers

How to copy files from server1 to server2 via SSH with just one command line, and am I not logged in to any of them? I'm on a 3rd machine. And I have the credentials of both.     
asked by 31.01.2014 / 17:48
1
answer

How to change the version of PHP in which Composer runs on Linux?

I installed the composer on my Ubuntu through the following command: apt-get install composer Ubuntu currently supports multiple versions of PHP installed. I have PHP5.6, PHP7.0 and PHP7.1 installed on my machine. When I only had PHP5.6,...
asked by 16.03.2017 / 16:22
4
answers

How to search recursively using grep

How to search for a certain word recursively in all files in the current directory and its subdirectories? I tried to navigate with: find . | grep "palavra"     
asked by 26.03.2014 / 14:17
1
answer

What is MUSL? What are the pros of someone be carrying it to my laptop?

I'm interested in the pros that this can bring to my laptop.     
asked by 08.01.2018 / 08:59
1
answer

What would a PID be?

I'm starting to study desktop applications. I had a question about how I could know if a particular application is running and I was told I could use PID as a solution to be able to detect this. I usually work with Linux and, from what I un...
asked by 22.03.2017 / 15:10
3
answers

Setting thread priority in C ++ 11

In the program I'm developing I have two std :: threads that are always active throughout the life of the program. However, I consider that the function of one of them is minor and would like to change their priority. I took a look at the doc...
asked by 05.02.2014 / 01:05