Questions tagged as 'terminal'

1
answer

Link in terminal

Is there any way to do that when the localhost:3000 , which is in the terminal, is pressed ctrl + click the browser is opened in the page in question ( localhost : 3000 ) ... this in a Javascript code: console.log('\nServ...
asked by 20.01.2018 / 00:02
1
answer

Failed to install .deb on Ubuntu [closed]

I downloaded a .deb file directly from the official site (Astah Community installer) and, after the download was completed, I double-clicked the file. The Ubuntu Software screen was opened (as we can see in the image at the end) and I had it...
asked by 18.11.2016 / 17:25
1
answer

Terminal: program not installed [closed]

After I uninstall some programs every time I open the terminal the following message appears    The 'rbenv' program is not currently installed. You can install it by typing:   sudo apt install rbenv How do I remove this message?     
asked by 30.10.2016 / 10:38
1
answer

Failed to install gem mysql in Linux Manjaro

It's been a while since I started playing with Ruby on Rails on Ubuntu and created some projects. Currently I installed the distro Manjaro and I installed the ruby and rails and I want to run my project created in Ubuntu, however I am facing...
asked by 31.08.2016 / 16:59
2
answers

Shell script Sed read one file and write to another only on the first occurrence of a string

Good afternoon, I'm trying to read from an X file and write to a Y file when a specific String appears. But I just want to do the inclusion once. Example I'm trying to do: sed -i '/, pasta/r teste.txt' Report.html This command is reading...
asked by 01.12.2015 / 17:22
1
answer

Problem installing Gulp

I'm trying to install Gulp on Ubuntu, but it only returns me error: root@gabriel-Aspire-E1-571:/var/www/aaa/projeto# npm install --save-dev gulp npm WARN package.json [email protected] No description npm WARN package.json [email protected] No reposito...
asked by 12.08.2015 / 22:58
1
answer

Why can not I run the file located in the bin?

I need to use the file flare and flasm , which chown and permission are correct. Why can not I just run one and not another? -rwxr-xr-x 1 daniela.morais sudo 64808 Mar 19 13:54 flare* -rwxr-xr-x 1 daniela.morais sudo...
asked by 19.03.2015 / 20:09
1
answer

Remotely access another unix machine with Vim

According to this video link you can access another unix machine with Vim and continue editing the file from where I stopped. How can I do it?     
asked by 15.09.2014 / 01:52
1
answer

Why does the 'cd' command not work via ssh in GOCD?

I'm trying to run the command below in the GOCD terminal, but the error always occurs: Command ssh root@host 'cd /var/www/gda-frontend/ && docker-compose up -d --build' Error    bash: cd / var / www / gda-frontend / &...
asked by 04.07.2017 / 20:52
1
answer

What is Ansi Escape Code?

For manipulation of the linux terminal (other OS console as well) , it is using a string started with a value in hexadecimal 0x1B known as ANSI Escape Code . As for example printf("\x1B[32mMy Text\n") . How does ASNI Escape Code...
asked by 14.04.2017 / 05:55