Questions tagged as 'ubuntu'

2
answers

Equivalent command in Linux

I have a question, in windows I use a command that allows me to locate myself inside a directory and create a text file with all the existing files in the directory in question the command that I used for it is the following cd /carpeta/ruta_d...
asked by 11.11.2018 / 02:02
1
answer

Doubt array of bash

I was trying to do the following:    Make a script that adds to an array all the files in the / home directory whose termination is .doc MY SOLUTION: vector=() guardar=0 for i in 'find /home -name *.doc'; do vector[$guarda...
asked by 01.11.2018 / 22:44
1
answer

Appropriate use of .htaccess

I have a server with a web application developed in laravel, I am trying to configure the .htaccess file so that, if a URL is entered with index.php , it disappears. I am currently using these lines: RewriteCond %{THE_REQUEST} ^.*/ind...
asked by 29.06.2017 / 18:15
1
answer

PHP does not detect the CURL

Good people, I have a web server on an Ubuntu Server 16.04.2 64-bit LTS. In which I am installing the GLPI, which gives me problems because it does not detect the CURL extension, which I have installed, I have even several versions. Here is t...
asked by 13.07.2017 / 12:45
2
answers

how do I start dual ubuntu if my computer starts with windows 10? [closed]

This question is different, or at least I think so, from the others that I have seen. It turns out that I installed ubuntu well (I reiterate, I installed well, I followed all the steps correctly) 18.04 from my usb on my computer, which has windo...
asked by 18.10.2018 / 00:57
1
answer

Error in Php using Cron in ubuntu

I have a script in php and I want it to run every minute for example, and in the crontab I have it like this: cd /var/www/html/RestApi/ /usr/bin/php /var/www/html/RestApi/prueba.php The thing is that if I execute it without being...
asked by 13.11.2018 / 10:51
2
answers

Exec command does nothing in PHP

I have the following code: <?php echo "Hola mundo."; exec ("uname -a"); exec ("echo uname -a"); ?> the exec command does nothing on the two lines. I'm newbie in php and I'm stuck. SO Lubuntu 18.04 xampp 5.6.30 PHP Ve...
asked by 17.08.2018 / 03:37
1
answer

Netbeans - "The CATALINA_HOME / conf / server.xml can not be read"

I am trying to build a Tomcat server in Netbeans, I have already installed the Tomcat plugin and I have correctly configured my environment variable CATALINA_HOME but I get this error:    The /conf/server.xml can not be read I do n...
asked by 20.04.2018 / 00:36
1
answer

Sound error in ubuntu 16, exit for clumsy

Two days ago my audio was fine, today I turned on the machine and it had no sound and in the audio configuration said exit for clumsy now uninstall and install pulse-audio and alsa-audio but I still have no sound. Someone who can guide m...
asked by 13.12.2017 / 19:44
1
answer

Shoot python scripts with the Ubuntu console

Good morning, I am working in Python on Ubuntu , I need to create an application that executes various actions through common console commands without calling the python3 entity. for example: user@usuario-de-ubuntu:~$...
asked by 07.12.2017 / 20:58