Questions tagged as 'linux'

3
answers

Problem when trying to execute the sudo apt-get update command

I have just installed the distribution Linux linux 18.3 and I have not installed or moved anything at all. I just try to run the sudo apt-get update command to update the system packages and when running the command it generates the follo...
asked by 09.05.2018 / 15:26
1
answer

Run a command every 24 hours and 5 minutes with crontab

I know that for a command to be executed every 24 hours it must be 0 7 * * * [comando] But, for example, to run every 24 and 5 minutes Is there a way to do it?     
asked by 21.12.2018 / 21:27
2
answers

Difference between VPS and cloud server

Good, I'm a bit confused on the subject. I understand that the VPS is a physical machine that has been divided into virtual environments, charged a fixed fee and has no swap partition. The cloud server has a special infrastructure (I do not k...
asked by 04.07.2016 / 00:23
1
answer

Read and assign value to the result of a command

I have the following script nmap_result=$(sudo nmap -sP 192.168.0.1/24) own_ip=$(ifconfig wlp2s0b1 | grep inet | awk '{print $2}' | cut -d':' -f2) temp_mac=$(echo "$nmap_result" | grep "MAC Address:" | awk '{print $3;}') temp_ip=$(echo "$nmap...
asked by 13.04.2016 / 00:56
2
answers

Django: error in configuring url's

I'm Using django in its version: 1.11.4 python 3.6 in linux debian I have the following files configured in settings.py INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes',...
asked by 08.03.2018 / 06:49
1
answer

The port is occupied when pressing CTRL + C from the linux terminal with Nodejs applications

I have the following problem, since I have to program in nodejs when executing the nodejs application from the console (node app.js) there is a busy port (example port: 3000) .. when closing the app (< kbd> Ctrl + C ) ... the port is still bus...
asked by 02.03.2016 / 16:56
1
answer

Execution of command in linux from php

I have the following command that I want to execute in the shell of Linux since php but it does not work for me, I used exec , php_exec system . but nothing. 'iw dev $target station dump | grep Station | cut -f 2...
asked by 19.12.2016 / 18:03
1
answer

Postgres pg_dump How to make a backup with little space

I have a Server Centos 6.9 con Postgres 9.2 and a base that weighs 70 GB I have little space available and I can not add more space . I need to do a backup of the base. The problem is when running the pg_dump...
asked by 05.12.2018 / 22:13
0
answers

rsync on rsh

I'm trying to set rsync to use rsh as transport . I have edited the file /etc/pamd./login :   #To not show the message of the day, we commented on it.      #session optional pam_motd.so motd = / run / motd.dynamic...
asked by 05.12.2018 / 22:54
2
answers

Concatenate rows in Linux file

I need to generate a linux script that concatenates information. I have a file (arch1.txt) that contains first and last names: Juan Perez Ana Lopez and I have another script that, when executed, returns a line that contains the age of the p...
asked by 17.03.2017 / 05:48