I realize this is almost identical to http://stackoverflow.com/questions/501290/windows-equivalent-of-the-mac-os-x-open-command and http://stackoverflow.com/questions/264395/linux-equivalent-of-the-mac-os-x-open-command, but I'm asking specifically about a command I can run in the Cygwin shell to use the current Windows UI application bo...
Hi
Is it possible for me to change or assign my server a new IP address every time it needs to make a http request with commands such as wget?
Thanks all
Update
The reason for this is exactly what the Tor project is trying to achieve. I do not want to leave a trace of what requests my server makes and I thought constantly changing my...
How can I discover if a remote machine is configured with or without hardware or software RAID? All I know is i have 256GB at present, I need to order more space but before I can I need to know how the drives are configured.
df lists the drive as:
/dev/sdb1 287826944 273086548 119644 100% /mnt/db
and hdparm:
/dev/sdb:...
We regularly access the build machine through RDP and it there are lots of command line windows that open. Sometimes these windows hang like someone switched focus to them and press the Pause key. Tapping the keyboard moves the process along, but every once in a while this is missed and everyone waits on the process to finish while it ...
Is there some kind of tool which lets me do SQL like queries (counting, aggregating, joining,etc) without using a full fledged database?
Preferably it's some kind of commandline tool:
sqlcommandline "select count(*) from file1.csv where bladebla"
...
I'm wondering if anyone knows about a working command line tool for linux to download using premium account on rapidshare. I've seen a python solution, which does not work for me -- returns urllib2 error message
urlopen error unknown url type: https
and my knowledge of python is not yet deep enough to figure out why: might be a recent...
Hello there, I'm writing a piece of code which deals with math variables and indices, and I'd need to print subscripts and superscripts on a CLI, is there a (possibly cross-platform) way to do that? I'm working in vanilla C++.
Note: I'd like this to be cross-platform, but since from the first answers this doesn't seem to be possible I'm...
a task at my hand requires me to move an ASP application from one server to another. For this, I need two command line tool like stuff to know the following info.
Get the list of com objects used in this asp project.
Get the list of registered com objects in my existing server.
Any Idea ?
...
I've tried shellexecute, I've tried createprocess, I can't seem to get this to do anything.
Running the command line manually (at the actual command prompt in a console window) works, but nothing I've tried so far will run it from within a c++ builder app.
Obviously (filename) is just a place holder. It would be given a valid file n...
I am trying to use TestDisk (partition and file recovery program) to recover some files that I have lost. TestDisk runs as a text-based/console program and prints a long list of deleted files, one per line. Each file is listed as it's path and because I am running this from a rescue live linux cd, I am limited to a 80 character console.
...
I am currently using:
if ParamStr(1)<>'%1' then
begin
address.Text:=ParamStr(1);
autoconfigfile;
end;
to pick up the name of the file that was used to open the file with via file association.
I now want to develop the ability to operate on multiple files.
I.e. if I select 5 files and right click and select open with "EncryptionS...
I'd like to automatically kill a command after a certain amount of time. I have in mind an interface like this:
% constrain 300 ./foo args
Which would run "./foo" with "args" but automatically kill it if it's still running after 5 minutes.
It might be useful to generalize the idea to other constraints, such as autokilling a process ...
I need a command line tool to dump standard Windows DLL version info so I can process it by means of a bash script (Cygwin).
As a Java developer I am not very used to Microsoft development tools (though I have a little bit of experience with Microsoft Visual Embedded C++ 4.0 and Microsoft Visual Basic 6.0).
The appropriate tool seems t...
What is the order in which the Windows command prompt executes files with the same name but different extensions?
For example I have a bunch of executable files (something.cmd, something.bat, something.exe), which of these would be executed when I typed "something" into a command prompt (given they were on the path etc). If that file di...
how do we extend a command to next line?
basically whats the windows alternative for linux's
ls -l \
/usr/
here we use backslash to extend command on next line
whats the equivalent for windows?
...
I'm looking for (linux) command line tools that can help with video editing. I am mostly interested in:
Cutting
Transitions
Effects
Any pointers would be appreciated (I know ffmpeg can do basic cutting, but not much beyond that afaik).
...
Is there a windows command to copy or download files from a http url to the filesystem? I've tried with copy, xcopy and robocopy and they dont seem to support http urls.
...
Is there a command line that I can get the full path to current directory?(in DOS)
...
I am using Java to automate a build. I would like to run an 'scons' command in the current directory in which the build is being performed. How can I do this with Java? I have tried
Runtime.getRuntime().exec(CurrentDir + commandString)
This didn't work. Any ideas would be greatly appreciated.
...
I have a comma delimited file "myfile.csv" where the 5th column is a date/time stamp. (mm/dd/yyyy hh:mm). I need to list all the rows that contain duplicate dates (there are lots)
I'm using a bash shell via cygwin for WinXP
$ cut -d, -f 5 myfile.csv | sort | uniq -d
correctly returns a list of the duplicate dates
01/01/2005 00:22
01...