07-27-2007
what is the error that you get?
one alternative you can try is: keep your program name along with all arguements in a file and run that file (like a shell script)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I am i new Unix linux user. I've installed the linux 9 and i uninstall it. the first time i install the linux, the GRUB show the graphical interface. But after i reinstall it again, the GRUB change to command line. I can't boot my comp now. What should I do? And i don't know how to deal with... (1 Reply)
Discussion started by: lee_chongeu
1 Replies
2. Linux
Hi, I am i new Unix linux user. I've installed the linux 9 and i uninstall it. the first time i install the linux, the GRUB show the graphical interface. But after i reinstall it again, the GRUB change to command line. I can't boot my comp now. What should I do? And i don't know how to deal with... (4 Replies)
Discussion started by: lee_chongeu
4 Replies
3. Shell Programming and Scripting
hi ,
iam trying to sort millions of records which is delimited and i cant able to
use sort command more than 60 million..if i try to do so i got an message stating that "File size limit exceeded",Is there any file size limit for using sort command..
How can i solve this problem.
thanks
... (7 Replies)
Discussion started by: cskumar
7 Replies
4. Shell Programming and Scripting
Please could anyone provide me the Command/script to find the size and usage of Unix box ASAP ? (6 Replies)
Discussion started by: sakthifire
6 Replies
5. Shell Programming and Scripting
I am looking to change a data file into a javascript string and this is the code that I am using:
sed -i '' -e 's/^/str += "/' -e 's/$/";/' file.xml
The first part
-e 's/^/str += "/'
works as intended, but the second part
-e 's/$/";/'
adds an additional newline to my file, so that instead of... (3 Replies)
Discussion started by: figaro
3 Replies
6. Shell Programming and Scripting
I want to change the extensions of a folder full of files (some of the files are located in subfolders as well) to another extension, but instead of replacing the files I want the new files to be copied into a newly created folder.
Here is the folder structure:
/Downloads/3eb... (3 Replies)
Discussion started by: bound4h
3 Replies
7. Programming
#include <stdio.h>
int main(int argc, char *argv) {
printf("%d\n", sizeof(argv));
return 0;
}
when I run the executable a.out after compiling the above program as:
a.out short (or) a.out "long double", I expected to get the output as 2 and 12, but I am always getting the size of... (2 Replies)
Discussion started by: royalibrahim
2 Replies
8. Shell Programming and Scripting
hi,
sorry for posting this for a quick answer.
Is there a one line command to change permissions on files in a directory to a given mode (say 554) and only for those files that do not already have that mode?
Running chmod updates the last access/modified timestamp on the files, and i want to... (11 Replies)
Discussion started by: ysrini
11 Replies
9. UNIX for Dummies Questions & Answers
Hi,
My first time on this site, please excuse me if I've come to the wrong forum. I'm fairly new to Unix/Linux and hoping you can help me out.
I'm looking for a command line that will return a list of directories that are larger than 50M and older than 2 days.
I thought it may be... (6 Replies)
Discussion started by: Wisconsingal
6 Replies
10. OS X (Apple)
Mac Version 10.15.2 (macOS Catalina)
Does anyone know how to change the name of a connected bluetooth device from the command line on macOS?
I am having trouble with various bluetooth devices which I cannot get the "rename" option in the GUI to "save" properly and so I cannot rename a few... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
sc_ally
SC_ALLY(1) BSD General Commands Manual SC_ALLY(1)
NAME
sc_ally -- scamper driver to run Ally on a list of candidate aliases.
SYNOPSIS
sc_ally [-?D] [-i infile] [-o outfile] [-p port] [-U unix-socket] [-w waittime] [-q attempts] [-t logfile]
DESCRIPTION
The sc_ally utility provides the ability to connect to a running scamper(1) instance and have a set of IPv4 address-pairs testsed for aliases
using the Ally technique. For each address pair in the file, sc_ally establishes which probe methods (UDP, TCP-ack, ICMP-echo) solicit an
incrementing IP-ID value, and then uses the Ally technique on pairs where a probe method is able to obtain an incrementing IP-ID for both
addresses. The output is written to a warts file. The options are as follows:
-? prints a list of command line options and a synopsis of each.
-D causes sc_ally to detach and become a daemon.
-i infile
specifies the name of the input file which consists of a sequence of IPv4 address-pairs, one pair per line.
-o outfile
specifies the name of the output file to be written. The output file will use the warts format.
-p port
specifies the port on the local host where scamper(1) is accepting control socket connections.
-U unix-socket
specifies the name of a unix domain socket where scamper(1) is accepting control socket connections.
-w waittime
specifies the minimum length of time, in seconds, to wait between completing a measurement to a particular IP address and issuing the
next.
-q attempts
specifies the number of times to try Ally when one of the addresses is unresponsive.
-t logfile
specifies the name of a file to log output from sc_ally generated at run time.
EXAMPLE
Given a set of IPv4-address pairs in a file named infile.txt:
192.0.2.1 192.0.32.10
192.0.2.2 192.0.31.8
192.0.2.3 192.0.30.64
and a scamper(1) daemon listening on port 31337, then these address-pairs can be tested for aliases using
sc_ally -i infile.txt -o outfile.warts -p 31337
SEE ALSO
N. Spring, R. Mahajan, and D. Wetherall, Measuring ISP topologies with Rocketfuel, Proc. ACM SIGCOMM 2002. scamper(1), sc_wartsdump(1),
sc_warts2text(1)
AUTHORS
sc_ally is written by Matthew Luckie <mjl@luckie.org.nz>.
BSD
March 1, 2011 BSD