Questions tagged as 'linux'

2
answers

Shell script Sed read one file and write to another only on the first occurrence of a string

Good afternoon, I'm trying to read from an X file and write to a Y file when a specific String appears. But I just want to do the inclusion once. Example I'm trying to do: sed -i '/, pasta/r teste.txt' Report.html This command is reading...
asked by 01.12.2015 / 17:22
1
answer

Can not execute binary file: Exec format error

I'm trying to run a code on Linux and I'm getting this message:    Can not execute binary file: Exec format error I did some research and this could be because of the structure of my pc, but from what I see my pc has the right structure f...
asked by 17.09.2015 / 08:39
1
answer

Linux - Symbolic Link + Dropbox

I've been making use of sublime 3 recently and would like to leave it standard on all my computers. For this I thought about using the dropbox, which automatically synchronizes if there is any change. I thought of using the ln -s symbo...
asked by 14.08.2015 / 02:28
1
answer

Problem installing Gulp

I'm trying to install Gulp on Ubuntu, but it only returns me error: root@gabriel-Aspire-E1-571:/var/www/aaa/projeto# npm install --save-dev gulp npm WARN package.json [email protected] No description npm WARN package.json [email protected] No reposito...
asked by 12.08.2015 / 22:58
1
answer

Error "No package dkim-milter available" CentOS 5.8 [closed]

I can not install dkim-milter, I'm using CentOS 5.8 x64bit    [root @ server ~] # yum install dkim-milter       Loaded plugins: fastestmirror, security       Loading mirror speeds from cached hostfile       * base: mirror.ubiquityservers.c...
asked by 16.06.2015 / 17:22
1
answer

How to parallelize the build with make?

The compilation process is parallelizable, but by default the make program performs one recipe at a time. How can I compile with make ?     
asked by 11.06.2015 / 18:25
1
answer

Change script variable value via Java application

I created a script where within this script there is a loop of type while . The condition of this while is escolha != 1 . Everything works ok, but in the middle of this while I run a Java application where I make some...
asked by 18.07.2015 / 08:12
1
answer

VPS for Magento What do I need to know?

I've been using only shared servers with the Opencart platform for years, but it was kind of hard for me to create a store in Magento, but I read that it might be slow and not good for shared hosting so I would have to go to one VPS. I would lik...
asked by 12.05.2015 / 05:45
1
answer

Place date on file generated by mysqldump

Hello, I want to put date in the file generated by mysqldump, I have a shell script that generates the dump, but I need to put the date that was generated in the file name Ex: // I have this command mysqldump -uroot -p12345 base_diversos &g...
asked by 07.04.2015 / 15:55
1
answer

How to compile and run C program using Sublime Text in Ubuntu 12.04?

Is it possible to configure Sublime Text 2 so that it compiles a code in C and then execute and show the result in the terminal?     
asked by 21.03.2015 / 06:55