A command-line interface (or CLI) is a method of interacting with your OS or software by typing commands on your keyboard.

learn more… | top users | synonyms (3)

1
vote
0answers
245 views

Compress files on Windows Server 2003

Duplicate Questions How to compress files with batch file? Using compact.exe didn't do what I wanted. I'd like to have an archive file created so that the files can be retrieved. This is ...
1
vote
0answers
177 views

Turn off device when I connect another device?

I want to automate the disabling of my touchpad, my display and my wifi card; when I connect my usb mouse, my 24inch lcd and my ethernet cable respectively. Devbox does half the job by giving me a ...
0
votes
0answers
8 views

Log Commands Run Over SSH on Client Side

I am looking for a way to run SSH (OpenSSH in particular, but not necessarily) and log all commands that I run against the remote, to a file locally. Running each command as an independent ssh ...
0
votes
0answers
22 views

'.' is not recognized as an internal or external command

def evaluate(str, par): return (os.system("./LKH %s" %par) - swap_2opt_solve_str(str)[1])**2 I have an executable lkh file in the directory. However when my program runs this function, it gives the ...
0
votes
0answers
7 views

How to make Chrome when launched by other programs use my command lines i defined?

For security concerns, i've set chrome to launch with this: --cipher-suite-blacklist=0x0005,0x0004,0xc011,0xc007 --ssl-version-min=tls1.2 I use Windows 7, and when i click it from my TaskBar it ...
0
votes
0answers
4 views

download complete when run from command line but not complete run from launchd

Curious thing. I have a Python script that I've set up through launchd on my Mac to run every 5 minutes. All it does is download a file from a website. My issue/question is that when it's run that ...
0
votes
0answers
28 views

Ask Firefox to export current Bookmarks to Json in CMD line

I can do this manually in Firefox when the browser is open (holding Alt key to show menu) and navigating to Bookmarks > Show All Bookmarks > Import And Backup > Backup This will generate a ...
0
votes
0answers
12 views

posh-git not reading my profile

I'm using posh-git (part of Github for Windows). I want to set a custom prompt as in this question. However, posh-git is not reading my profile file. I have tried: Running PowerShell as ...
0
votes
0answers
10 views

VirtualBox command-line - setting up port forwarding

I know how to configure NAT-based port forwarding using the VirtualBox graphical interface (as in the example below). How can I do the same via the command line?
0
votes
0answers
45 views

Windows Batch file nested IF statement running both IF and THEN

Not sure why this nested IF statement won't work right. I can't find any issues with it. The Last code block actually works properly, not sure why the first one doesn't. The first script is running ...
0
votes
0answers
30 views

Powershell not recognizing Commands

I'm a beginner in PowerShell, I've been working with it for a little while, but suddenly it started not recognizing some commands, for example , typing the Command Set-Location, generates this error : ...
0
votes
0answers
56 views

Pause OneDrive sync using cmd

I would like to know how to pause onedrive from syncing using a command in the cmd. I am doing this because I have my .minecraft folder shared in onedrive and when I am playing minecraft, it is really ...
0
votes
0answers
19 views

Pipeline from <filename> to <filename> in Windows CMD?

Is there a way to do this without a temporary file? I've tried with tee but that failed. Test case: >echo "foo bar" > ex2.go >type ex2.go "foo bar" >type ex2.go > ex2.go >type ...
0
votes
0answers
59 views

Dropbox CLI syncing issues

I have (only) SSH access to a remote server, on which I installed Dropbox and the CLI as per these instructions: ...
0
votes
0answers
21 views

Swftools “Swfstrings” how to get the position of the string to extract

I'm currently trying to find the value of a "string" which is in a "actionscript" of a "swf" file, using "Swftools" with the "swfstrings" command. But in order to extract the info, i need to know the ...
0
votes
0answers
19 views

Printing colorful syntax highlighting to paper

I want to print out some code on paper including syntax highlighting. After some research, I found out, that I could do this in the command line with pygments and enscript, but don't know how to ...
0
votes
0answers
26 views

Is it possible to extract ActionScript from swf files?

