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).
13,309 questions
7
votes
1
answer
595
views
Why don't tail or cat display new content of a file to which another process is writing?
I developed a process named X0 that continually appends some lines to a CSV file to register some electrical data as voltage or power.
This process run a python program and is started using following ...
0
votes
1
answer
4k
views
How can I add git.exe to Visual Studios command line path?
I've just set up a new computer. When I installed Visual Studio I didn't install Git because I don't want to use it from within VS. Instead I installed Git for Windows. However, a script we use to ...
1
vote
2
answers
236
views
Transform image with imagemagick via command line?
How can I transform an image while maintaining its original size by cutting off some areas, and filling others (preferably with a specifiable background color), using Imagemagick on the windows ...
1
vote
1
answer
6k
views
Command prompt to search for Task Name
how can we find / detect on what ever application is running and can be seen from the Windows Task Manager ?
Example, im opening 2 firefox, so under the Task Manager > Process, it will be 2 firefox....
40
votes
15
answers
63k
views
Is there a better, more UNIX-like command line shell for Windows? [closed]
I'm sure this has been asked before, but I haven't found it after an hour or so of searching...
I've been using Unix and Mac OS for a while, but I'm a Windows user at heart. This #1 things that I've ...
0
votes
2
answers
4k
views
WinRAR - Using rar.exe command line to extract all files in all archives in a folder then delete all the archives?
I want to use rar.exe via command line to extract all files in all archives in a folder then delete all the archives automatically if they extracted successfully? I tried -df and -dr to no avail. ...
4
votes
2
answers
15k
views
How to resize VLC video window size when called from command line?
I'm trying to play a video in VLC using command line, but I don't want it to play in full size. I trying to pass width and height as instructed at http://wiki.videolan.org/Documentation:Play_HowTo/...
36
votes
3
answers
62k
views
How can I put a newline in my zsh prompt without causing terminal redraw issues?
I'm trying to fix a minor (but annoying) issue with my zsh prompt. The problem I'm seeing is that when I'm using a terminal in a GUI OS environment (for example, Terminal.app or iTerm 2 on OS X 10.7.2)...
0
votes
1
answer
13k
views
How to switch users in Windows 10 via the command line
I want to know how I can switch between multiple users on Windows 10 via the command line. I tried following:
runas /user:<computername>\<username> explorer.exe
Then I entered my password....
1
vote
1
answer
5k
views
Compare two directories to check which files are missing on the destination path with Robocopy?
I have two directories with the same name and same sub-folder names.
I am running this command:
ROBOCOPY “Source 1” “Source 2” *.* /L /NJH /NJS /NP /NS /log:reconcile.txt
But it shows me new files ...
1
vote
1
answer
186
views
Get path of a file without it's name
The file song.mp3 is located in
C:\x-folders\y-folder\z-folder\song.mp3
How can I store this path in a variable?
C:\x-folders\y-folder\z-folder\
1
vote
1
answer
27k
views
How to remove systemctl service in Arch Linux?
I was new to installing Arch Linux and was following a shoddy tutorial, in the tutorial, the man explained that I should use:
sudo systemctl enable [email protected]
So that it automatically starts ...
1
vote
1
answer
7k
views
The service cannot find the resource identified by the resource URI and selectors
When run winrm set -? command, I can see the following example how to disable a listener:
C:\Users\Administrator>winrm set -?
Windows Remote Management Command Line Tool
winrm set RESOURCE_URI [-...
4
votes
1
answer
5k
views
How to change environment variable to running process in Windows?
I'm trying to set new environment variables to any new child-process in Windows platforms.
For example. I'm using sublime, and I run the build command from sublime. (The build command may be a BAT ...
1
vote
1
answer
4k
views
Count number of files in each subfolder, windows command line
There are many solutions for getting the total number of files within a directory using command line, but is there a way to get the number of files per sub directory using command line on Windows (...