Questions tagged as 'linux'

1
answer

CMD, PowerShell, Bash - What's the difference?

There are differences between them, which ones? I speak Ubuntu Bash. I'm curious because to me they seem to do the same thing!     
asked by 07.08.2016 / 21:08
3
answers

How to execute .sh file on button

It is possible to execute a file that .sh in a button , example: /bin/importa.sh   in a <a href""></a> is also good.     
asked by 21.10.2016 / 21:02
2
answers

How to prevent auto-redirect from http to https?

My development web container uses the php: 7.1-apache image. To make it easier to memorize the address of the applications contained in this container, I like to edit the Hosts file on my machine and point it this way: 127.0.0.1 site.dev...
asked by 04.01.2018 / 15:56
1
answer

R is not recognizing the csv file separators

I have some files to work with in R, with data in decimal numbers. Files that have separators such as ; are being read correctly, but one of them has , as the border between cells. I do not know how to fix this problem in Linux Ubu...
asked by 27.10.2017 / 14:17
2
answers

Execution of programs in halt WITHOUT use of Threads

Ask me to build a Java program that runs parallel programs ( ls , firefox ) that are contained in a file. I already have the following code: File file = new File()'; List<String> lista = file.readFile(args[0]);...
asked by 21.11.2017 / 13:32
1
answer

How to change Linux timetable from the command line?

I can see Linux timetable from the command line like this: >date Qua Mai 25 14:49:58 BRT 2016 But now I need to change the Linux timezone from the command line because, as I use a Linux server, I only have access via SSH. How can I...
asked by 25.05.2016 / 19:51
1
answer

Error in Netbeans when creating project [closed]

My error is in the IDE, I'm using Debian Jessie , I decided to use it shortly. The installation of Netbeans occurred perfectly, the JDK installation also however it returns me this error: I tried to reinstall but it did not work, I rem...
asked by 31.12.2016 / 16:14
2
answers

Is there a difference between compiling for the Linux terminal or for the IDE?

I've been programming in C in linux for a semester already, and I always come across people who call themselves better programmers because they compile and run the program through terminal . However, in the face of several se...
asked by 17.12.2015 / 17:27
1
answer

How to solve the problem of PHP 5.6 with obsolete PPA in Linux?

I ran the sudo apt-get upgrade command and received the PHP PPA discontinuation message. After updating the PHP version, when I run php -v , the following appears: PHP 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1 In th...
asked by 05.07.2016 / 15:17
3
answers

Find files containing string and rename

To find files whose name contains a certain string , we can use find as follows: Sample file:    1429331804.H568641P9577.xxxx.example.com, S = 17846: 2, Command to find by xxxx.example.com : find . -type f -name "*xxx...
asked by 21.04.2015 / 23:21