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
answer28
viewsHow do I egrep print the matchlist of a file?
I’m reading a book of regular Expressions where the author uses egrep to show some examples. It happens that when I try to replicate the examples on my computer my output is different from the one…
-
1
votes1
answer42
viewsCan you insert a variable by passing it as a regular expression in the awk command?
Example: VARIAVEL="Pará" echo "$VARIAVEL" | awk '/^P/ { print $1 }' What this does is just search for any word started with a capital letter P. Okay, so far so good! Now, I want to know if you can…
-
1
votes1
answer41
viewsUse the command xargs as input from a file to popular Xdialog --radiolist
The question here is very simple! Here is a variable: arquivo="\"Item 1\" 'A' off \"Item 2\" 'B' off \"Item 3\" 'C' off \"Item 4\" 'D' off \"Item 5\" 'E' off \"Item 6\" 'F' off" Note that the length…
-
1
votes0
answers50
viewsHow do I make generic shellscript commands for a program installation script?
How do I get commands to accept all possibilities in the code? (Generic) I am trying to make an automation script to install all the programs I regularly use in Ubuntu 20.04. In this case I try to…
-
1
votes4
answers120
viewsHow to filter an HTML tag and its contents with regular expressions in Shell Bash?
Based on the text below, how to keep the text output from the first column of tag span, that matches the text of the latter span? <span class="CVA68e qXLe6d">Colcha Casal e ... -…
-
1
votes1
answer38
viewsI need to delete the line that matches a word in the first file and also the second file in the sequence. How do I do?
I need to delete an entire line through a word that I will define and at the same time delete another line as well, but now it must be in another file that corresponds to the line of the first file.…
-
0
votes5
answers6427
viewsHow do I list the files in a directory and subdirectories that contain specific text on Linux?
How to list all files in a directory and subdirectories that contain a specific text and together the corresponding line in which the text appears, under Linux?
-
0
votes2
answers1978
viewsProblems with dpkg in Linux Mint
I think I uninstalled some package that some application needed, and I think it has generated a problem that I can’t solve. I am using Mint. I have tried to upgrade the system but this error…
-
0
votes2
answers1006
viewsHow to install Zftool (windows, linux)
How to install zftool on windows and linux?
-
0
votes2
answers136
viewsCakephp indicates that Phpunit is not installed
I need to rotate the phpunit with cakephp to perform unit tests, but despite having installed and configured the phpunit correctly through the beg, it seems that the cakephp does not recognize him.…
-
0
votes1
answer633
viewsEclipse error does not meet JVM
Hello, I use Linux Mint 16 and I installed the eclipse and I circled quietly, but after the eclipse installation I uninstalled Openjdk 1.7 and installed Javajdk 1.8. edited the file /etc/profile by…
-
0
votes1
answer237
viewsSSH - Change the default session path
How do I start my SSH session in a specific folder instead of going to ~/ (/home/user_name/).
-
0
votes2
answers1879
viewsactivating the phpmyadmin
I am running XAMPP, however my phpmyadmin is disabled I have done everything to activate, there is some other option, follow below the error. #2002 - File or directory not found Server not…
-
0
votes1
answer1025
viewsPackage duplicity error updating Ubuntu 14.04
In Ubuntu 14.04, I am trying to update the Repositions with apt-get update. However, stop at the duplicity error below. I’m doing the procedure to install phpmyadmin. Thanks for your help. # apt-get…
-
0
votes1
answer61
viewsAccessing the server via linux
I would like with my Java application (netbeans) to access the database that is on the server, but this has become complicated, because it is through a Linux machine. Could someone explain to me how…
-
0
votes1
answer2188
viewsInternal Server Error with . htaccess Linux Mint file
I’m getting an HTTP 500 error Internal Server Error on linux Mint, Apache server. Server version: Apache/2.4.7 (Ubuntu) / Server built: Apr 3 2014 12:20:28 file . htaccess RewriteEngine On…
-
0
votes3
answers953
viewsphp script running as sudo
I’ve already created a script PHP that creates a folder inside my directory home but I want to know now how to change your rights (rwx) since the folder created has the daemon and the rest of the…
-
0
votes2
answers406
viewsError in bind server configuration
I followed this tutorial to install a dns server on my local network: http://goo.gl/vkVC0A My idea is to access intranet.empresa on the network pcs and fall on ip 10.0.0.220 which is a web server. I…
-
0
votes1
answer2672
viewsMysql Error 1049 How to Solve
had just installed mysql in Ubuntu, then restarted my computer, when I tried to log into mysql gave this error. someone can help me? root@wladi-Dell-System-Vostro-3450:/# mysql -r root -p Enter…
-
0
votes1
answer692
viewsMongo-hacker error while installing
I am trying to install the Mongo-hacker on my pc, but getting an error that I cannot unravel. Follows what the terminal returns me: gabriel@Constantine:~$ npm install -g mongo-hacker npm ERR! Error:…
-
0
votes1
answer838
viewsHow to identify percentage of memory usage for running cache clean command?
We know that the command for memory cache cleanup is this: sync; echo 3 > /proc/sys/vm/drop_caches However, how to make an executable with a condition (if() Else()), so that this command is…
-
0
votes1
answer148
viewsIs there any way to run software, native to 32 bits in 64 bits in Centos?
I wonder if you have any way to run the software 32 bits in 64 bits? If you have, I need to install what?
-
0
votes1
answer103
viewsHow to use subclipsis in Ubuntu’s eclipse Kepler 14.04 64 bits
I’ve made all the settings indicated on the site: http://subclipse.tigris.org/wiki/JavaHL And when I access the menu Team -> SVN displays the following error message: Failed to load JavaHL…
-
0
votes1
answer139
viewsSSIS 2012 how to list files contained in UNC sharing?
I have multiple files stored in a "Hitachi Data Ingestor" (HDI) solution that serves as File Server. This solution is managed by linux system within an enterprise windows network. I can list and…
-
0
votes2
answers1263
viewsRun SQL files inside subdirectories on Linux
I have an SQL file repository where each one represents a stored Procedure. These files are inside a directory organized in other subdirectories. Example of my directory structure: stored-procedures…
-
0
votes2
answers161
viewsVersion Control Help - GIT/ SVN
I joined a company that works with GIT, I worked with SVN, and I’m having some difficulties adapting to GIT. Then I would like to migrate to SVN, since the team are only two programmers. We have the…
-
0
votes2
answers6623
viewsWebsite does not update in real time, cache problem
My website does not update at the same time that I modify a file, it takes a long time for modifications to appear, I have tried by means of META TAGS, file. manifest, and Pragma in PHP.…
-
0
votes1
answer201
views"No module named pygame.base" - pygame and pypy
After several attempts and errors, I was able to install pygame 1.9.2a0 in pypy3, downloading the current version via Mercurial and installing via /path/pypy3 setup.py But when giving import, I get…
-
0
votes1
answer635
viewsRedirect Rest service with . htaccess
I have a folder in my project called api, and within it a file .htaccess that should redirect the requests (made via jquery) to the folder app/controllers/rest/ which also has a file .htaccess and a…
-
0
votes1
answer159
viewsChrome and mysql do not open after changing permission in the /opt folder
I ask for help to solve the following problem. was using the XAMPP to run PHP applications, and I had to edit the file php.ini which gets into /opt/lampp/etc/ OBS: dentro da pasta opt/ tem outras 2…
-
0
votes2
answers447
viewsHow to make a matrix sum using shared memory?
I need help to perform a sum of matrices using shared memory. #define LINHAS 3 #define COLUNAS 3 #define PULAR_LINHA printf("\n") int main(int argc, char *argv[]) { int linha, coluna; //indices int…
-
0
votes1
answer424
viewsFile size in windows and linux
I am transferring files through (FILEZILLA FTP Client) from my local machine that runs XAMPP/Windows8, but when placing the file on the LINUX server the files suffer a variation in size. Ex:…
-
0
votes1
answer622
viewsFolder monitoring on Linux
I could use some help. I need to assemble a shell script monitor 4 folders where each one receives a file with template different from the other. I need that when the file arrives an e-mail be sent…
-
0
votes1
answer76
viewsShortcuts - Opensuse 13.2
I want to develop shortcuts in linux Opensuse 13.2. I wonder how I can make that by squeezing super+e he opens the arquivos. I know that to do it I need to go in…
-
0
votes2
answers68
viewsLinux running average
I need to take the average running time and consumption of CPU de 30 execuções of a program made in Python. I have to use the remote time of Linux. Like I’ve never worked with Linux before I’m…
-
0
votes4
answers1578
viewsHow to calculate the CPU percentage?
In the linux, when the system monitor, and in the windows, when the task manager, we have a percentage of CPU. How do we get to this code? How do we get to this calculation using the linux?…
-
0
votes1
answer634
viewsError connecting Postgres to remotely
I am having problems connecting to the company database, I am accessing from home. My other colleagues can access normally. Both saw pgAdmin how much terminal I have been facing problem. Strange…
-
0
votes1
answer74
viewsCorrection in the presentation of the status bar created with the Airline plugin
I installed the plugin Airline in order to have a custom status bar in my editor, as seen in the figure below: However, my editor’s status bar is displaying the <, >> and <symbols. How…
-
0
votes3
answers292
viewsValidate ZIP code in Shell-Script
I’m entering this world of regular expressions, I’m having a doubt, I read about metacharacters, etc. Well, I’m trying to validate a zip code and I’m using the following command and I’m not getting…
-
0
votes1
answer665
viewsApply permissions after executing rsync command
I am synchronizing the files on my local machine with the server as follows: rsync -avz -e 'ssh' -exclude=temporarios ~/Projects/teste/* [email protected]:/var/www/ But for the application to work, I…
linuxasked 9 years, 5 months ago Filipe Moraes 8,737 -
0
votes1
answer53
viewsCreating . httacess for wordpress
I set up a wordpress on a linux hosting, need to set up so that the post url instead of: http://www.example.com/index.php/post be it: http://www.example.com/post From what I read I must mecher in…
-
0
votes2
answers3751
viewsHow to run scripts on Centos startup?
Good afternoon, how do I run a script in Centos 6.5? I’m running into /etc/rc.local /etc/rc.d/rc.local and is not loading the commands: sh /etc/init.d/script the command works outside the script.…
-
0
votes1
answer311
viewsPermission to shutdown now!
How do I give permission to execute the command shutdown to the user ? I am using OS Linux Mint 13.
-
0
votes2
answers4183
viewsEnable . htaccess on Ubuntu 14.10, Apache/2.4.10
I’m trying to enable the . htacces on Ubuntu 14.10,. I’m putting the files in the /var/www/ I’ve tried but I can’t seem to make it work. apache2ctl -S: VirtualHost configuration: *:80 127.0.1.1…
-
0
votes0
answers47
viewsProblem of server exchange
I had a site with a system on one server, I had to migrate to another and now error appears in almost all PHP functions of the system. I already gave the permissions on the folders, since it is…
-
0
votes1
answer62
viewsHow to access an environment variable with .(dot) in the name
Hello, can anyone tell me how to access an environment variable with .(dot) in the name using linux terminal
-
0
votes2
answers406
viewsError php, Call to Undefined Function http_get()
I looked for ways to solve this problem to use the function http_get(), all had to install the lib php-http and by pecl the http only. I did it and I set apache2/php.ini libraries in this way:…
-
0
votes2
answers98
viewsSSH on Linux Using Ubuntu
Which command I use for SSH authentication Also by user and password to access the server without having to do this encrypted password "" I set up a server on Amazon and for me to access I need the…
linuxasked 9 years, 2 months ago Fabio Basilio 13 -
0
votes1
answer201
viewsSpyder can’t read serial port
I created the following test program: import serial porta = '/dev/ttyUSB0' baud_rate = 9600 try: Obj_porta = serial.Serial(porta, baud_rate) valor = Obj_porta.read() print valor Obj_porta.close()…
-
0
votes4
answers1278
viewsDifficulty with MSSQL and PHP on Centos 6 server
I cannot run a PHP system on the server (Centos 6). When I try to connect to a MSSQL database the following error appears: Call to undefined function mssql_connect() My localhost works normally. The…