command Questions

4

Solved

When I execute a command using ProcessBuilder, how does it know where to look for that command? Using this hack/trick I've modified my PATH variable (verified by inspecting processBuilder.environme...
Threescore asked 20/2, 2012 at 21:27

5

Solved

java.io.IOException: Cannot run program "yarn": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620) at java...
Darius asked 18/2, 2019 at 7:46

10

I'm extremely new to the command line and just programming in general. I use windows, and I'm doing prep work for viking code school. In one of the lessons it asks us to use the 'open' command in G...
Bugbee asked 26/9, 2015 at 4:53

5

Solved

I am fairly new to running scripts in UNIX/Linux. I have a .env file containing environment information and a .sh script containing folder creations etc for that environment. How would I run the s...
Incompetent asked 11/2, 2016 at 18:45

18

Solved

Getting error - 'gradlew' is not recognized as an internal or external command. operable program or batch file. inside Android Studio terminal. Can anyone please tell why it's not recognizing gradl...
Nonparticipation asked 14/3, 2018 at 7:11

9

Solved

How do I remove the first 5 characters in each line in a text file? I have a file like this: 4 Alabama 4 Alaska 4 Arizona 4 Arkansas 4 California 54 Can 8 Carolina 4 Colorado 4 Connectic...
Papst asked 10/2, 2015 at 0:7

9

Solved

I'm new in linux and I'm building a program that receives the name of a process, gets its PID (i have no problem with that part) and then pass the PID to the kill command but its not working. It go...
Draff asked 3/10, 2015 at 19:41

10

I think I added the path to environment variables and I restarted my PC too, but the "flutter" cmd is not working. Please help me out. I am using windows 10(64 bit) and getting the error ...
Hardshell asked 5/12, 2018 at 16:3

3

Solved

How do i combine these two commands in the bash: lsof -i :port kill pid The first one returns the PID i want to kill to release the port. The second one kills the returned PID. I am doing this ...
Schnauzer asked 13/10, 2015 at 11:39

4

While in the VS Code Terminal, the 'exit' command or 'ctrl + d' combination closes the terminal directly, whereas I just want to deactive pipenv, is there a way to do this?
Zebulun asked 30/3, 2020 at 13:44

7

Solved

So I've been searching around and cannot find out exactly how to do this. I'm creating a user control using MVVM and would like to run a command on the 'Loaded' event. I realize this requires a lit...
Julietjulieta asked 12/4, 2012 at 15:37

5

I know the command in Unix/Linux systems is "wc" but that doesn't work in Windows. For reference the description for the UNIX word count command wc is: Print newline, word, and byte coun...
Hying asked 20/3, 2015 at 23:37

17

Solved

I need to delete all empty folders from my application folder using windows command prompt? How can I create a bat file like that? Please help me.
Maryammaryann asked 20/10, 2011 at 4:51

4

Solved

I need to use gunzip (which is the decompression tool of gzip) in a terminal on Windows I've downloaded gzip from here (first download link) I installed it and added its /bin folder to my PATH va...
Hemingway asked 18/8, 2018 at 5:15

7

Solved

I tried searching for a command that could list all the file in a directory as well as subfolders using a command prompt command. I have read the help for "dir" command but coudn't find what I was ...
Skulk asked 5/3, 2013 at 1:55

17

Solved

There are already two posts on stack overflow on this topic; however, none of them have resolved or addressed my specific situation. I have installed pytest via pip install pytest. I am able to im...
Bukhara asked 14/3, 2016 at 22:5

34

Solved

I have to use Python and Django for our application. So, I have two versions of Python, 2.6 and 2.7. Now I have installed Django. I could run the sample application for testing Django successfully....
Atonement asked 24/6, 2011 at 13:22

23

Solved

I'm trying to run the below code as instructed in the docker-graphite-statsd: docker run -d\ --name graphite\ --restart=always\ -p 80:80\ -p 2003-2004:2003-2004\ -p 2023-2024:2023-2024\ -p 81...
Sunburst asked 22/9, 2020 at 11:49

3

When I am trying to self-update my composer, I get "Permission Denied" error. Even when I use sudo /usr/bin/composer.phar self-update, it shows me command not found. Please help me I have no idea...
Caine asked 31/3, 2016 at 21:38

4

I was just wondering, in Windows 7 and above, is it possible to change the way dates and times are displayed via the command prompt? Yes, I'm in the U.S. but I like doing things the European way: ...
Krak asked 19/4, 2016 at 18:36

7

Solved

Can I run this in a Windows command prompt like I can run it in UNIX? egrep -wi 'FRIENDS|FOES' *.sql This command is intended to scan each SQL file for the whole keywords "Friends" and "Foes," i...
Expressage asked 2/2, 2012 at 8:20

3

Developer Options can be enabled by tapping 7 times on build number. I am using adb shell input tap x y command to tap on build number. is there any adb command to tap on build number 7 times? ...
Aron asked 27/11, 2017 at 11:45

10

Solved

'ls' is not recognized as an internal or external command, operable program or batch file. I get this error when I try to glance at the files of my folder. cmd opened regularly(not as an admin). ...
Philosophism asked 28/2, 2018 at 15:4

4

I'm using Symfony 2.0. I have created a command in Symfony and I want to take its output and write it to a file. All I want is to take everything that is written on the standard output (on the co...
Sheriesherif asked 7/10, 2014 at 8:39

4

Solved

I am getting a "Wrong type argument: commandp, (lambda nil (forward-line 5))" here. (global-set-key [?\M-n] (lambda () (forward-line 5))) What is the error? I'm fairly sure it's simple & I'm...
Hosbein asked 9/8, 2009 at 6:59

© 2022 - 2024 — McMap. All rights reserved.