Questions tagged as 'linux'

2
answers

How to compact directory except a specific folder via SSH with zip command?

I have to compress all files and directories from the public_html directory except var that is over 60GB. How can I perform this operation via SSH with command zip ? I saw some forms with different commands tar and others but I nee...
asked by 20.04.2016 / 13:21
1
answer

MySQL Commands in Shell Script

I'm trying to do a routine to deploy an application, and I came across a problem in the shell script, the mysql-related commands I can not execute inside the same, but at the prompt they work, what should be done? > mysql -u sdesk_autoinstall -...
asked by 16.08.2018 / 13:22
2
answers

Problems with dpkg in Linux Mint [closed]

I think I uninstalled some packages that some application needed, and I think this has generated a problem that I can not solve. I'm using Mint. I have already tried to upgrade the system but this error prevents me from doing this. What should I...
asked by 12.02.2014 / 23:52
1
answer

error: (-215: Assertion failed)! empty () in function 'detectMultiScale'

I'm totally lazy in linux and I'm trying to use opencv version 3.4.2 with python 3.5.2 in linux mint to run an example facial detection code. Below the code: import numpy as np import cv2 classificador = cv2.CascadeClassifier('\home\linux\Doc...
asked by 29.07.2018 / 03:43
2
answers

make: g ++: Command not found make: Error 127

I need to run a file that needs the make command. When I type this command the error occurs:    make: g ++: Command not found make: *** [clearlines] Error 127 I have already executed the commands: # cd /var/lib/dpkg/info/ # ls |...
asked by 27.09.2016 / 02:33
2
answers

Logic error shell script

I want to print a message on the screen according to the current time of day but it always falls on the other, what would be the error? I've been to 1h and I do not understand the error.     
asked by 07.07.2018 / 00:08
1
answer

How to enable autocomplete feature for shell script?

I would like the options in my shell script to be displayed or autocompleted when pressing TAB, as with commands like aptitude or yum. How to enable autocomplete feature for shell script?     
asked by 31.01.2018 / 12:51
1
answer

Environment variables remain

I'm following this tutorial, in Linux, but every time I restart I have to set everything up again What do I have to do for the settings to remain globally? I'm using Linux Mint Cinamon (Sylvia) 64 bits [EDIT1] For example: I d...
asked by 13.04.2018 / 22:21
2
answers

apt-get install -y program What is the -y option for? [closed]

I do not know much about linux and I had the following doubt when installing a new software in Ubuntu 16: What is the -y option of the apt-get package installer?     
asked by 09.05.2017 / 11:30
2
answers

Script string removal

To edit this file and remove all incidence of ^ [[* m how do I edit thirst? Incidents are marked in bold.    sed 's / \ ^ [[* m // g' file The backup routine is still running on the server! The backup process began at 15:19:28 EDT and i...
asked by 20.06.2017 / 00:43