Questions tagged as 'linux'

2
answers

Version Control Help - GIT / SVN [closed]

I joined a company that works with GIT, I worked with SVN, and I'm having some difficulties adapting to the GIT. So I'd like to migrate to SVN, since the team is just two developers. We have the GIT repository on a linux server. For linux, I...
asked by 11.03.2015 / 14:59
1
answer

add user to sudoers group on Ubuntu [closed]

How to create a user and put it in the list of sudoers in linux? How to get an existing user and change your group to sudoer?     
asked by 28.10.2014 / 22:28
1
answer

How to identify percentage of memory usage to perform cache cleanup command?

We know that the memory cache cleanup command is this: sync; echo 3 > /proc/sys/vm/drop_caches But how to make an executable with an if () else () condition, so that this command only runs when memory usage reaches 80% or more through cr...
asked by 15.10.2014 / 01:27
1
answer

mongo-hacker error installing

I'm trying to install mongo-hacker on my pc, but getting an error I can not figure out. Here's what the terminal returns: gabriel@Constantine:~$ npm install -g mongo-hacker npm ERR! Error: EACCES, mkdir '/usr/local/lib/node_modules/mongo-hacke...
asked by 18.09.2014 / 01:46
1
answer

Force a shell script to run in the terminal

   The user will download the script from an internal site and run it. What I wanted was that after the download the user gives two clicks on the script and it runs and does not open for editing. Is there a way to force a script shell...
asked by 21.12.2018 / 18:53
1
answer

Error while recognizing SSH Ubuntu?

Next I have a serious problem, I never happened to this problem with me from ssh in linux, from day to day the ssh key stopped working, I tried to repeat the process to make a new one, but nothing happened, and always that I tried to connect wit...
asked by 04.12.2018 / 00:51
2
answers

Confirmation of site or host service status

I set up this script to run under Linux, but it is not working the way I expected it to be. I'm using curl to find the state of the HTTP connection. It returns me: HTTP/1.1 200 OK Mais alguns conteúdos do site http... This is t...
asked by 12.11.2018 / 20:39
1
answer

How to list in Windows Explorer the Linux / Ubuntu www directory that runs on the Windows 10 Windows-to-Linux (WSL) Subsystem? [closed]

I need to list the files that are in var/www of Ubuntu that runs on WSL, in order to make a file copy. How do I view them through Windows Explorer so that an application running on Windows copies such a file?     
asked by 07.11.2018 / 13:15
1
answer

Use of the library in different S.

Galera, have been developing some projects in C but at some point there was a need to use the library "Windows.h". So far so good, the problem is that I developed with Linux and I researched the library it is unique to Windows and obviously it i...
asked by 31.10.2018 / 03:34
1
answer

Port redirection [closed]

I have the following scenario: I changed the MySQL port 54235, on linux server Centos, I accept connections from outside only on that port. I have old and discontinued third-party software, where there is no option to change the default po...
asked by 14.10.2018 / 18:07