Questions tagged as 'terminal'

2
answers

Set position Cursor Windows & Linux with same code

I'm developing a cross-platform application. For this I would like to develop with as few as possible "ifdefs", and what I need to do is basically a 32 x 16 character fixed screen. But for me to have performance, I have the need to just re...
asked by 20.08.2015 / 23:00
2
answers

Copy file from local computer to remote via terminal

Is there any way to copy a file from a local folder to the remote one through the terminal? Something like ssh ?     
asked by 07.10.2015 / 14:19
1
answer

How to install the moon via terminal in ubuntu?

How to install the moon via terminal in ubuntu? When I try apt-get install lua is returned O pacote lua é um pacote virtual fornecido por: lua5.1 5.1.5-5ubuntu0.1 lua50 5.0.3-7 lua5.2 5.2.3-1     
asked by 08.12.2015 / 16:11
1
answer

How to remove a directory in Windows even though it is in use?

I have a database service running in a directory known as C:\meuBanco\exe\ and now I have developed an updater of this service, which performs the following steps: For service Deletes the exe folder: rd /s /q %DIRSERV%\exe...
asked by 11.04.2017 / 19:11
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
1
answer

Replacing URLs within multiple txt files by the Linux terminal

I have several .txt files Ex: arquivo1.txt arquivo2.txt arquivo3.txt Within these files I have several urls as follows: https://www.site.com.br/diretorio/ https://www.site.com.br/diretorio/ https://www.site.com.br/diretorio/ I would li...
asked by 27.06.2018 / 02:16
1
answer

How to remove the Node in Arch linux / Linux Manjaro

Recently I started a project but my node has a small error and I need to remove it. The following question is how to completely remove node.js using the Arch Linux terminal? And when I run the command pacman -R node as super user I get this e...
asked by 10.05.2018 / 19:11
1
answer

Ubuntu Terminal access a website every day

I'm working with a WebService (SOAP + XML) that requires access every day on a link, I want to automate this service on my Ubuntu Server, I thought of using Lynx along with CronTab to access the link and then close, follows the CronTab code: 0...
asked by 16.04.2017 / 23:55
1
answer

Python Source with subprocess

I'm trying to run a command line in the terminal through a script in python. The command line is as follows: vcftools --vcf <arquivo.vcf> --extract-FORMAT-info GT --out <arquivo sem extensão> For this I have the following lines:...
asked by 15.03.2017 / 16:16
2
answers

How to toggle the symbol # (cerquilha) by the $ (dollar sign) in the terminal after exchanging user

I'll be straightforward, because the Title denotes part of my curiosity about the linux console. I explain In some distros type xPud and Basiclinux3 is not supported "HOME" is just "ROOT" and done! In the distro that I'm using, the...
asked by 18.12.2016 / 06:45