Questions tagged as 'linux'

1
answer

How to access an environment variable with (dot) in the name

Hello, can anyone tell me how to access an environment variable with .point in the name using terminal linux     
asked by 24.08.2015 / 19:15
1
answer

Block comments in bash script

I need to comment on a block of code and found the following way it worked: <<COMENTÁRIO meus comentários aqui... ... COMENTÁRIO I would like to know if this is the correct way to do this, I read it on a website and said that the shel...
asked by 12.09.2018 / 00:45
2
answers

How to install ZFTool (windows, linux) [closed]

How to install zftool on windows and linux?     
asked by 07.03.2014 / 21:49
1
answer

Error: "unable to connect to cache daemon: Permission denied" when not using SUDO

I used that command git config --global credential.helper cache to store the login cache on bitbucket when I make git pull in production. Everything works perfectly when I use the sudo git pull command, however I'd like t...
asked by 22.06.2018 / 20:24
2
answers

Insert file system image name in mysql

I use Debian, and I need to capture the name of the images in a folder and insert the names (as string) into a mysql table. ss:~/folder_img$ 859034809583_img.jpg 458389547389_img.jpg ... This problem has now come up and I have no idea how t...
asked by 04.07.2018 / 06:36
2
answers

how to compile a python script in an executable

What is the best way to compile a python script for an executable running on a linux (ubuntu), windows, and mac operating system.     
asked by 01.06.2018 / 03:48
1
answer

Discover network hosts

When trying to create a script about the subject I had some doubts about the script below! The question is, how am I going to do the "for i in 100" so that it pings the ips, like so 192.168.0.1/192.168.0.2/.../.../192.168.0.100. Code: impo...
asked by 24.02.2018 / 06:21
1
answer

LINUX - how to use a string as a delimiter in the cut command [closed]

How do I use a string in the cut command? already tried with: cut -d"String" -f1 but it says that it is only possible with a single character.     
asked by 05.10.2018 / 13:20
2
answers

How to configure virtualhost for xampp in Ubuntu

Can anyone teach how to configure a virtualhost for xampp in ubuntu? I already tried this tutorial link but in the end I did not get the expected result, it would be something like typing in the browser: link and the browser already redirect...
asked by 23.01.2018 / 13:21
1
answer

How to work around a 'problem' with GOTO in PHP

I have a small package manager in the terminal of own use and that manages my Framework, and I'm giving an improvement in it, and it falls into a problem where I can not loop without using goto, as in the code below: $stdin = fopen('php://stdin...
asked by 02.03.2018 / 20:48