Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [command-line]

An interface for interacting with a computer using typed commands in a text-oriented environment, as opposed to a graphical user interface (GUI).

0
votes
1answer
11 views

SED - complex text deletion and pattern matching

I searched allot on SED. I'm new to using it. Managed to make a command that deletes a block of text between PATTERN-1 and PATTERN-2 (including the patterns) in a large (250mb+) text file. Now I have ...
0
votes
0answers
11 views

Running “net” commands with /domain flag outside of the domain

So as a part of my work i sometimes connect to a network with an AD environment/Domain, and receive domain user credentials - however my machine is not a part of the domain. So when i try to query the ...
-1
votes
0answers
20 views

Is it possible to replace conhost.exe with a later version (or ConPty) meant for W10?

I have a bunch of machines running on W8.1, which is obviously getting dated, but for various reasons I cannot update these machines for some time, but I would like to take advantage of the new ...
1
vote
1answer
13 views

Exclude single executable from path

I have a small problem with my path environment on windows 10. I'm running CLion, which uses CMake, and it spits out this error: sh.exe was found in your PATH, here: C:/Program Files/Git/bin/sh....
-1
votes
1answer
19 views

Creating Primary partition Error

My USB is shown on disk management as "unallocated". I ran: chkdsk /f /r d: it told me that my drive is RAW type. So I tried using diskpart. My volume is shown as unusable so I selected it and ...
-1
votes
0answers
13 views

Rename a subfolder and apply attributes to it in batch? [on hold]

Alright, so all i'm trying to do is rename a subfolder in a folder with a .bat file. The line looks something like \tests\Area51\Sector1 and the .bat file has to be in the tests folder. I've ...
0
votes
0answers
42 views

Windows 10 CMD responds extremely slow

My command line is so slow. I mean even ruby -v takes 10-13 seconds to return version and more complex commands like running rails s is a pain. I tried chkdsk and no problem found. Tried to have ...
0
votes
0answers
15 views

how to check installed shell languages under WAMP in windows [on hold]

I have WAMP installed with windows 10. I use cmd as administrator. I can use shell commands at the command line. I do not know all the shell commands I can use. I want to know which shell commands ...
0
votes
0answers
12 views

In mac osx, I'm trying to write a spinner that takes in a command and spins while running it

The usage would be for long commands called from the command line programatically. In my case php will be calling yarn update. If there is a space in the command I can't figure out how to run it. I'...
0
votes
0answers
17 views

CMD Fileless equivalent of < redirection

I have a batch that wraps AnyConnect Mobility Client CLI (vpncli.exe) and asks username and password to later handle them to vpncli. Simplified code: set /p user_id=Username: set /p pwd=Password: ...
1
vote
1answer
19 views

Excel command line switches - positions

I notice that when I enter : excel /r "c:\temp1\test001.xls" I get read only. When I enter excel "c:\temp1\test001.xls" /r I do not get readonly. When I enter excel /s "c:\temp1\test001.xls" ...
0
votes
1answer
16 views

Invisible directory names

When I do ls -l I get the picture below and I have no idea why. I know the names of the directories and I can cd to them no problem but can't see the actual names. How do I fix that?
1
vote
2answers
274 views

Start process in background at keybind (append `& disown` on Ctrl+Enter)

Let's say I want to open Chrome, Sublime Idea, etc. from the command line while maintaining the control of the terminal. Is there a way to append & disown to the command in Bash when you press ...
-4
votes
0answers
22 views

Windows Console Only Pre-Install Environment [on hold]

I am making a fast installer script for Microsoft Windows OS's It basically replicates what Windows Setup does but in a fraction of the time, which is useful if you do a lot of virtual machines/...
0
votes
0answers
36 views

Supplementary Multilingual Plane and Windows console

Given this file: U+10480 OSMANYA LETTER ALEF 𐒀 Does any version of Windows have a way to output this correctly via the console (command line)? I have tried with: Windows 10 Windows 8.1 ...

15 30 50 per page