|
Hello. Was wondering how I can start up a command such as:
while :; do ./myCommand; done;
But instead of doing the usual
screen -S nameOfMyScreen
Then the command
while :; do ./myCommand; done;
Then detach the screen
^a ^d (Control "a" the control "d"...
Started by EpicDewd on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You might just be able to put your command....
I haven't done this myself] [cmd [args]]
so the -X switch may be to execute a screen command as opposed to a shell command.
Execute <cmd> as a screen command in the specified session.
|
|
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 .
|
|
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....
|
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 .
|
|
Well title says it, what is the difference between Executors.newSingleThreadExecutor().execute(command) and new Thread(command).start();
Started by Gnarly on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
So running Executors.newSingleThreadExecutor().execute(command.
Will persist until you shut it down.
|
|
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 .
|
|
I have remotely connected to a Windows 7 computer via psexec and am running a remote command prompt on the Windows 7 computer. The command I am trying to execute requires that it be run in an elevated command prompt for it to work.
How do I get to an ...
Started by ObligatoryMoniker on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Thay are just registry settings, though, so it would be fairly easy .
A Powertoy to install to force elevation in a command, but as the prompt needs to be displayed I think the command has changed.
|
|
How to create application like window run command using C#. When i insert any command (for example: ipconfig) , this return result (for example: 192.168.1.1) on the textbox.
how to get windows command list? how to get command result? how to get installed...
Started by ebattulga on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
As for discovering a list of commands, that....
You may find that to use many Command Prompt commands, you need to type CMD /C in front, because they aren't separate programs from the command interpreter.
It into the text box.
|
|
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.
|
|
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):
For more info type ....
The file at the same time, you can do that too:
copy locationA\file locationB\newfilename
The command
The command above will copy source to destination, files and directories (including empty ones destination files.
|