I'm desperately searching for a command line tool that allows you to extract ActionScript from an SWF file on linux. I need only the ActionScript part, not the assets.
0
votes
0answers
15 views

build cmake on windows command prompt

I need to build cmake automatically, without windows-wizards. I looked at http://www.cmake.org/install/ but it seems that I must have cmake on the machine before... Any suggestions?
0
votes
0answers
11 views

multiply ttys instances in console

I've run who command in terminal and see: myName console today_date myName ttys000 today_date myName ttys001 today_date myName ttys002 today_date why are there multiple ttys instances?
0
votes
0answers
32 views

How to delete all folder shortcuts and file shortcuts using windows command line

I am new to stack flow without enough reputation so could not upload an image for my question. Here is the description: I have a folder that contains lots of files and some folder/file shortcuts. I ...
0
votes
0answers
21 views

Linux - every command fails to execute

What would cause a Linux server, in this case a Citrix XenServer host, to return "syntax error near unexpected token" for almost every command? So far I have tried a few key OS commands but to no ...
0
votes
0answers
25 views

iterm2 resize pane/window with command

So iterm2 on the Mac has some proprietary control codes that let you change the profile by sending them to the terminal on the command line. I'm wondering if there's a similar way to set the window ...
0
votes
0answers
25 views

Run appcmd.exe list wps as a RemoteApp

We have just switched to using RDWeb to host remote applications. I am trying to make a batch script which will open a command prompt and run a program, displaying the output to the user. It would ...
0
votes
0answers
17 views

Deleting file artwork using the command line

How can I remove the artwork (added using iTunes) for a file using the command line? I found this here but it deletes a little too much, and also copies the file. ffmpeg -i in.mov -map_metadata -1 ...
0
votes
0answers
34 views

Auto close Command prompt

I'm trying to close the the command prompt in vbscript. Code Set oShell = CreateObject("WScript.Shell") Set oWmg = GetObject("winmgmts:") strWndprs = "select * from Win32_Process where ...
0
votes
0answers
13 views

PDF extraction renders strips of images

I have permission to use images from a catalog in my online ads (I resell their products) but they won't give me the image files (I'm a small reseller) Their catalog is available as PDFs. I've ...
0
votes
0answers
25 views

METADATA_BLOCK_PICTURE header for vorbis ogg. How to batch (windows cmd.exe) or rebol create it?

