Questions tagged as 'linux'

2
answers

how to compare null / null value when I type character in C

printf("\nteste -> "); scanf("%i", &opAjuda); / * opHelp is to receive an integer, but I want to do an if here,  saying that if the person writes a character rather than integer, it goes to the help screen and shows the message...
asked by 31.10.2015 / 17:05
1
answer

What is the correct way to run an application on a linux server using PHP? [closed]

Good afternoon, I need to run a natively built application 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 application. When running the script throug...
asked by 25.08.2016 / 23:03
4
answers

Difficulty with MSSQL and PHP on CentOS 6 server

I can not run a PHP system on the server (CentOS 6). When I try to connect to an MSSQL database the following error appears: Call to undefined function mssql_connect() In my localhost it works normally. The PHP version on the server is 5.4...
asked by 15.09.2015 / 18:12
3
answers

How to install Android Studio in Linux distributions?

I am new as a linux user, and I installed jdk 7 using this procedure below; http://www.edivaldobrito.com.br/como-instalar-o-oracle-java/ Then I used this procedure to install android as shown below; http://www.edivaldobrito.com.br/...
asked by 01.08.2014 / 01:01
2
answers

PROBLEM with SUDO "must be setuid root" [closed]

So, I think the title is self-explanatory. I'm a beginner on Linux, I've been trying to install Steroids (test environment for hybrid APP's) following this tutorial (the second, from installation), and now whenever I try to use SUDO this messa...
asked by 14.02.2015 / 06:47
3
answers

Remove everything after? in file name

Hello I'm trying to rename a large amount of files in linux, but I'm not able to hit the command. The case is as follows: I have several files in a directory and its subdirectories that have the following name format nome_do_arquivo.ext?...
asked by 09.05.2018 / 16:35
1
answer

Change text when entering amazon c2 host

I searched the amazon site and did not find how to change the text that shows when entering, is the one from the image below. Does anyone know the location that changes this text?     
asked by 16.05.2018 / 18:32
1
answer

File upload to server via FTP via linux command line

Good morning. I have some doubts regarding a project that I am finishing using linux (I do not have much domain). I have a program written in C that generates .txt files, I should make this program run every day (until then, I know I should u...
asked by 19.07.2018 / 16:39
1
answer

How to redirect all the bash script inside the script itself?

I need to play the output of it in a file instead of playing in the standard output that is the screen but without having to explicit with the command >> in the terminal, I want the script itself to do this.     
asked by 23.07.2018 / 00:42
2
answers

When we generate a docker container, are we lifting a linux virtual machine in the background?

Is a container necessarily attached to a virtual machine, or is it independent?     
asked by 11.06.2018 / 19:24