Questions tagged as 'linux'

3
answers

Delete parts of a Text

Galera is the following I wanted to be able to extract only the user name in a Shell SCRIPT however it has to be mandatory through the text that I inform. I wanted to exactly display on screen only: meucliente From the text: / home / meuclien...
asked by 13.09.2017 / 15:40
1
answer

How to create a symbolic link for a Python code in Linux?

I want to run a simple Python code that I created from anywhere on my system. I know that to do this with a shell script just run the command ln -s /home/user/script.sh/usb/ bin / script , however of knowing how to do the same with a "code...
asked by 03.11.2015 / 19:25
1
answer

How is the linux kernel or programs written in C tested?

When we use Java language, we use JUnit to test the codes. But the codes written in C, like the Linux , how is it tested?     
asked by 23.03.2015 / 20:41
1
answer

How to uninstall a tar.bz2 package?

Recently I installed ghdl on my Debian x64, but I installed the wrong version, so I uninstalled ghdl and installed the x64 bit version; but the old ghdl (version 0.29) remains in the system, so I got 2 compilers vhdl ....
asked by 14.11.2016 / 12:27
1
answer

Simulate another environment by using the 'composer update' command

I have a Symfony2 project with dependencies managed by composer , with their composer.json and composer.lock files synchronized between my local machine and the production server through git . It is known that...
asked by 15.12.2013 / 01:18
2
answers

AWS - Instance remote access

Good! I created an Amazon and Windows Linux instance, followed all the steps to generate key, import and change it via PuTTY, opened the key, requested the connection with the care of ec2-user bla bla bla, however in none of the instances I I ca...
asked by 13.05.2016 / 20:48
1
answer

google API - gcalcli - error while executing in a script

Continuing with my issue reported here now I can send shell-script events directly to google calendar, I made a script to execute as scheduled, it follows sms.sh file strong> below #!/bin/bash let oneminf='date +%s'+600 dateonemin='date -...
asked by 23.04.2015 / 22:23
3
answers

How to install Composer globally in linux?

Generally, when I install Composer, I usually do this: curl -sS https://getcomposer.org/installer | php It downloads a file called composer.phar . But then I have to keep putting the folder path all the time I'm going to execute....
asked by 16.03.2016 / 15:26
1
answer

How to tell if a port is open or not in Linux

I have a PHP script that acts as a chat server (websocket) that I have on a certain system. I realize that sometimes this service unexpectedly stops running. It runs through the nohup command. I'm using Linux. I just realize that my...
asked by 11.01.2016 / 12:58
3
answers

Can you access bash on Android?

I'm not a Linux expert. But if Android uses the Linux Kernel, it is understood that it must have some similarities. Would the terminal be one of them?     
asked by 25.09.2015 / 15:51