Questions tagged as 'linux'

3
answers

Crontab Linux run PHP script at a frequency of less than 1 minute

Please run the crontab to run every 1 second, you should run a .php script on the Debian Linux server. root / usr / bin / php5 -q /var/www/cloudns.php When running manual, it performs on a good, plus adding to there in cro...
asked by 15.03.2017 / 03:20
3
answers

Update Python on LE 4.0 (Ubuntu 10)

Hello I need to use SimpleHttpServer and only have it for Python 2.6.6 and above and LE 4.0 is Python 2.6.5. As it does not have software center (at least I did not find) I tried this code in the terminal but it gave several errors: sudo...
asked by 11.09.2016 / 13:13
1
answer

Refresh FTP without the file being removed while replacing

FTP whenever you send a file it is unusable for a few milliseconds, until the whole file is in place. The problem with this is that the file for a few milliseconds does not exist or is corrupted, which causes include() files to sto...
asked by 29.08.2016 / 18:42
2
answers

Insert string in first column

I'm breaking my head with something very simple, I need to insert a ";" (semicolon) after a sort / uniq in a file. As the number of repeated rows returns, I need this return that is always in the first column to be inserted this ";". I already s...
asked by 03.03.2017 / 20:32
1
answer

Installing ASP.NET 5 on Linux [closed]

I read some news that it is possible to install ASP.NET 5 on Linux. Would somebody please have some legal tutorial that could assist me in this? I would install on Ubuntu.     
asked by 17.05.2016 / 18:56
1
answer

How do I get the apk of my IONIC application

Following the documentation , there should be two simple commands: To include the platform: ionic platform ios android To compile: ionic build android However, I'm getting a lot of red error in the terminal, as shown bel...
asked by 05.11.2015 / 13:22
1
answer

Site interacting with the local system

I have a WEB application running on an internal server, to be accessed only via internal network, through a browser on Ubuntu machines. My real need is to send a signal to the ports (either parallel, serial or USB) of the computers that are a...
asked by 08.01.2016 / 01:32
1
answer

Multiplatform C program

If I make a program in C and do not use any Windows library by leaving the program completely pure in C can I compile it for Linux too? Will it work normally?     
asked by 04.08.2015 / 19:22
2
answers

Select PHP in tables with special characters

For some reason the DBA put "ç" on behalf of Mysql database tables and now I can not do select in those tables from php: $conn = new mysqli($servername, $username, $password, $dbname); $sql="select * from Tbl_login"; $result = $conn->query(...
asked by 23.10.2015 / 16:01
2
answers

Modules in Python linux

I'm having some problems installing modules in my python on linux. I am currently using python 2.7.10, most of the modules I use the pip to install, however when I run python 2.7.10 and import my module it says it has not found, however if I use...
asked by 23.06.2015 / 22:06