Questions tagged as 'linux'

1
answer

How do I get the crontab to run a shellscript?

I have a .sh and I'm having difficulty running it in crontab every minute Example I have my .sh file /var/www/exec/checarserver.sh it has permissions. add it to crontab * * * * * /var/www/html/exec/checarservidor.sh | sendmail -s "cront...
asked by 04.04.2016 / 16:12
1
answer

Location container docker on host

Since I started using docker last year, to directly access the files in my container I used the following steps: docker inspect -f '{{.Id}}' container_id It returns me the full id container With the full id container I would go to the...
asked by 31.03.2016 / 19:52
2
answers

Receiving file lines, and handling them (BASH)

I need a bash script that will read a file, recognize the delimiter (in the case ";") and store the values that are in the delimiters in variables, to later build a menu with the dialog ... What I have done so far is: #!/bin/bash file="Tare...
asked by 31.10.2015 / 22:13
1
answer

PHP - remote xdebug using netbeans

Introducing the environment: I have a virtual server running a Debian 7.2 (64bit) distribution, on this server I have installed Apache 2.2.22 and PHP 5.4.39 My host machine runs OS X 10.11, as development IDE I'm using Netbeans for PHP....
asked by 15.10.2015 / 19:00
1
answer

Installing web environment with shell script

The shell script below performs some simple tasks for me, however, I would like to make the code a bit more elegant: #!/bin/bash echo "#######################" echo "Preparando servidor web" echo "#######################" verificar() { i...
asked by 01.08.2017 / 06:46
1
answer

iptables - package marking with redirect to squid

I have a load-balanced firewall by marking packets and a squid together. I'm marking the packages so that my two links are used (gvt and OI) then link1 = gvt and link2 = OI It already works in parts, I managed to direct some ports to...
asked by 05.08.2015 / 20:51
1
answer

Is it possible to implement a "Recycle Bin" method in SAMBA?

Is it possible to implement a "Recycle Bin" method in SAMBA? In other words, when a user deletes a file in a SAMBA share, can it be sent to the "Trash" rather than permanently delete it? If yes, what kind of packages and settings do you ne...
asked by 14.04.2015 / 14:06
1
answer

Problem registering a policy on Tomcat using Eclipse on Ubuntu

Good morning I'm having trouble putting this -Dorg.apache.el.parser.COERCE_TO_ZERO=false directive in the% s arguments of the Tomcat 7 , it does not save the configuration. I've given permission on the folder, but the problem...
asked by 03.02.2015 / 15:34
1
answer

Program in Lazarus does not run with shared .SO

I had a problem with OS shared in a project on Linux with Lazarus, I found the solution in: a> After running the above guidelines my application started to work, however I can not run it through the lazarus (compila normal, but does not op...
asked by 20.01.2015 / 13:02
1
answer

System Calls on Android

I'm creating a comparison between system calls between Linux and Android. On Linux I can create some codes and have already found some tables that demonstrate the system calls in it, but in Andorid, I find nothing. Does anyone know how to make s...
asked by 05.05.2015 / 03:20