I have searched the web with no success :( Is there anybody out there able to help with a working example on how to create the header for the METADATA_BLOCK_PICTURE for vorbis ogg ? (batch (windows ...
0
votes
0answers
41 views

How to start chrome in profile directory or “switch person”

I'm looking to start the Chrome browser in the "switch person" screen every time. That is: Every time I click on the desktop icon, I want the "Switch Person" list to come up so I must choose the user ...
0
votes
0answers
7 views

set nickname for particular network using `xchat -e -c`

If I'm only connected to one network, issuing xchat -e -c 'amahdal|gone' changes the nickname on that network. But if I'm connected to more than one network, the above command will only affect ...
0
votes
0answers
12 views

Set console width while redirecting the output

I'm trying to avoid wrapping long lines in the NetUsers output, and the output is ok using a cmd window or Console2 with 200 cols. However, if I'm redirecting the output to a file, the output is ...
0
votes
0answers
83 views

Get vector graphics (svg, pdf) page size (width, height) in different units via command line?

Basically, I would like to find out the image size (and possibly, any special boxes) in different units (points, pixels, centimeters) from the command line. As an example here, I have produced an SVG ...
0
votes
0answers
31 views

Unable to type in Putty after a few minutes of inactivity?

For some reason I am unable to type in Putty when connecting to a remote CentOS server, after a few minutes of inactivity. It appears the prompt is disabled and can't be clicked or typed on. I ...
0
votes
0answers
117 views

Executing Minecraft Server Commands via SSH and Screen

I'm extremely new to linux, so please help me out if you can! I have read many of the posts about managing/monitoring servers using SSH and Screen, but have not found anything regarding my particular ...
0
votes
0answers
25 views

Execute remote commands as admin (vmrun)

I am using vmrun.exe to execute commands from a master to my virtual machines. For instance, I would like to be able to change the IP address of my virtual machines (netsh.exe should be launched as ...
0
votes
0answers
20 views

User Access Control no longer opens

I can not run programs as Administrator, because I tried to do this, and modifying the value in the registry didn't do what I wanted to do, I thought that it would stop asking for passwords and let me ...
0
votes
0answers
20 views

how can i delete specific parts of the history when i type “ipconfig /displaydns” on command prompt?

I already know how to flush the history in command prompt, but I only want to delete one part of it. I'm not really an expert on command prompt; I only know a few commands, but I really want to learn ...
0
votes
0answers
54 views

Set window size Firefox using cmd

This documentation contains various parameters that could be passed to the firefox command, executing e.g., firefox -new-window google.com opens a new Firefox window and subsequently starts ...
0
votes
0answers
16 views

Auto add my account to Firefox when installing it silently

I want to make an unattended installation of Firefox so when I open it, it will automatically sync with my account, and I don't need to type it again. This Mozilla Wiki gives you information about ...
0
votes
0answers
48 views

Python shows wrong version in command prompt

I have downgraded my version of Python from 2.7.9 to 2.7.4 for compatibility with a legacy piece of software. On Windows 7 x64 computer. I removed Python 2.7.9 and then installed 2.7.4 into the ...
0
votes
0answers
26 views

Need help constructing cURL config file

I have a (rather long) cURL command that I'm currently running as follows: curl.exe -U : --proxy-ntlm --proxy myproxyserver --cookie-jar cookies.txt -H "Accept-Encoding: gzip,deflate,sdch" -H ...
0
votes
0answers
27 views

Linux: how to convert multi-mp3-audiobooks with appropriate cuesheets?

I have several audiobooks in MP3 format, which are in multi-file format which means, they are named like CD01_CHAPTER_001.MP3 and so on. Now what I would like to do is the following: convert the ...
0
votes
0answers
47 views

ArchLinux can't install perl-wx

I am trying to install perl-wx from the AUR Repo with yaourt, but can't get it to work. I have tried "export LC_ALL=C". Still an error occurred during the check. Maybe you can help me? Pastebin: ...
0
votes
0answers
89 views

How can I run serial commands via plink/putty with windows cmd file?

I would like to open putty command line and run some serial commands via a Windows command file but I can't figure it out. I've tried variations of the following in my cmd file: call plink -load ...
0
votes
0answers
25 views

Send dynamic argument to an application through its shortcut

I am trying to create a shortcut link which will run/open Command Prompt (cmd) as Administrator having present working directory (PWD) set as the supplied folder path. What I have done: Created a ...
0
votes
0answers
94 views

PuTTY - some commands not found

I have some problems using putty. Normal commands like cd, ls work fine, but commands I need for sending files to a cluster don't work. For example bjobs, bsub - I get command not found. I already ...
0
votes
0answers
18 views

How can I format the piped and refreshing output of multiple cmmands nicely?

I have a command line of multiple piped commands which executes beautifully in bash. For simplification: command1 | command2 | command3 Each command generates output while running, resetting the ...
0
votes
0answers
20 views

Change page orientation offline in LibreOffice

I am using console command LibreOffice—headless—convert-to .odt file.html to convert a bunch of HTML-files to .odt but need to change their orientation from default portrait to landscape. Is there any ...
0
votes
0answers
9 views

Access remote applications with console

I am accessing my remote desktop (OSX) by ssh (my local computer is also OSX). Everything is working fine but suppose now I want to access my remote current gmail sessionsfrom the console. Is there a ...
0
votes
0answers
23 views

cp file in /dev/sdc, now drive isn't readable

So I was trying to instal Arch on my Laptop, and I wanted to copy boot.efi into my usb. cp boot.efi /dev/sdc cp boot.efi /dev/sdc1 cp boot.efi /dev/sdc2 and now its not being read. How can I fix my ...
0
votes
0answers
21 views

Odd 7z Extracting Behavior

In short, I would like to use command-line 7z to extract an archive and recreate the directory structure of the archive. I know the function letter for this is "x" yet it does not seem to work for ...