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

6
votes
0answers
1k views

How do I install Nix on a custom directory?

I have been trying to follow the Nix wiki to install Nix on a custom path /scratch/gopinath/nix. The /nix path is not accessible to me due to the restrictions on the system provided by my university. ...
5
votes
0answers
591 views

VBoxManage: error: Cannot read the partition information from '/dev/disk0'

I'm trying to make a partition .vmdk file for Virtual Box. Basically I want to boot my bootcamp partition box up in Virtual Box. But I get the following error when I try to make the .vmdk file...
5
votes
0answers
1k views

How to properly concaternate two audio files together?

I ripped two Blu-rays and I'm trying to combine the audio from both into one file. I've decoded it from DTS-HD MA to Wave64, and I used avisynth to remove the black screen audio (4 seconds) from the ...
5
votes
0answers
2k views

Chrome: How to refresh tab if open, otherwise open new tab?

I'm opening a .pdf file from the command line in Chrome (Windows 7 64 bit). Every time the pdf file changes open the pdf to view it, but I don't want Chrome to open it in a new tab every time.Is ...
4
votes
0answers
298 views

How can I set a dynamically evaluated environment variable for Windows' Command Processor (cmd.exe)?

The Windows command processor (cmd.exe) supports environment variables like USERNAME and USEPROFILE. The value of these variable is always the same after they have been set. But if I execute echo %...
4
votes
0answers
59 views

How to switch users on Windows 8 (Non-pro edition) using the Command Prompt or 3rd-party software

What I need to do is to find a way to switch users automatically right after the main user account has logged in (when Windows 8 start-up process is over). The sequence should be like this: booting ...
4
votes
0answers
225 views

How to access KDE's camera:/ from terminal?

KDE's device notifier detects my GoPro Hero camera correctly and allows me to access its contents in dolphin through the URI camera:/. Is there a way to access the camera also from the command line? ...
4
votes
0answers
4k views

Nohup doesn't work when executing script from Jenkins

I have bash script which executes followingnohup ws --port 8080 &when executing that script directly on remote server and closing connection - process still exists. But when i am using Jenkins ...
4
votes
0answers
655 views

How can I get millisecond-level accuracy timestamps on screenshots (vlc)?

I'm currently using rt.exec("C:\\VLC\\vlc screen:// --dshow-vdev=screen-capture-recorder --dshow-fps=10 -I dummy --dummy-quiet --rate=1 --video-filter=scene --vout=dummy --scene-format=jpg --scene-...
4
votes
0answers
15k views

avoiding console window display when scheduled task runs batch file

I have a small batch file which xcopies some files from one folder to another which I've scheduled (via windows scheduled tasks) to run every 1 hour:@echo offxcopy c:\foo c:\bar /E /C /F /YSince ...
3
votes
0answers
17 views

cannot send long path filename (UNC path) to printer

i'm using long path names with UNC (UNI), for example: \\?\c:\tmp......\file1.prnbut when i try to send the file to a printer on windows command-line, for example with copy/print command, it shows ...
3
votes
0answers
204 views

How to NOT Terminate Batch Job

in my power shell command prompt when I run a command and pressing ctrl + c a message appears asking for Terminate batch job (Y/N)? no matter if I enter Y, or N or n, it terminates the job. My ...
3
votes
0answers
158 views

Switch to Google Chrome app instead of opening a new window from command line in MacOS

Up until recently (before Feb 4th 2018 fo sure) I was able to switch focus to the active Google Chrome windows or run the app if it is not running with:open "/Applications/Google Chrome.app"Now ...
3
votes
0answers
328 views

How to delete a folder that may be a junction, and the destination using command line in Windows

I want to completely remove a 'folder' that may or may not be a junction to another folder.If the 'folder' isn't a junction rd /s /q 'folder' will do the job.But if the 'folder' is a junction to ...
3
votes
0answers
1k views

curl (and openssl) two way authentication always fails

ProblemI'm trying to use curl to send a POST request to a web service deployed on tomcat with host and client verification is required (two way authentication) but I always get the response 404 Not ...

153050per page