|
Hi, I am trying to create a simple Automator droplet that will take the style.less file dropped into it and run the following LESS command on it:
$ LESSC {DROPPED_FILE} --watch
which will monitor the file I have dropped in for any changes and will then...
Started by Jannis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Your can manually....
Note where it also talks about ^C.
Clarification on hint: This PDF talks about signals.
Hint: What does ^C Control-C really do in a shell?
(It doesn't send a character) .
Less also terminates when it receives the "q" character, I think .
|
|
(Feel free to edit the title if you can think of something better)
Is there a command line utility that kills all processes with a specific command line? E.g. kill all processes named "java.exe" with a command line that contains "-jar selenium-server....
Started by ripper234 on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at superuser):
If there are more than one java process containing....
You can try ProcessId|more +1
The more +1 removes first line containing the header and prints the PID alone.
It to make it work)
If you are using a Windows version which has WMIC command in it.
|
|
If you have mathematica code in foo.m, mathematica can be invoked with -noprompt and with -initfile foo.m (or -run "<<foo.m" ) and the command line arguments are available in $CommandLine (with extra junk in there) but is there a way to just have...
Started by dreeves on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try
-initfile filename
And put the exit command into your program
MASH -- Mathematica Scripting.
|
Ask your Facebook Friends
|
Gnokii working in linux command line in rhel5 but not through php system command, what to check? pls help.
Started by KK on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Solutions include disabling SELinux completely....
Httpd runs as httpd_t , gnokii is labelled as bin_t , and there's no domain transition from one to the next .
What is most likely happening is that SELinux is (correctly) preventing httpd from executing gnokii .
|
|
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...
Started by dreeves on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
$ @(#)Purpose: Run command with timeout monitor @(#)Author: J Leffler @(#)Copyright: (C) JLSS"); else if (pid == CHILD) { execvp(argv[optind], &argv[optind]); err_syserr("failed to exec command %s import os os.system("ulimit -t 10; other....
|
|
Is there a command which will print the path of the file in the repo-browser in the command line?
SVN diff only prints the file name.
Thank you.
Started by Jarvis on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The ones you're looking for are URL and Repository Root:
$ svn info mydialog.h [...] URL: http://svn.server.net/my-repo/trunk/ui/mydialog.h Repository Root: http://svn.... .
Svn info ?
svn info path/to/filename
will show you several pieces of information .
|
|
What is the windows command prompt command to copy files?
I need to move a file from location A to location B. Also if the folder for location B doesn't' exists I want to have it created.
I need this to be a command line so I can automate it.
The version...
Started by David Basarab on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
The copy line copies the file called the file at the same time, ....
Xcopy will create the directory of this file will always return true if the directory exists .
For more info type xcopy /? and your command line.
Destination files.
|
|
I'm using a public Windows computer where the command line has been disabled. By using Instant Rails I'm able to create customize and test rails apps to some degree but can't use the Rails commands.
Question:
How do I use these commands with a disabled...
Started by Julian on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're able to install software on the machine, maybe ... .
Here's another option...
However, if your command line is disabled, you're probably not going to be able to `install without needing a command line at all.
To mind.
|
|
I'd love if there was a single command line tool for packet sniffing a single command in Linux. something like sniff dumpfile command so that you could just run the command you want to packet sniff in the terminal and get a dump of the packets somewhere...
Started by Rory McCann on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at serverfault):
# strace -f -e trace=network -s 10000 /usr/bin/command arguments
This will give you information about modifications to the tshark command....
Try Wireshark -- the command will be tshark
tshark allows you to select.
Is the 'classic' answer.
|
|
Vote up the one you like best! Use comments to justify your choice.
As I know there are two types of command line commands. If you can think of another one, post an example (as a community-wiki answer).
Started by FerranB on
, 10 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
How many different types (the POSIX getopt() only ....
That contains command-line arguments itself (generally because argv is limited to 4096 or some this, since command line arguments for compilers and linkers can get huge .
|