command-line

How do I open "Find Files" dialog from command-line in Windows XP to search a specific folder?

I'd like to create a hotkey to search for files under a specific folder in Windows XP; I'm using AutoHotkey to create this shortcut. Problem is that I need to know a command-line statement to run in order to open the standard Windows "Find Files/Folders" dialog. I've googled for a while and haven't found any page indicating how to do th...

Is it possible to send the contents of a text file to the clipboard from the command line in OS X?

I've found myself needing to do this a couple of times lately and wondered if there was a way to do this in the OS already. Failing that, I've got a pretty good idea of how to write a script to do it, I just need to know how to access the clipboard in os x. ...

emulate unix 'cut' using standard windows command line/batch commands

Is there a way to emulate the unix cut command on windows XP, without resorting to cygwin or other non-standard windows capabilities? Example: Use tasklist /v, find the specific task by the window title, then extract the PID from that list to pass to taskkill. ...

Why are we still using compiler command lines?

I've been designing a compiler framework (targeting .NET) for a while now and I've been thinking more and more about deprecating the command line interface. A lot of my compiler's flexibility comes from the ability to define custom pipeline elements (to handle DSLs, macros (which have their own DSL to define), etc) and the command line ...

Is there any free tool for monitoring BizTalk applications remotely?

whether command line or GUI, I'd be interested in testing every of them. ...

What are the Mac OS X terminal choices?

I am reasonably happy with Terminal.app and very unhappy with iTerm (the damn thing keeps crashing), but am I missing out on a better, more feature rich OS X terminal? ...

Real-time history export amongst bash terminal windows

Is it possible to share the same bash history file instance amongst all the terminal windows in real time? I want commands executed in one window to be available to all other terminal windows without having to restart them. ...

Does the tee command always wait for EOF?

I'd like to log the output of a command to stdout as well as to a log file. I've got Cygwin installed and I'm trying to use the tee command to accomplish this. devenv mysolution.sln /build myproject "Release|Win32" | tee build.log Trouble is that tee seems to insist on waiting for the end of file before outputting anything to either s...

Suggestions for implementation of a command line interface

I am redesigning a command line application and am looking for a way to make its use more intuitive. Are there any conventions for the format of parameters passed into a command line application? Or any other method that people have found useful? ...

How to clear the scrollback in the screen command?

Hi, I use the screen command for command-line multitasking in Linux and I set my scrollback buffer length to a very large value. Is there a key combination to clear the buffer for a certain tab when I don't want it sitting there anymore? Thanks. ...

How do you recursively ftp a folder in linux

I'm trying to ftp a folder using the command line ftp client, but so far I've only been able to use 'get' to get individual files. ...

Windows console command to open multiple pages in Internet Explorer 7

How do I open multiple pages in Internet Explorer 7 with a single DOS command? Is a batch file the only way to do this? Thanks! ...

Access running mono application via command line

What is the best way to access a running mono application via the command line (Linux/Unix)? Example: a mono server application is running and I want to send commands to it using the command line in the lightest/fastest way possible, causing the server to send back a response (e.g. to stdout). ...

How can I get a summary of my cvs conflicts when doing a cvs update on the command line?

Is there an easy way to get a conflict summary after running a cvs update? I work on a large project and after doing some work I need to do an update. The list of changes coming back from the cvs update command is several pages long and I'd like to see only the list of conflicts (starts with 'C') repeated at the end of the cvs update...

What is a simple command line program or script to backup SQL server databases?

I've been too lax with performing DB backups on our internal servers. Is there a simple command line program that I can use to backup certain databases in SQL Server 2005? Or is there a simple VBScript? ...

Any way to do Visual Studio "project only" build from command line?

devenv mysolution.sln /build "Release|Win32" /project myproject When building from the command line, it seems I have the option of doing a /build or /rebuild, but no way of saying I want to do "project only" (i.e. not build or rebuild the specified project's dependencies as well). Does anyone know of a way? ...

How do I remove the file suffix and path portion from a path string in Bash?

Given a string file path such as "/foo/fizzbuzz.bar" how would I use bash to extract just the "fizzbuzz" portion of said string? ...

What processes are using which ports on unix?

Hi there, I need to find out what ports are attached to which processes on a unix machine (HP Itanium). Unfortunately, the lsof is not installed and I have no way of installing it. Does anyone know an alternative method? A fairly lengthy google hasn't turned up anything. Thanks. ...

How do I escape a PHP script to an external editor and return afterwards?

Specifically I have a PHP command-line script that at a certain point requires input from the user. I would like to be able to execute an external editor (such as vi), and wait for the editor to finish execution before resuming the script. My basic idea was to use a temporary file to do the editing in, and to retrieve the contents of th...

Is there any sed like utility for cmd.exe

I want to programmatically edit file content using windows command line (cmd.exe). In *nix there is sed for this tasks. Is there any usefull equivalent in windows? Edit: I am looking for native command line solution. ...