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)

0
votes
0answers
13 views

Windows command line

I have an exe which produces an output with some parameter, and from that output I want the integer portion to be stored in a file like below: C:\MyExe -param gives an o/p 123abc, so 123 should be ...
0
votes
0answers
6 views

How do I specify a proxy pac script so I can connect via the proxy in commandline

I need internet connection in the cmd window, but the firewall blocks all external trafic not going through the proxy. I know how to set the http_proxy env variable. But it seems like it doesn't work ...
0
votes
2answers
18 views

linux: how to show permission of files (like ls -l) does on files returned by the find command

I am doing a find command to show me the files of a specific extension, like: find $directory -type f -name "*.vm" however I would like to be able to see the file permissions as well (like ls -l ...
0
votes
0answers
16 views

DIR /B /O:N > filename.txt but only showing folders without a certain file

Im trying to make a list in xp of folders which do not contain a ".jpg" file. I use this (DIR /B /O:N > filename.txt) for making a folder list, it works perfect, but now i need a list with the where ...
0
votes
1answer
109 views

RocketTab is uninstalled but still haunt me

Every time I start my computer a command prompt and window will pop up saying "Windows cannot find 'C:\Program Files (x86)\RocketTab\Client.exe' Make sure you typed the name correctly, and then try ...
0
votes
0answers
17 views

How do I tell robocopy to ignore timestamps?

I have two copies of my Music directory on separate drives. One is a thumb drive that I carry around with me so I can listen to whatever whenever. Initially I copied this directory to the thumbdrive ...
0
votes
0answers
15 views

Can windows 7 cmd.exe properties be set for current window only

With XP, when the window properties were changed on a cmd.exe session, there was a little dialog box that offered "Apply properties to current window only" vs "Save properties for future windows with ...
0
votes
1answer
26 views

Rename multiple files in folder

I have some files in my folder like: asd55.png qwe55.png zxc55.png I want to remove the 55 and get the result: asd.png qwe.png zxc.png I tried with: ren *55.png *.png but doesnt work. NOTE: ...
0
votes
1answer
20 views

In Mac how do I signal end of file (EOF) on the shell

IN windows, I press F6 function key to introduce the CTRL + Z character that signals the end of file. c:\> copy con filename copies the command line input to the given filename. At the end, ...
0
votes
0answers
8 views

Connecting tata photon in X window manager using command line in ubuntu

Due to some reason I had to shift from Gnome to X window manager. So here on the desktop nothing appears (no launcher, no menu bar nothing) but we can open command line in it using Ctrl+Alt+Tab. (I ...
0
votes
0answers
4 views

How do I make less open binary files without confirmation?

I have several log files that contain a few bytes which are not displayable characters (due to binary signatures on the requests). Every time I open them with less I get asked: $ less ...
-1
votes
0answers
10 views

batch file which execute sql command

I want to execute sql command which first opens a folder C:\Program Files\Oracle\product\11.2.0\dbhome_1\BIN and then execute the command as sqlplus sys/eect2EECT as sysdba. Then run sql script ...
1
vote
2answers
27 views

Compare two files and output the differences

I am aware of diff and using loops but I just cant seem to really get what I need with diff. I'm basically looking to compare two files (file2.txt and file2.txt) and just get the output of what is ...
2
votes
0answers
19 views

How to pick the shortest proper prefix from the stdin

Prelude: Here the "prefix" has the normal meaning, e.g., string 'abcde' has a prefix of 'abc'. Here is my sample input $ echo -e '/home/dave\n/home/dave/file1\n/home/dave/sub2/file2' /home/dave ...
0
votes
0answers
25 views

Having trouble renaming a too long file in Windows 8.1

there's probably a quick solution to this problem. I was downloading some PDF files for my next semester and wanted to name the files their full titles for later reference. That ended up with one of ...
0
votes
0answers
10 views

Can't upgrade Dropbox on headless Ubuntu 14.04 server

Every time I run dropbox update I get the following error. Yeah, no idea what that means. Traceback (most recent call last): File "/usr/bin/dropbox", line 1436, in <module> ret = ...
0
votes
2answers
41 views

Windows 8.1 64-bit Text Editor for Command Prompt? [on hold]

I have used text editors such as -- pico, vi, Emacs, nano, et cetera. I noticed that the windows 8 64-bit Command prompt no longer uses "edit" as far as I can tell. Is there a recommended editor ...
0
votes
1answer
30 views

Remove grep's line number output in Redhat 5.9

I havent used RH 5.9 until now. I started with 6 but we have some 5.9 servers. The syntax with 5.9 is a bit different with some things. grep for example will output a number line before the actual ...
-1
votes
2answers
30 views

Find folders called SS, return size of folder

I am able to find all folders called "SS" (superseded) in a hierarchy and list out the location of each one. I have been using this code to pipe out the list. DIR /AD /B "SS" /S > SS_Folder_List.txt ...
1
vote
1answer
38 views

Windows cmd output redirection to standard input ( >&0 )

From a question on Stackoverflow, i've being testing with redirection from/to stdin stream. And this tests, trying to send data to the stdin stream, just to see what happens, end with an apparently ...
0
votes
0answers
2 views

Encode degree sign in vnc url scheme

I would like to open ScreenSharing.app from terminal like this : open vnc://$user:$pwd@$host This works fine, but I've a password with a "°" sign in there, and it's not working with this one. How ...
0
votes
1answer
35 views

Can I run a script every time the cmd program is run? [duplicate]

I want to show unicode character on my windows console. For this I changed the cmd's font to lucida console and I'm using chcp 65001 before every session I will open a program which will display ...
1
vote
3answers
34 views

How to effecentily rename a file in linux CLI by inserting new characters into the existing name?

Let's say I have a long file name such as longfilename. And for the sake of brevity, let's say that "longfilename" is actually much more longer, and more complex to type. Anyway, I want to rename it ...
6
votes
1answer
50 views

Is there a windows command-line alternative to unix's expect? [on hold]

The bash/unix/linux tool expect can be used to automate/script console/tty programs in posix. An example is in http://stackoverflow.com/questions/4780893/ I've read there are bindings for ...
0
votes
1answer
16 views

Launch TortoiseSVN command for more multiple paths simultaneously

Situation I have a development project with the following repository structure: root/ + core/ + branches/ + tags/ + trunk/ + module/ + branches/ + tags/ + ...
0
votes
0answers
18 views

Why is “setx” not setting my path properly?

So I use this command: setx path "C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x 86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Win ...
0
votes
1answer
11 views

Windows 7 path not being set

I've read an followed all stack overflow, super user, etc. instructions multiple times, and my GUI window shows the path to be what I want, i.e., python27. However the cmd prompt shows several lines ...
1
vote
0answers
22 views

Windows Script Issue - Works line by line, not as run.cmd

The following lines of code work perfectly for what I am wanting to do if I copy/past into CMD/DOS one line at a time. However, if I put all the code into a run.cmd file and run the file, it appears ...
-1
votes
0answers
27 views

output.txt stops at 7,407KB

I found the following code online to use the CMD Line to combine all .txt files in a directory. The code creates a dirfiles.txt of the text files in the dir and then uses that to combine them 1 at a ...
0
votes
0answers
18 views

Changing 'syskey' password using Command-Line

As far as we know, We can change windows account's passwords using the below command in CMD windows (With a user that have administrator privilege) : net user TheUserName NewPassword Now, I want to ...
-1
votes
1answer
47 views
+100

Fast MP4 thumbnails

I have worked with FFmpeg, AtomicParsley and Mp4Box in the past to set MP4 thumbnails. However today I realized that MediaMonkey can also set them, and fast. The previous three programs listed all ...
0
votes
1answer
12 views

Tar withour directory structure and exclude folders

I am trying to create a tar file to exclude certain folders and then I want to have a tar file without the parent directory structure. I am able to exclude folders, but when I extract I see path from ...
0
votes
1answer
39 views

What is the meaning of this message in bash commandline?

I did gnome-open document.pdf on my bash shell and I getting this following message :- " ** (evince:11832): WARNING **: Error setting file metadata: No such file or directory" What is ...
1
vote
1answer
243 views

How to find/detect hidden files inside JPEG file?

I'm trying to find out what is a good way to detect whether an image file has other files hidden inside it? related link: Hide files inside of JPEG images at lifehacker
-1
votes
0answers
16 views

Python coded batch files

I know this is more suited to Stack Overflow but I'm not allowed to ask any questions there so here seemed like the next best thing. I'm creating a batch file for the first time and don't understand ...
1
vote
1answer
16 views

Is is possible to insert comments into a long command with escaped newlines?

I have a long command line, longer than but similar to the example below. I would like to add comments to individual argument in the sense of what is shown here: ssh -N \ -R :10000:10.0.0.1:80 \ ...
1
vote
1answer
22 views

What does WindowsXP SetMonTime.exe command do?

I noticed on my Windows XP SP3 workstation a command runs at startup as follows: C:\WINDOWS\system32\SetMonTime 600 I searched on the net and there is absolutely no reference to what it is and what ...
-1
votes
1answer
37 views

How to rename 7-Zip split files as name_00N.zip instead of name.zip.00N

On Windows, when I create .zip split files with volumes less than 20MB with a command like: 7z a name.zip files\* -v20M I get one or more files named name.zip.001, name.zip.002, etc. I need to ...
0
votes
1answer
38 views

.bat file to rename files (not bulk)

I take pictures of airplanes. When i put them on the computer they are named DCS_5678 (or anotrher number :p ) The way i catalogue my pictures is by renaming them as followed: ...
0
votes
3answers
45 views

How to find location of Applications listed in Add/Remove Programs of the Control Panel (Windows)

I am cleaning up a Windows 8 computer and have a program which cannot be uninstalled from the control panel Add/Remove programs section. Is there a way to easily find the locations of the programs ...
1
vote
0answers
10 views

php is not recognized as an internal or external command although it is available in commandline

this is somewhat of a tricky question when it comes to "where should I place it?", but I assume a general problem behind it, which is why I am putting it on superUser. I have a Doctrine script which ...
0
votes
1answer
15 views

'dd' command on Damn Small Linux?

I looked at the package list of DSL, and I don't see 'dd'. For example I would like to restore /dev/sdb from an .img file like so: dd bs=1M if=/home/myname/image.img of=/dev/sdb What command do I ...
0
votes
2answers
43 views

any way to run grep backwards, i.e. from the end of the file and up?

i have a 70G+ log file, and i'd like the most recent entries (apache log append new items at the end) that match a pattern. i can either: run grep | tail or run tail | grep option 1 will take ...
0
votes
0answers
8 views

How to open a file inside an XP Mode application from the command line

There is a shortcut in Start menu for a Windows XP Mode application. It has a Target like this: %SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\VMCPropertyHandler.dll,LaunchVMSal "Windows ...
0
votes
1answer
26 views

Command line: Copy files listed with DIR /S to another folder

I'm trying to list all macro enabled files in my D: and copy them to a "newfolder" I created in the same drive, this is what I've tried and the error message: D:\>copy dir \*.xlsm/S newfolder\ The ...
1
vote
2answers
50 views

BAT file: Delete all files in directory older than 5 days except one file

I have a directory with many temp files. All files older than 5 days can be deleted except one file 'DoNotDelete.txt'. Therefore I should add an extra argument to my current script: forfiles /p ...
-1
votes
0answers
31 views

windows 8.1 does not boot after CHKDSK command

I had problem with Windows 8.1 high Disk usage so in order to solve , searched forums. A voted answer suggested to use CHKDSK command as follow: run command prompt and as administrator type ...
-1
votes
0answers
21 views

Need Text Line Editing Commands for windows [on hold]

I asked something similar to be do with batch but it didn't work out well (as i need batch only solution). Some suggested SED , TR etc. So i hope to get a solution with these 3rd party exe's using ...
-1
votes
1answer
22 views

How to collect specific data? [closed]

I have a text file like this abcdxxxxx abcdxxxxx 1234567 - abcxxxx from that file I want to separate only the strings with abcd as header part. Help me please. Thank you.
0
votes
0answers
13 views

Display image with fit to window and single instance mode

I’ve got a stream of images (jpg) and I want to display each one as soon as it arrives. So, basically, here is what I want: There is currently some image on the screen; a new image arrives, my ...