It's something to do with cygdrive and fixture relative paths. Try using absolute paths.
That fundamental error is that the variable is quoted. Since it's quoted, there is no word splitting performed and the variable's entire contents are treated as the command name.
The following ...
... is equivalent to running ...
... at the prompt. All four words will be treated as the command name.
If the variable is left unquoted, then the space in the pathname will cause a problem. Lose-lose.
I've created a c program and compiled it with gcc, in unix.
The file name is abc.c and it is run by typing the command ./abc
I have another program which creates a child process, and I need this abc program to run on that child process. I've tried execvp(), but it doesn't work.
How can I run... (2 Replies)
Hello,
I have an executable cgi program that I can run manually from my Linux shell after setting environmental variables on the previous line, like this:
setenv QUERY_STRING "workdir=/u/here/there/&nb1=5&nb2=1000"
MyExecutable.cgiHow can I imitate this behavior in a bash script?
I tried... (11 Replies)
hi
i have file extentioned with test.vbs. i am able to run this file n execute through command promt but i dont know how to run in shell script
example:
file name is test.vbs which contains
strSoundFile = "C:\windows\Media\Notify.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand... (5 Replies)
Dear Sir,
I am using CentOS-5.2(64-bit) as an server side OS in a cluster with 32 slaves+1 Master. My question is, after compiling a file with ifort, I am suppose to get a executable(say a.out). I want my users to do ssh slave.local and then do ./a.out
But is it possible to restrict... (0 Replies)
Hey guys, so I've been trying to write a bash script called runSorter.sh that runs an executable that also takes in some parameters and outputs the results to a text file. The executable, sorter, takes in a number parameter. I want to make it so that you can input as many number parameters into... (4 Replies)
Hey all,
I'm trying to execute a program and despite it appearing to be there, I keep getting this:
-bash: ./aisdispatcher: No such file or directoryTo run it, I'm going into the directory where it is stored and running
./aisdispatcher...the result of which should just be a listing of options... (10 Replies)
I wish to create an executable bash script that will run the following commands as root, that is, using sudo su
iptables-save | awk '/^
/ { print $1 }
/^:+ / { print $1 " ACCEPT" ; }
/COMMIT/ { print $0; }' | iptables-restoreMy first attempt at bash... (9 Replies)
Bash version 4.4.20 / Ubuntu 16.0.4
Hello,
I tried to write a script that gathers some data and passes them to an executable.
The executed application answers with an error. The echo output in the script returns correct values.
If I copy/paste the last echo command, it get's executed... (2 Replies)
Discussion started by: sushi2k7
2 Replies
LEARN ABOUT DEBIAN
fssync-debug_stats
FSSYNC-DEBUG_STATS(8) AFS Command Reference FSSYNC-DEBUG_STATS(8)NAME
fssync-debug_stats - Displays various statistics
SYNOPSIS
fssync-debug stats -cmd <subcommand>
[-arg1 <arg1>]
[-arg2 <arg2>]
[-reason <sync protocol reason code>]
[-programtype <program type code>]
[-help]
fssync-debug s -c <subcommand>
[-arg1 <arg1>]
[-arg2 <arg2>]
[-r <sync protocol reason code>]
[-p <program type code>]
[-h]
DESCRIPTION
The fssync-debug stats command displays statistics according to the value of the option -cmd.
OPTIONS -cmd <subcommand>
Specifies statistics subcommand. Available subcommands are:
o pkg -- general volume package statistics
o vicep -- vice partition statistics
o hash -- volume hash chain statistics
o hdr -- volume header cache statistics
o vlru -- vlru generation statistics
o help -- display list of available subcommands
-arg1 <arg1>
Specifies first optional argument, in the context of the chosen subcommand. For vicep statistics, it specifies partition name; for hash
statistics, it specifies hash bucket number; for vlru statistics it specifies vlru generation number.
-arg2 <arg2>
Specifies second optional argument, in the context of the chose subcommand. Currently, none of the subcommands use it.
-reason <sync protocol reason code>
Specifies numeric sync protocol reason code. Available codes are listed in OpenAFS source file src/vol/fssync_inline.h. For
SYNC_REASON_NONE, use -reason 0.
-programtype <program type code>
Specifies program type code. Permitted values are fileServer, volumeUtility, salvager, salvageServer, volumeServer and volumeSalvager.
PRIVILEGE REQUIRED
The issuer must have write access to the file server. Usually, this means that the issuer must be the local superuser "root" on the file
server machine.
SEE ALSO fssync-debug_header(8), fssync-debug_query(8)COPYRIGHT
Copyright 2010 Davor Ocelic <docelic@spinlocksolutions.com>
This documentation is covered by the IBM Public License Version 1.0. This man page was written by Davor Ocelic for OpenAFS, based on
documentation from Steven Jenkins, Tom Keiser and Simon Wilkinson.
OpenAFS 2012-03-26 FSSYNC-DEBUG_STATS(8)