we all create/discover new and useful commands every day (I do...) but I forget them the day after, above all those complicated command pipes.. I use history | grep but that's not enough.
I'd like a program to save and categorize my favorite commands, that lets you search them and execute them easily.
If you know any, that'd be cool
if...
I'd like to use alias to make some commands for myself when searching through directories for code files, but I'm a little nervous because they start with ".". Here's some examples:
$ alias .cpps="ls -a *.cpp"
$ alias .hs="ls -a *.h"
Should I be worried about encountering any difficulties? Has anyone else done this?
...
I write a little command-line-application in Java. This application should work with a mix of parameters and commands, a little bit similar to the 'svn'-command.
Examples:
app url command1
app url command2 --parameter2 -x
app url command1 --param-with-argument argument
app --parameter url command1
app --no-url command2
app --help
Exi...
I'm using xcodebuild from the command line to compile several variations of an iPhone app but I've not been able to figure out how to deploy those builds into the iPhone Simulator from the command line. Could somebody please enlighten me? Thank you.
...
I'm using Haml from the command-line to do a basic transform of one .haml file to .html, like this:
> haml input.haml output.html
Thing is, this produces single-quotes around attributes in the resulting HTML. So how to I pass in the :attr_wrapper => '"' option from the command-line?
Alternatively, can I just globally set :attr_wrappe...
Having been spoiled by tortoiseSVN, I'm now using the command line in linux to interact with an svn repo.
In tortoise svn I would just commit changes and it would show me a list of what was added, what was deleted and what was modified. I'd check all the boxes and click OK.
With the command line, it appears I have to do svn add when I...
In C# and .NET, I wrote an application that runs in a Form (using Windows.System.Forms). I use InnoSetup to install and I am able to start the application via Windows' Start button.
My problem: a DOS command-prompt window appears along with the Form. How can I prevent the DOS window from appearing?
...
How does one access command line flag (arguments) as environment variables in Erlang. (As flags, not ARGV) For example:
RabbitMQ cli looks something like:
erl \
...
-sasl errlog_type error \
-sasl sasl_error_logger '{file,"'${RABBITMQ_SASL_LOGS}'"}' \
... # more stuff here
If one looks at sasl.erl you see the line:
get_sasl_error_lo...
Hi, I have a bash script that uses bash's "read" builtin to obtain a username and password from the user and then uses them as part of an AFP URL. I'm encountering some problems, however, when passwords contain characters that affect URL parsing (';' for example).
I've looked around for a command-line utility that can do URL-filtering b...
Hello!
How could I "intercept" Ctrl+C (which normally would kill the process)
in a CLI (command line interface) Java application?
Does a multi-platform solution exist (Linux, Solaris, Windows)?
I'm using Console's readLine(), but if necessary, I could use some other method
to read characters from standard input.
...
I'm using IO.popen in Ruby to run a series of command line commands in a loop. I then need to run another command outside of the loop. The command outside of the loop cannot run until all of the commands in the loop have terminated. How do I make the program wait for this to happen, because at the moment the final command is running too ...
Hello,
I'm learning C++, but i only develop console apps, because graphical C++ development is so much difficult, then i want to know if i can develop console like apps for Palm OS, what i want is this, compile this code for Palm OS for example:
// ClientFille.cpp
// Cria um arquivo sequencial.
#include <iostream>
using std::cerr;
usin...
We're struggling to come up with a command name for our all purpose "developer helper" tool, which we are using on our project. It's like a wrapper for our existing tools like cmake and hg. The purpose of the command is really just to make our lives easier by combining multiple commands into one (for example, publishing packages). For ex...
I have CollabNet Subversion server and client installed, running off of Apache that came with it. From the command line on the server, I can easily access the repository using a path like
http://server:port/svn/repository
but I can't access it using its actual location on the disk, like
c:\repositories\repository
I just get "[path]...
Hi,
I have a file named ip-list with two columns:
IP1 <TAB> Server1
IP2 <TAB> Server2
And I want to produce:
Server1 <TAB> IP1
Server2 <TAB> IP2
What's the most elegant, shortest Linux command line tool to do it?
...
A friend of mine has to use an internally-written Windows application to perform part of their job.
Something he has noticed is that the app does the bit where it changes the mouse pointer to an hourglass when it's working, sets it back to normal when it's done, etc.
However there appears to be a bug where in some circumstances the mo...
I have a C program that displays it's command-line by iterating through the argv variable.
#include <stdio.h>
int main(int argc, char *argv[]){
int i = 0;
printf("----------\n");
for(i = 0; i < argc; i++)
printf("%s\n", argv[i]);
return 0;
}
I invoked the program in a folder containing a large C++ source tree lik...
The SAS display manager is a comamnd line interface to the SAS system, which remains in Base SAS as a legacy facility.
However the online documentation on how to use this facility is sparse at best, and google searches are less than fruitful.
A common DM command would be: CLEAR LOG; CLEAR OUTPUT; WPGM;
My question is - What other DM...
I would post a snippet, but I honestly have no idea what part of my code could possibly be doing this. The program is sizable, I don't want to make you all wade through it. What kinds of things could possibly be the cause of this? Everything works perfectly when called from the command prompt: "readoo.exe". But when I click the exe in it...
I've used xmlstartlet to process XML files before. You can give it a simple comannd line and it will generate (internally) an XSLT template and apply that to an XML file.
However now I have a large XML file, so I really need to use SAX for this, not XSLT. Rather than write a simple programme to do this, I'm wondering if there is a more ...