Most voted "linux" questions
For SOFTWARE DEVELOPMENT issues that are specific to the GNU/Linux operating system. Mere use of shell and desktop, installation and support are not within the scope of the site. If your question is not about development or development but has nothing to do with Linux Apis or Linux-specific behavior you should not use this tag, even if you are running on Linux.
Learn more…1,005 questions
Sort by count of
-
2
votes0
answers318
viewslocalhost/phpmyadmin error 500
I did the installation of phpmyadmin, it worked correctly, I set up the banks and tested my websites locally. But when I went to turn on the pc again everything works properly, but when I access…
-
2
votes1
answer556
viewsOpen application in the background in C - Linux
I am programming a watchdog for my system, at the beginning of the code I need to run the application in the background, for this I use the command: system(". /meuprogram&"); But the program…
-
2
votes2
answers2125
viewsCopy (cp) to current folder on LINUX
It is possible to display destination path by giving a command to copy (cp) from the linux console to the current/current folder? Ex: cp ~/Origem ~/Destino What I desire is some shortcut in bash…
-
2
votes2
answers315
viewsShell script with no return function
I have the following function: function ping { nome=$(dialog --title "inform o endereço que deseja PINGAR" --inputbox "IP ou URL - \ Lembrando que será disparado 10 pings para o endereço informado."…
-
2
votes0
answers91
viewsMonitor Linux hard disk
Hello I would like to know if it is possible to perform a certain action(run a shell script file for example) when the server exceeds a certain percentage of storage. *Command used to view the…
-
2
votes1
answer138
viewsError while using Git on Ubuntu
So, I am currently using the Ubuntu 15.04 operating system to develop my daily activities. I have a PHP web project where I use the Cakephp 3 Framework and version my project in Bitbucket. My…
-
2
votes1
answer40
viewsJava - Disk Reader (Linux)
Good night, I was looking like we can open the disk drive on Windows using Java there are various means like even using vbs. I wonder if I need to use some library on Linux or if I can do it…
-
2
votes0
answers29
viewsRemote Debugging . NET in Different Operating System
It is possible after installing and debugging an application that is running on linux through the mono of a windows machine? The Environment is the following: An application was developed on Windows…
-
2
votes2
answers1052
viewsSelect PHP in tables with special characters
For some reason DBA put "ç" in the name of tables in the Mysql database and now I can’t select these tables from php: $conn = new mysqli($servername, $username, $password, $dbname); $sql="select *…
-
2
votes1
answer13076
viewsHow do I generate the "apk" of my IONIC application
Following the documentation, 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 on the…
-
2
votes0
answers265
viewsError cannot open tty-output Linux
I have installed a paravirtualized Debian8 image on Xenserver, and I am adding a script to create a template for this vm. I added the script on startup with the command "systemctl enable script". In…
-
2
votes3
answers2082
viewsAfter "apt-get dist-upgrade" command, PHP 7 was installed. How to go back to 5?
I use Ubuntu 14.04. And when I went to execute this command apt-get dist-upgrade here on my machine, he installed PHP 7. I’ve already removed PHP 7 like this: apt-get purge php.* But when I do so:…
-
2
votes1
answer45
viewsSite interacting with local system
I have a web application running on an internal server, to be accessed only via internal network, through browser on Ubuntu machines. My real need is to send a signal to the ports (whether parallel,…
-
2
votes1
answer3281
viewsError sending Phonegap pro Googleplay APK
Sending the Phonegap APK pro Googleplay shows the following error: SEND NEW APK TO PRODUCTION Sending failed You have uploaded a debugged APK. For reasons of security, disable debugging before…
-
2
votes2
answers525
viewsError with sem_init() function on Linux
I’m trying to solve a problem with semáforos, but when I try to use the function sem_init() I get an error saying there’s an indefinite reference, can tell me why? I have the library of semáforos…
-
2
votes2
answers1256
viewsInstall JDK on linux Ubuntu
I’m trying to install JDK so I can install Netbeans. Follow my attempt to install JDK: Java version (Java -version): java version "1.7.0_95" Openjdk Runtime Environment (Icedtea 2.6.4)…
linuxasked 8 years, 9 months ago Kleber Souza 451 -
2
votes3
answers428
viewsLinux or GNU/Linux?
There has always been a controversy regarding the name of the Linux Operating System. Some believe to be called only Linux, others call it GNU/Linux. After all, there is a correct way to refer to…
-
2
votes1
answer719
viewsWhat are Ttys for?
I use Fedora 23 and CTRL + ALT + F1 up to the CTRL + ALT + F6 I access these terminals, I only need to use them when the graphic mode hangs and I need to restart the gnome and I have the definition…
linuxasked 8 years, 9 months ago Daniela Morais 4,687 -
2
votes1
answer311
viewsInstall ASP.NET 5 on Linux
I read some news that it is possible to install ASP.NET 5 on Linux. Would someone please have a nice tutorial that could help me with this? I would like to install on Ubuntu.
-
2
votes1
answer5102
viewsHow to list the symlinks of a folder on Linux?
I’m using a tool to deploy in PHP. When I use the command, some symbolic links are created for certain folders. As I will run this command on a Linux server, I wonder if there is a command to list…
-
2
votes2
answers254
viewsUnzipping files with space in name
I’m trying to unpack a large mass of files on linux and I’m trying to use a for that looks like this: for z in *.zip; do unzip $z ; done but I get the following message: unzip: cannot find or open…
-
2
votes1
answer91
viewsInstalling Mysql on linux programmatically. How to set the password?
I am creating a sh file to start a Linux programming environment to automate this boot process. I usually only run the following command lines and during the Mysql installation process I have to…
-
2
votes2
answers1017
viewssyntax error near Unexpected token `fi' Linux
I’ve been trying to make a code to automate the steamcmd but always gave me this mistake syntax error near Unexpected token `fi', someone could help me? Code:…
-
2
votes1
answer577
viewsHow to communicate between java in Prolog?
Good morning! I need to develop an expert system as a college job. I thought of doing it using java to create the interface and Prolog as the engine of inference and basis of facts. But the links I…
-
2
votes0
answers145
viewsInterface between python and Prolog
Good morning. I need to make the communication between Prolog and Python. I ended up finding a pySwip api that interface between these two technologies, but I can’t make it work because Prolog needs…
-
2
votes2
answers5400
viewsMysql not connecting connects by socket error
Good afternoon friends, after having correctly installed Mysql 5.7 on my Ubuntu 16.04, while trying to connect to the bank, I get an error message saying that I could not connect through the socket.…
-
2
votes1
answer1627
viewsWorking with Windows Forms as designer on Linux?
On Linux (Ubuntu) it is possible to create applications with Windows Forms in the Mono or similar, using a designer such as the Visual Studio? I am facing problem because I need to develop with…
-
2
votes2
answers186
viewsConvert File Names to Alphabet Letters
Convert File Names to Alphabet Letters For example, I have several image/photo files in a directory, and I want to pass these long names of the respective images in names designated by letters of…
-
2
votes1
answer107
viewsUpdate FTP without the file being removed while overwriting
The FTP Whenever you send a file it is unusable for a few milliseconds, until the entire file is in place. The problem of this is that the file for a few milliseconds does not exist or is corrupted,…
-
2
votes2
answers115
viewsWhat is the linux text editor command that I can see output in real time?
What is the linux text editor command that I can see output in real time? For example I want to give a "vim" in the access log of my apache I want to see GET entering the log in real time which…
-
2
votes0
answers115
viewsMultiple users and key-pair for Github connection
I’m having trouble setting up more than one public key on the same server for different account users on github. I’m using a test computer: Linux kali 4.3.0-kali1-686-pae #1 SMP Debian 4.3.3-5kali4…
-
2
votes1
answer767
viewsPython code locking with time (Running in Rasbian)
I made a code in python, but it hangs after a while running, someone can help me optimize it to not crash? #!/usr/bin/env python #-*- coding:utf-8 -*- import serial import time…
-
2
votes0
answers261
viewsHow to exchange the UUID of a partition via C code?
I am making a program in C, and through Linux, I have been able to "get" UUID easily, with the command blkid. This program needs to know if the disk on which it was installed is still the same and…
-
2
votes3
answers225
viewsUpdate Python on LE 4.0 (Ubuntu 10)
Hello I need to use Simplehttpserver and only have for Python 2.6.6 and above and LE 4.0 is Python 2.6.5. As it has no software centre (at least I did not find) I tried this code on the terminal but…
-
2
votes1
answer293
viewsCopy Gitlab backup files to an external drive by setting up crontab
I set the server to run a cronjob and run the script that backs up Gitlab. Gitlab in turn generates the files .tar in the briefcase var/opt/gitlab/backups The first problem is that to access the…
-
2
votes1
answer804
viewsHow to create Debian startup script by modifying environment variables
I need to elaborate a startup script that modifies the resolution that Debian puts by default. I currently have the following shell script that does the job: export…
-
2
votes1
answer1641
viewsRun console command and read the return in PHP
In linux if I do the command df -h in the terminal it returns me the partitions, size etc ... as shown below: Filesystem Size Used Avail Use% Mounted on /dev/sda3 25G 6.4G 17G 28% / /dev/sda5 70G…
-
2
votes1
answer1254
viewsDifference between REJECT and DROP in iptables
What’s the difference of using the REJECT or DROP in the configuration of iptables?
-
2
votes1
answer1459
viewsTimeout when trying to use Composer
When I’m running the remote composer ìnstall or composer update, I am receiving this message after a certain waiting time: The "https://packagist.org/packages.json" file could not be downloaded:…
-
2
votes2
answers522
viewsInsert string in first column
I am breaking my head with something very simple, I need to insert a ";" (point and comma) after a Sort/Uniq in a file. As it returns the number of repeated lines, I need this return that is always…
-
2
votes2
answers1499
viewsRemove all line breaks from just one column of a csv file on Linux
I have a file csv with more than 500k of lines and need to remove line breaks from just one column efficiently in addition to deleting all the links it contains, a snippet of the file:…
-
2
votes3
answers2214
viewsCrontab Linux run PHP Script at a frequency of less than 1 minute
Please, I need to run crontab so that it runs every 1 second, you should run a . php script on the Debian Linux server. root /usr/bin/php5 -q /var/www/cloudns.php when executing manual, it performs…
-
2
votes2
answers1262
viewsHow to run mysql database using shell script if the base name has "-"
On the server there are some databases with the name modelo-submodelo (this is the name of the database, created with "-" same). When I execute a command like: mysqldump -h"$DBHOST" -u"$DBUSER"…
-
2
votes1
answer1888
viewsForbidden 403 apache2 on Ubuntu
Well this is the mistake I’m having with my apache. I changed my apache directory to: /media/marcelo/Arquivos/Google Drive/localhost and this directory has 777 permission. Forbidden You don't have…
-
2
votes1
answer559
viewsError installing Python applications on Ubuntu 17.04
I want to put Jango, I’ve done all the process and everything, but when I do Pip install Django or other things related to python, always give this error. marcos@MarcosViana:~$ sudo apt-get -f…
-
2
votes1
answer737
viewsHow to download the file using wget on an authenticated website?
I am trying to download a backup file that is located on an authenticated website using wget. I tracked the http behavior when I log in through my browser and these are the parameters:…
-
2
votes1
answer1801
viewsexecute shell file in Ubuntu by crontab
I’m trying to make a task schedule on linux to run a file sh, does not, however, implement the crontab, but execute when I do it in hand. I did a scheduling test to create a text file, it works, but…
-
2
votes1
answer113
viewsHow to change Cartesian file coordinates in an automated way
I have a certain folder with several files, and these in turn contain inside description of coordinates points cartesian X and Y. However, I want to replace these points automatically and…
-
2
votes1
answer2182
viewsHow do I check for errors in Apache configuration before restarting?
Several times I needed to restart Apache after making some settings, I had the dislike of receiving a failure message, because there was an error in the configuration. A colleague here at the site…
-
2
votes1
answer151
viewsWhat is the origin of green in hacker culture?
Whenever the theme "hacking" is portrayed by the media put anti-social faces in a terminal Black in green letters. I wanted to know where this green of letters always comes from. It’s some symbolic?…