Questions tagged as 'linux'

1
answer

sudo subl - how to open sublime 3 by the terminal in Ubuntu?

I performed the installation of Sublime Text 3 on Ubuntu 17.10. I can open Sublime using the subl command on the terminal. However it does not work open as sudo , using the command nothing happens. But it works by running the sudo subl -h...
asked by 14.01.2018 / 00:39
0
answers

Modify database access data in the app.config file after running the project "publish"

Hello, I created an application in C # and for access to the database I did the following: In the app.config file I have created the following: <add name="MyDatabase" connectionString="server=192.168.10.100;user id=usuario;password=senh...
asked by 10.01.2018 / 22:45
1
answer

How to change the version of PHP in which Composer runs on Linux?

I installed the composer on my Ubuntu through the following command: apt-get install composer Ubuntu currently supports multiple versions of PHP installed. I have PHP5.6, PHP7.0 and PHP7.1 installed on my machine. When I only had PHP5.6,...
asked by 16.03.2017 / 16:22
1
answer

Why do I rename the folder the files inside it change?

I am using lubuntu 17 and had a folder called images with some files of there were trying to rename these files with this program in python: import os import re def repl(match): dic = {"4": "0", "5": "1", "6": "2", "7": "3", "Q": "4",...
asked by 17.01.2018 / 17:09
0
answers

Folder Permissions with Samba

Good evening guys. I have a file server in linux, which is consumed in Windows. Each department has its own folder (and everyone uses a public folder), and I need only the user of that department to be able to access their folder (no problem...
asked by 09.01.2018 / 21:53
1
answer

Can I create a cron to delete files with retroactive dates?

See my need, I have a cron that runs every night and creates a file_ddmmaaaa.backup on the Linux Kubuntu server, it happens that the hard disk is filling since this backup file has in average 500MB, how to create a cron that deletes files a date...
asked by 16.12.2017 / 16:13
0
answers

Bash Shell - Script to get URL's with word chosen by the user

Good evening, I have a question regarding a bash shell script that will return the URLs present on a reddit page, that is, in a sudoddit. What I got so far was to return the URLs that are on a page inserted in the code and wanted it when running...
asked by 14.12.2017 / 23:05
1
answer

Curl Script works on Windows but not on Linux

I have a problem with curl. When I use this code in apache installed on Windows 10, it always works. When I use it on Linux, both on Ubuntu Server 16.04 and on CentOS 7, it gives both problems, sometimes it works after several attempts (1 in 5 o...
asked by 28.11.2017 / 19:26
0
answers

Error: Could not find or load main class MainEX1 "[duplicate]

Question asked previously that gave basis to this error The error in question is the use of a JAVA program using the Linux Terminal. I have already compiled classes, the error appears when I try to run those same compiled classes previ...
asked by 18.11.2017 / 16:23
1
answer

Is it possible to access my apache server from the name of my machine?

I'm going to give an example of the Apache + PHP + MySQL server I have on my Ubuntu 16.04 machine, I know that if I put it in the address bar of my phone's browser I can access my sites from the / var / www folder / html , but could I access fr...
asked by 27.10.2017 / 21:04