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
-
1
votes1
answer685
viewsIntegrate Samba4 server to microsoft active-directory
I have a windows server 2003 in production running as a domain controller, I have accounts, groups etc. all right and working there. I receive notice from microsoft that the server 2003 will no…
-
1
votes2
answers917
viewsMysql: Windows or Linux?
Which one performs best for dedicated server with Mysql considering several complex calculations in Stored Procedure and Functions?
-
1
votes1
answer805
viewsDevelop in C# using Mono Develop Linux
I need to program in C# and use Linux. I read a little about Mono Develop, I would like to know in what functional aspect Mono is owed or stands out in relation to Visual Studio and if there are…
-
1
votes0
answers238
viewsWindows server folder access by PHP on Linux
We have an intranet developed in PHP that is inside a Linux server with apache. I need to access a folder that is on another server and that server is Windows. Is there any way to do this?
-
1
votes1
answer194
viewsChange script variable value via Java application
I created a script where inside this script there’s a bond like while. The condition for that while is escolha != 1. Everything works ok, but in the middle of this while i run a Java application…
-
1
votes1
answer2296
viewsDUAL BOOT problem with Ubunt and Windows 8.1
My notebook (Dell Inspiron 14r 5437) already had windows 8.1 installed. I intend to install Ubuntu in dual boot, however I am having the following error after splitting the required partitions: The…
-
1
votes1
answer132
viewsCross-platform C program
If I make a program in C and don’t use any Windows library leaving the program totally pure in C I can compile it for Linux as well? and will function normally?
-
1
votes0
answers39
viewsRun Windows straight from partition on Linux
I wonder if there is a way to run Windows that is installed on a partition, inside Ubuntu, or another district. Type, emulating a machine with Virtualbox, only instead of using a file like HD, use a…
-
1
votes3
answers8609
viewsRun a Shell Script with double click on Ubuntu
I have a program in Shell, it does the installation and configuration of some programs on Ubuntu, I wanted to know how to compile or make it run when the user double click on it, yesterday had found…
-
1
votes1
answer717
viewsiptables - packet marking with redirect to squid
I have a firewall with load balancing through packet marking and a squid together. I am marking the packages so that my two links are used ( gvt and OI ) then the link1 = gvt and the Link2 = OI It…
-
1
votes1
answer295
viewsProblem when installing Gulp
I’m trying to install Gulp on Ubuntu, but it only returns me error: root@gabriel-Aspire-E1-571:/var/www/aaa/projeto# npm install --save-dev gulp npm WARN package.json [email protected] No description…
-
1
votes1
answer371
viewsLinux - Symolic Link + Dropbox
I am making use of the sublime 3 recently and would like to leave it standard on all my computers. For this I thought of using Dropbox, which automatically synchronizes in case of any changes. I…
-
1
votes1
answer8204
viewsCannot execute Binary file: Exec format error
I’m trying to run a code on Linux and I’m getting this message: Cannot execute Binary file: Exec format error I did some research and this could be because of the structure of my pc, but from what I…
-
1
votes0
answers28
viewsUbuntu 14.04 x64 Digitalocean accentuation problem
I have an accentuation problem in my Cloud Server that I am using (Ubuntu 14.04 x64), where, I try to give the following command line (in the linux prompt), using Putty, however, when I give a…
-
1
votes1
answer127
viewslinux SSH command
Good afternoon, I am new to linux commands, I need to view more than one file, currently I can use to view 1 file: tail -f pasta/arquivo I would like to be viewing 2 or more files, something like:…
-
1
votes1
answer87
viewsHow can I find the user on Ubuntu (Shell/Bash)
I want to create a system that should interactively find the user and then say whether it exists or not. I must provide the username and if the user is found then the system has found the username…
-
1
votes1
answer573
viewsPHP - Remote Xdebug using netbeans
Presenting 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 a…
-
1
votes0
answers164
viewsProblem to configure angulajs in Nginx
I am not able to configure the angulajs in Nginx. I am using a Centos7 linux machine and I would like to configure the angular to be able to learn. Follow the Nginx.html configuration file user…
-
1
votes2
answers577
viewshow to compare null/null value when type character in C
printf("\nteste -> "); scanf("%i", &opAjuda); /* opAhelp is to receive a whole, but I want to do an if here, saying that if a person writes a character instead of the whole one, it goes to…
-
1
votes2
answers1591
viewsReceive file lines, and treat them (BASH)
I need a bash script that will read a file, recognize the delimiter (in case ";") and store the values that are in the delimiters in variables, to later mount a menu with the dialog... What I’ve…
-
1
votes0
answers155
viewsHow to create a System Call to extract data from an ongoing process?
I need to make a System Call that receives a PID as parameter and returns the number of bytes that this process read from the standard input, disk, and how many bytes it wrote on the USB port. As I…
-
1
votes2
answers1858
viewsShell script Sed read one file and write to another only on the first occurrence of a string
Good afternoon, I am trying to read from an X file and write to a Y file when a specific String appears. But I only want to include it once. Example I’m trying to make: sed -i '/, pasta/r teste.txt'…
-
1
votes2
answers2307
viewsDelete all lines that have a specific string
I would like to delete all lines that have the string Excluído, searching from one specific string to the end of another. Example: <p class="FolderPath"> <table class="DiffTable">…
-
1
votes0
answers66
viewsHelp to configure Toyvpn Server Android
Hello, I have a problem and I’m already 3 days looking for a solution, I hope someone can help me. I’m trying to test the example of Android Toyvpn, but I’m not succeeding in server settings. The…
-
1
votes2
answers78
viewsscript does not write to file
I’m putting together a bash script as follows: #!/bin/bash destfile=/home/user/teste.txt array=($(ls 20151* |awk '{ print $9 }')) n=${array[@]} echo "$n" > "$destfile" but when running the script…
-
1
votes1
answer693
viewsUbuntu Linux server schedule delayed
I have a Linux server running Ubuntu 14.4, configured with the timezone America/Sao_Paulo. But the time he is picking up this 2 min late, it seems little thing, but as the system that runs on it…
-
1
votes2
answers463
viewsDisplay empty directories only with the ls command
Hello, I’m a beginner in Ubuntu and would like to know if there is any way to display only directories that contain subdirectories or files on the command line. If I just type ls, appear…
-
1
votes1
answer79
viewsCan I use GZIP compression on files that have been minified by Gulp or Grunt?
Can I use GZIP compression on files that have been minified by Gulp or Grunt? I wonder if there is possibility that I have problems regarding this. Or if I would have an even faster upload on the…
-
1
votes2
answers548
viewsStart php script in background
I have the.php upload file and I need it to run in the background while my application is used by users. The file send.php instance a pool of Threads that make specific uploads from my system to the…
-
1
votes1
answer5223
viewsWhat is the Xarg command for?
What is the command for xargs? For example, I’ve seen examples ls pasta/ | xargs -l git update-index I saw that this was being used because the command git update-index does not work with folders.…
-
1
votes0
answers104
viewsAssembly code problem for Linux 64
I created a code for GNU Asssembly 64-bit Linux very simple and it works. Only after strip it stops working. What may be occurring? Beginning of the code .section .rodata clear: .ascii "\033c\0"…
-
1
votes1
answer3029
viewsLocation 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…
-
1
votes1
answer1809
viewsHow do I make crontab run a shellscript?
Guys I have a . sh and I’m having difficulty making it run on crontab every minute Example I have my file . sh /var/www/exec/checarservidor.sh it is with due permissions. add it to crontab * * * * *…
-
1
votes1
answer278
viewsCopy Cate and ls file
What other command copies what is inside the file into <> to the other file. cat < file1.txt > file2.txt - Is there a command that does this with pipe? And also ls –lsR | more there is…
linuxasked 8 years, 7 months ago Breno Sobral 23 -
1
votes1
answer51
viewsSsh connection between computers
How to make a connection via ssh between a local pc and a server, with key authentication method.
-
1
votes1
answer162
viewsRun Process in Window with PHP
I am using S.Linux Ubuntu and running my website on an Apache server. Through PHP I am trying to run an executable that is in a specific directory, but I want this process to run in the background…
-
1
votes1
answer5066
viewsFailed to connect to github.com port 443: Connection timed out
I’m trying to make a git push, or git pull, and back and forth triggers this error: fatal: unable to access 'https://github.com/tiagoferezin/meuRepositorio.git/': Failed to connect to github.com…
-
1
votes1
answer191
viewsHow do I build a script to compile librtmp with openssl?
I’m implementing the project ijkplayer(android mediaplayer) but I’m having a hard time adapting an automated librtmp compilation(rtmpdump). I have the following example below, used to compile…
-
1
votes1
answer377
viewsWhat is the correct way to run an application on a linux server using PHP?
Good afternoon, I need to run an application built natively for linux servers using php. I have a php script that runs an application on the linux server creating some files needed to continue the…
-
1
votes2
answers4477
viewsmake: g++: Command not found make: Error 127
I need to run a file that requires the command make. When I type this command the error occurs: make: g++: Command not found make: *** [clearlines] Error 127 I’ve already executed the commands: # cd…
-
1
votes2
answers177
viewsFailed to insert Gem mysql in Linux Manjaro
It’s been a while since I started playing with Ruby on Rails on Ubuntu and created some little projects. I currently installed the distro Manjaro and installed ruby and Rails and I want to run my…
-
1
votes1
answer51
viewsdialog with problem when using --item-help
I am facing problems when implementing a checkbox with dialog, on Linux Mint. What happens is that I use the option --item-help, the box box mount the checkbox wrong. dialog --title 'Seleção dos…
-
1
votes1
answer93
viewsApache2 is not accepting PUT request method
I tried to file a requisition for the guy PUT in a project of mine, but is being returned the following error: The requested method PUT is not allowed for the URL /index.php I’m using PHP to make…
-
1
votes1
answer153
viewsMagento with Ubuntu 16.04 + Nginx+Mariadb+php7. Does not load the page
I have the following environment: Ubuntu16.04 + Nginx + Mariadb + Php7. I downloaded Magento through Composer: composer create-project magento/community-edition magento2 -s dev --prefer-dist Then I…
-
1
votes2
answers75
viewsIs there an error in these command lines?
I am comparing documents across Bash’s command lines and using a loop command. However, an error occurs with the results: ./anibatch.sh: line 38: ./ANIcalculator: No such file or directory…
-
1
votes0
answers1274
views -
1
votes0
answers106
viewsQt project builds on Ubuntu but does not build on Windows
I have a project for college originally produced on the linux platform using Qt Creator and I need to migrate it to windows. I tried to compile but the project has errors in a single header file and…
-
1
votes1
answer41
viewsSIP Skype on Asterisk Does not Register
Colleagues good morning, Lately I’m having a problem with the SIP Skype configured in my Asterisk telephone exchange, even with the settings done correctly the service is very unstable crashing for…
linuxasked 7 years, 11 months ago Paulo Vitor Costa 83 -
1
votes1
answer839
viewsCron on Linux minute and day of the week
I would like a force with a Linux Cronjob. Follows: */1 * * * * wget http://192.168.6.80/sistema.php I would like to see this process run every minute, from Monday to Friday, from 18 to 06 o'clock…
-
1
votes1
answer324
viewsScript for GIT update
I have a question and I don’t know how to fix it. The following happens, I created a script in sh called atualiza.sh inside it I have the following code. git add . git commit -m"atualiza rotina" git…