Questions tagged as 'shell'

3
answers

How can I display only the names of packages while they are being unzipped

The question that may already have some answers, however I did not find. I'm kind of lost, I'd say that a little bit confusing even because what I'm asking I think I've already done it in some circumstance of life but I can not remember me fo...
asked by 12.05.2017 / 20:24
1
answer

shell sort inverse java

asked by 08.04.2017 / 23:23
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
1
answer

Adb command to open youtube URL via Browser

To start a URL via adb, I have the following adb shell command: adb shell am start -a android.intent.action.VIEW -d 'https://youtu.be/CSULRDoF8-g' That works. But in the case of a YouTube video URL, the URL is opened by the YouTube app. I w...
asked by 07.09.2016 / 03:34
1
answer

Shell Script - Refresh page every 5 minutes

I need to update a webpage (eg www.google.com) every 5 seconds, as I have no idea how to do this script. Can anyone help me? Thank you     
asked by 22.07.2016 / 18:26
3
answers

Make a Shell Script bash that extracts to a new file all names and nr of women whose number begins with "91"

Consider that there is a file "file1.txt" which has for example: Name of the person, Sex, Zip Code, Mobile Number, Mobile Phone Mark ... How do I write a bash shell script that extracts to a new file all names and phone numbers of all fema...
asked by 25.11.2015 / 15:12
1
answer

Count number of occurrences in a for loop {Bash}

I have the following script #!/bin/bash for file in *.jpg; do convert $file -resize 1920x1080! -blur 0x8 alterado$file; echo "A Processar o ficheiro $file" done I want to echo with    The processor the xpto file (1 of...
asked by 11.11.2015 / 20:03
2
answers

Simulate incoming device connection on usb (adb shell Android)

I would like to know how to simulate receiving a call (receive a call) with the device connected via usb in Android adb shell . I need to run some tests on the physical device, but can not be through the emulator . It can not be by the e...
asked by 19.02.2014 / 14:53
0
answers

ssh command is not recognized in shell when called by Run command via vba

I am mounting a macro that accesses the ec2 instance of AWS Amazon to run a python file. When I give the command at the Windows prompt, opening by run / cmd, the command below works. However, when I open Shell by the Run command, it says:   ...
asked by 20.12.2018 / 12:34
0
answers

How to sort championship script

Good afternoon, how would you do to sort the results and make logic this script: #!/bin/bash echo -e " Quantos Times? " read qtd for i in $( seq $qtd ) do echo " Qual o $i time? " read nome[$i]...
asked by 06.11.2018 / 19:43