In Linux shell, one can split a command across several lines using \. For example:
cmd \
arg1 \
arg2
How can I do the same using Windows console?
Thanks!
I need to trace all instrutions of a program using gdb.
After every execution of a instruction, I want gdb invokes a specified function.
Is it a possiable work? How to achieve this?
I searched internet and found "stepi arg" command in gdb could step arg instructions.
But how to find total number of instructions?
After every instruction, how to make gdb to invoke my function automately?
Hello everyone. Does anyone know how to access webcam native controls such as the zoom, brightness level from the command line interface?
How does programs like messenger and skype list those options and are able to control those settings?
I am trying to do this to an AIR 2 app and know that we can access NativeProcesses etc now.
Anyone have any ideas?
Thanks for the help.
In perl you can simply write print "-" x 20 and you get a line with dashes...but i need the same thing in bash/commandline on linux without perl/(g)awk etc. any ideas? The intention is to use it in the -exec of the find command and i want to prevent using simple echo "---------" ...
Anyone know of a command-line CSV viewer for Linux/OS X? I'm thinking of something like less but that spaces out the columns in a more readable way. (I'd be fine with opening it with OpenOffice Calc or Excel, but that's way too overpowered for just looking at the data like I need to.) Having horizontal and vertical scrolling would be great.
I'm writing a shell for a project of mine, which by design parses commands that looks like this:
COMMAND_NAME ARG1="Long Value" ARG2=123 [email protected]
My problem is that Python's command line parsing libraries (getopt and optparse) forces me to use '-' or '--' in front of the arguments. This behavior doesn't match my requirements.
Any ideas how can this be solved? Any existing library for this?
Hi
I'm getting the error below everytime I run a mysql or mysqladmin
command - even mysql --help!!
ambiguous option '--s' (set-variable, shutdown_timeout)
(The daemon is fine)
Any ideas?
Thanks
Daniel
This command add the text "flower" to the image:
convert flower.jpg -font courier -fill white -pointsize 20 -annotate +50+50 'Flower' flower_annotate1.jpg
I'm using ImageMagick 2.2.0. I'm running it from PHP using:
system('convert flower.jpg -font courier -fill white -pointsize 20 -annotate +50+50 'Flower' flower_annotate1.jpg');
but I'm not getting the result
Hi,
I am trying to dynamically create eclipse workspace through the command line to add in to automation. I want these workspaces to all share the same main project from a main workspace.
Does anyone know if this is possible? If so, can you help me?
Thank you!
I'm trying to find a way to use a command line nodejs application that I created on a computer without node.js installed. In other words how to package my application with node.js inside, in order to avoid the users to have node.js already installed.
The tipical use case is: I run the application and the application works using the node core that is provide with the application (or the application checks if there is node.js installed, and if not it donwload and install it automatically).
Do you have any idea?
Hi there,
I want to compress a file using command line. I m writting :
C: compact /c aa.xml
return successful message but i cant see any zip file in C folder. Where is the problem?
Thanks for your helps..
Hi,
Is it possible to do a content search(for a line or a word) in a file using command prompt.?
If so can we search a directory as well.? i.e it should search all the files in the directory for a specific word or phrase.
Thanks.
I want to write a command line utility that can be used to synchronize the execution off programs in different consoles.
Console A:
$ first_program && semaphore -signal
Console B:
$ semaphore -wait && second_program
The first program takes a long take to complete. The second program can only start when the first program has finished.
Which synchronization object do I need to implement this?
i am using icefaces 1.8.2. For some command buttons, sometimes i need to click the button twice. previously whole applivcation was working fine with single click. after upgrade to 1.8.2,i am facing this problem......Any suggestion,what could be the reason???
Thanks
I have a Perl script that calls aspnet_compiler.exe to compile a large ASP.NET website. The problem is that it takes very long to run. Is there any way to compile just a single .aspx file from the command line? (I think that would suit the needs of my script) It seems that all aspnet_compiler.exe can do is compile at a directory level.
I am developing a console application. I need to emulate the way how the command line utility behaves when the F7 button is pressed, like shown below:
Is it possible in C# 2008? If not, is there any workaround available?
Any help much appreciated.
Hello
I'm doing batch-testing on our win32 c++ programs. Some of them crash. What's the best way to catch those crash from the command line and report it?
thanks
Are there command-line tools for XML digital signing?
I have found one here:
http://www.codeproject.com/KB/security/xmldsiglic.aspx
but it needs .NET Framework and i would prefer it to work without .NET
So I have to send a java project to someone outside our company who has no experience with java and they need to compile it. Is there an easy way to do it on the windows command line that does not require writing out lists of the files?
Personally I think javac should be smart enough to handle
javac *
when in the folder just under the root of the package hierarchy. Is there anything in this ballpark?
In the middle of a scrip, I want to check if a given flag was passed on the command line. The following does what I want but seems ugly:
if echo $* | grep -e "--flag" -q
then
echo ">>>> Running with flag"
else
echo ">>>> Running without flag"
fi
Is there a better way?
Note: I explicitly don't want to list all the flags in a switch/getopt. (And BTW the bodies of the if just set a set of vars)
How to pass variables to gnu makefile from command line arguments? In other words I want to pass some arguments which will eventually become variables in makefile.
I'm sure I once found a unix command which could print the common lines from two or more files, does anyone know its name? It was much simpler than diff.