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
124 views

du on Mac OS 10.9 gives two different answers for the same directory

If I run du on my iMovie Library.imovielibrary I can get two different results depending on how I run du. However, I believe both of these should result in the same value. Behold: davids-imac:Movies ...
1
vote
0answers
436 views

Nested environment variable does not expanded

I can't explain the below strange issue. I have two system variables: PYTHONHOME = D:\Tools\ISDC_Tools\Scripting\Python.2.7 PYTHONPATH = %PYTHONHOME%;%PYTHONHOME%\Lib After creating a new cmd ...
1
vote
0answers
528 views

How to list all apache modules in windows command line? ( WAMP installed )

I have WAMP installed and I would like to list all Apache modules using this command: httpd.exe -l but when I hit enter, list of modules ( as far as I could read ) appears and disappears quickly ( ...
1
vote
0answers
919 views

What is the command line to start a gadget in Windows 7?

I need to make sure that some Windows 7 gadget is running at a specific time of day (10am) for an user. Surely, I can start it once and let it run forever, but the user may accidentally or ...
1
vote
0answers
82 views

Getmail: Can it remove deleted messages?

I understand that getmail can download messages via IMAP. But what about deleted messages? Can I set up getmail to remove deleted messages also from the local disk? Background: I’m looking for a ...
1
vote
0answers
399 views

Dropbox in a networked shared home folder environment

I've got access to a cluster of servers, and my home directory appears on all of them (as it's on a networked drive). I installed the CLI version of Dropbox on one of them, and when I make changes to ...
1
vote
0answers
70 views

Why can I remove certain files in Cygwin but not Command Prompt?

