Join us in building a kind, collaborative learning community via our updatedCode of Conduct.

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).

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
617 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
2k views

Using the thunderbird command-line, how can I open a specific email by message-id?

Thunderbird 24.2.0 has a -mail command-line parameter, with which a specific mail can be opened from the command line:$ thunderbird --help-mail <URL> Open the message specified by this ...
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
405 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
65 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
242 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
634 views

Invoking a local command on every successful connect when using ssh multiplexing?

I'd like to automatically run a command every time I successfully connect to a remote host via ssh.I can do this for the first connection to each host using the PermitLocalCommand yes and ...
4
votes
0answers
680 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
712 views

forslash as the default path separator in windows?

Since windows now accept the forslash "/" as a path separator in addition to its default backslash path separator, so that bothc:\windowsand c:/windows are valid paths (though the former is ...
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
39 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
393 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 ...

153050per page