I have a folder that contains files I have compiled in .NET (however this question could easily apply to a non-programmer's folder too, e.g. containing word documents or whatever.) When I try to ...
1
vote
0answers
276 views

How to change input method when using command prompt?

There are several input methods like Chinese, Japanese, or Russian. But, when I change code page into 65001 (UTF-8), I can only type English. How to change input method when using command prompt ...
1
vote
0answers
352 views

How to autorun a command in tab and how to open multiple tabs in split screen in Conemu?

My OS is windows 8.1 (64bit) and ConEmu version is 131225. This is my task group and it opens 3 tabs on startup as I want. >""E:\RailsInstaller\Git\bin\sh.exe" --login -i" ...
1
vote
0answers
1k views

Windows batch “rmdir /s /q” empty a folder but it is still there (but 0KB) and can't access

I use Windows 7 x64. I have a svn checkout Working folder, say "Working". When I use a batch file or just open CMD, I did del "%currPath%\Working" /s /f /q rmdir "%currPath%\Working" /s /q The ...
1
vote
0answers
1k views

In-path executables not found when called from “Open command window here” console

I uses several CLI tools such as curl, ipcalc, perl, php, wget, etc. When opening a command prompt either via the Start menu or "Run..." > cmd I can invoke theses tools just by giving their name: ...
1
vote
0answers
203 views

where is homegroup password saved?

I was wondering where Windows saves the password of homegroups? I usually connect or create several homegroups in many networks and every time I want to connect to one of these homegroups, windows ...
1
vote
0answers
424 views

Using imagemagick or gifsicle to output GIF with specific filesize?

I have been following this online guide to convert a small video clip into image frames, then combine them together into a single animated GIF. The problem I'm having is that each GIF tends to be ...
1
vote
0answers
133 views

Update prompt on window change in tmux

Windows in tmux can easily become out of sync. For example, in both windows I might have: ~/dir git:(master *) $ The * indicates changes. Then I run git commit in one window, or change to another ...
1
vote
0answers
378 views

How can I modify the BAT file in this post so it will randomly select 1 background contained in a folder containing multiple backgrounds?

Is there a way to modify the bat file from this post here: How do I set the desktop background on Windows from a script? so that it will randomly select 1 background image from a folder containing ...
1
vote
0answers
126 views

Can I nest a command string within another command string?

Whenever I run the following command in an elevated command prompt, I get the 0x80070005 Access Denied error code. I'm assuming it's a permissions error for the child shell. I'm running the command in ...
1
vote
0answers
66 views

Why does starting a process in the background prevent me from recalling previous commands in the command prompt?

I'm running asynchronous command prompt commands in cmd on Windows 7 64-bit and for some reason it affects my ability to recall previous commands just after I run them; for example: I might run ...
1
vote
0answers
222 views

How to make compact.exe to compress only folders, but not files?

I have a large and complex nested folder structure on disk. Say, Folder1 <many files> Subfolder1 <many files> Subfolder2 <many files> ... SubfolderNNN Compressing all ...
1
vote
0answers
129 views

URI Scheme, launch program in its directory

I have registered URI scheme for my app. When I open it with "Run.." or in browser, it runs in hosted directory. For ex. Ive opened url in webpage, program's working dir is in browser. What I want? I ...
1
vote
0answers
293 views

Vagrant won't let me access Virtual Box's Guest window

I am a big Linux and Vagrant newbie, so please excuse my inexperience. So, I have a Slackware vagrant box. When I edit the Vagrantfile with this code: config.vm.provider "virtualbox" do |v| v.gui ...
1
vote
0answers
2k views

Remove 'file locked for editing' attribute from MS Word/ Excel documents

In the same essence as this question Excel file locked for editing. Is there a command I can type to remove the lock flag? for example: attrib -R example.docx -- The story -- In our office we ...
1
vote
0answers
94 views

How do I add in a shortcut on the shutdown menu to a program?

I would like to add a shortcut to this menu here: Does anyone know how to accomplish this? I have Windows 7 Home Premium 64-bit SP1 (6.1, Build 7601)
1
vote
0answers
468 views

Enable ssh service from command line (single user mode)

How can i enable the ssh service in the single user mode? I know how to do it in Terminal: systemsetup -setremotelogin on How can i do it in the single user mode? And if i reboot the system that ...
1
vote
0answers
133 views

Fish - A way to configure it such that it does not scroll through tab completions with tab

If you have a directory structure like the below ./test/locationOne ./test/locationTwo ./test/locationThree If, with bash, or fish, you type in cd test/ then hit tab, it will autocomplete until ...
1
vote
0answers
84 views

MySql dump restore from Run Dialog (not the cmd prompt)

I need to restore a mysqldump on a windows machine, which i perfectly know how. But I need to do it via the Run Dialog in one GO. So we open the Run Dialog and type : "[PathToMysql]\mysql.exe" -u ...
1
vote
0answers
1k views

Set Windows Commandline (or PowerShell) to connect to internet via Proxy

I work behind a very strict firewall but I am able to browse (most) of the internet just fine with FireFox and I.E., however there are specific proxy settings to have. Namely, an autoconfig *.pac link ...
1
vote
0answers
612 views

How to execute a command line after a specific program has been closed?

On Windows 7, I want to execute a command-line after I close a certain process (in my case ehshell.exe). The thing is, I'd prefer not to use any external program and I'd like to prevent having to use ...
1
vote
0answers
195 views

Gnome 3 copy/paste with a Mac keyboard

I want to use a Mac keyboard in Linux with Gnome 3. What I essentially want is to have Cmd/Ctrl keys behave like in Mac: do all copy/cut/paste, window switch and etc. using Cmd key but in Terminal ...
1
vote
0answers
307 views

How do I display a newline in a mysql prompt?

I'm trying to make my mysql prompt look like this: root@localhost:3306 database $ [mysql commands…] How might I place the dollar sign on a newline? Here's my current prompt configuration, in which ...
1
vote
0answers
673 views

Winrar -ilog switch doesn't trigger

I am trying to run a batch file to rar everything in a folder at password them, also I want a log to see something gone wrong. the comamnd line is as follow rar a -r0 -p%var% -ilog.\error.txt ...
1
vote
0answers
7k views

Remove app from BlueStacks using HD-Run.exe

Basically what I'm trying to understand is a way to uninstall apps from BlueStacks using CLI. For example, you can run app like this: HD-RunApp.exe Android com.nubee.valkyriecrusade ...
1
vote
0answers
257 views

How can I create a self-extracting executable from the windows command line that accepts the default install directory as a parameter?

I have tried several different methods including winzip command line and 7zip, but I cannot find a method that will let me create a self-extracting executable that will extract to a specific directory ...
1
vote
0answers
241 views

Pylint on Windows XP and Cygwin

Having recently upgraded my Python installation from 2.4 to 2.7 (ActiveState), I can no longer get pylint to work in either Cygwin: $ pylint C:\Python27\Python.exe: can't open file ...
1
vote
0answers
235 views

After rebooting, why doesn't sudo prompt for password when I try to start MySQL server?

I'm having a minor problem, and I'm hoping someone can help me understand why my system behaves this way. By the way, I'm a MySQL + Terminal newbie, so please go easy on me! I've done some due ...
1
vote
0answers
1k views

Command to change numeric point from comma to dot

On the numeric keyboard, the key between the 0 and the Enter is the . (Del) key. When I use this key (in notepad, windows explorer, MS Word, ...) it gives me a comma instead of a point (full stop). I ...
1
vote
0answers
955 views

How to only add lines using patch?

I'd like to be able to use diff & patch in order to write new lines to a file. To clarify what I mean a bit: Original file: test1.repo exclude=mongo* exclude=sqlite* ...
1
vote
0answers
127 views

Delete a directory off the server

I am trying to delete a folder on my server (Windows Server 2003), but the folder has a file in it that I cannot manage to delete. I used command del /f desktop.ini and get an access denied response. ...
1
vote
0answers
117 views

repeat command until process start or timeout unix

Is there anyway to check the number of file in a directory, if the number of files is correct, say 5 files, zip the files with zip -r total.zip. If the number of files is wrong, wait 3 seconds, and ...
1
vote
0answers
100 views

Virtualbox logon from commandline

My Virtualbox setup is as follows. I am running it on a Windows 7 Host and all of the VMs are Windows (XP through to windows 8). I am using this at work so a GUI logon to any of the VMs requires my ...
1
vote
0answers
300 views

Odd Win7 connex issue (WinSCP, puTTY, FTP command line)

I have searched in many forums and Google and have not seen anyone else mention this issue. So I hope I just missed it and someone can help. This issue I am encountering is this: Whether I use ...
1
vote
0answers
438 views

Use a video as an overlay on another video from command line?

MEncoder/FFmpeg can overlay a video with an image from the command line. Is this possible with a video? I want to overlay a video with another dynamic video. Some parts of the overlayed video must be ...
1
vote
0answers
3k 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 ...
1
vote
0answers
48 views

Is it possible to make a stopped process survive a shutdown?

I know that a program can receive a STOP signal and just sit there until it receives a CONT signal. Now knowing exactly how this works, I'm curious whether whether there's any way to have a STOPped ...
1
vote
0answers
56 views

Which one has preference in Ubuntu: graphic environment or command line?

I use Ubuntu frequently and I have seen strange things happening when using both the command line and the graphic environment simultaneously: For example, I can use right click on a folder (like ...
1
vote
0answers
1k views

Recovering drive via boot to Win7 setup command prompt

I am trying to recover data from two old IDE drives. Drive1 has been successful, but something is wrong with Drive2. It does not appear as a drive letter. Due to limited legacy hardware, the only way ...
1
vote
0answers
264 views

How to open the Quota Entries list for a given drive from a shortcut or command line?

Is it possible to open the Quota Entries list for a given drive from a shortcut or the command line in Windows? And if so, how? I'm not talking about managing quota entries from the command line ...
1
vote
0answers
85 views

Installing aspell in Windows Vista

I am trying to install the Win32 port of aspell with the English dictionary from Kevin's website. After working for several hours, installing some unix tool packages for make and tar. I got stuck ...
1
vote
0answers
269 views

Is there a way to log Windows command line operations?

I have tried looking for an answer to this with no avail. I was just wondering if there was any sort of tool or software that recorded all operations that had been done through command line on a ...
1
vote
0answers
326 views

Add Windows Explorer context menu item for SASS --watch option?

How would I add a context menu item when right-clicking a .scss file to get SASS to watch it? Example CLI command: sass --watch MySassStyle.scss --style compressed The above command is used after ...
1
vote
0answers
477 views

Can a command with ioreg show the parts of the tree (of the I/O Kit registry in OS X) where UUIDs of volumes are found – with those UUIDs?

ioreg – displays the I/O Kit registry, the hierarchical registry structure as an inverted tree. ioreg -w0 -l | grep -F "\"UUID" – displays each point in the tree where there is a UUID of a ...