I want to figure out what is the reason of error message I have in Solaris 10. Why Solaris 10 dosn't recognize 65535?
ps: 65535 is an invalid non-numeric argument for -p option
usage: ps
'format' is one or more of:
Thank you (5 Replies)
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
If ($argv == “-debug”) then
Echo “in loop”
Endif
But this is not working. If I modify this code and remove “-“, then it works.
Similarly I am getting problem using grep command also
Grep “-debug” Filename
Can someone please help me on how to resolve these... (1 Reply)
Hi Guys
When I run the below command
ssh -o 'PasswordAuthentication yes' -o 'PreferredAuthentications publickey' -i $HOME/.ssh/id_dsa Server_Name
I found the below error
ommand-line line 0: Missing yes/no argument
Kindly help me to sort out
Double post, continued... (0 Replies)
Hi Friends,
Please help me to sort out this problem, I am running this in centos o/s and whenever I run this script I am getting "find: missing argument to `-exec' " but when I run the same code in the command line I didn't find any problem. I am using perl script to run this ... (2 Replies)
Hi All,
I am running the script
VBoxManage list vms |sed 's/"//g' | cut -d " " -f1 > har1out.mytxt
result=`cat har1out.mytxt | grep $1'
echo $result
echo $1
{
if
then
echo pass
else
echo fail
fi (2 Replies)
Hi Folks
I have got to the point where I can specify the arguments but how to pass an option is still mystery to me. Example:
temp.csh a b c d
set temp1 = $argv
set temp2 = $argv
set temp3 = $argv
echo $temp1
a
echo $temp2
b
echo $temp3
c d
I WANT:
temp.csh a b c d -S 1
set temp1... (2 Replies)
Hello everyone,
I need help in understanding the default value for getopts option's argument in ksh. I've written a short test script:
#!/bin/ksh
usage(){
printf "Usage: -v and -m are mandatory\n\n"
}
while getopts ":v#m:" opt; do
case $opt in
v) version="$OPTARG";;
... (1 Reply)
this find command works when using manually on the command line
--
$ ls -latr file*.log
-rw-r--r-- 1 oracle dba 75 Jan 4 05:00 file_2.log
-rw-r--r-- 1 oracle dba 75 Jan 4 05:00 file_1.log
$
$ find . ! -name -prune -type f -name "file*.log" -daystart -mtime 2
./file_1.log
./file_2.log
$... (8 Replies)
Discussion started by: wtolentino
8 Replies
LEARN ABOUT DEBIAN
scilab-cli
Scilab(1) General Commands Manual Scilab(1)NAME
scilab-cli - Scientific software package - Command Line Interpreter
SYNOPSIS
scilab [ -h | -f file | -e instruction | -l lang | -mem n | -nb | -ns | -nouserstartup | -version ]
This manual page documents briefly the scilab commands. scilab-cli provides Scilab as a computing engine. It is similar to call scilab
-nwni. Somes features are disabled in this mode (graphic, GUI, Xcos...).
OPTIONS
A complete list of options is included below.
-h Show the list of options.
-f file
Execute the scilab script given in file argument. Note that -e and -f options are mutually exclusive.
-e instruction
Execute the scilab instruction given in instruction argument. Note that -e and -f options are mutually exclusive.
-l lang
Launch Scilab in the specified language. The lang must be the locale code (ie fr_FR, en_US...)
-nb Do not display the Scilab banner at starting time.
-ns Do not execute scilab.start startup file
-mem N Set the initial stacksize
-nouserstartup
Do not execute the user startup files SCIHOME/.scilab or SCIHOME/scilab.ini.
-version
Print product version and exit.
FILES
~/.Scilab/<Scilab_version>/.scilab The user startup script.
~/.Scilab/<Scilab_version>/scilab.ini The user startup script.
~/.Scilab/<Scilab_version>/configuration.xml The configuration of the GUI
~/.Scilab/<Scilab_version>/.history.scilab The history of commands
SCI/modules/jvm/etc/jvm_options.xml Options given to the JVM
SCI/etc/modules.xml List of Scilab modules
SCI/etc/classpath.xml Where Scilab should load the Java libraries
SCI/etc/librarypath.xml Where Scilab should look for JNI libraries
AUTHOR
Scilab was written by the Scilab Consortium.
This manual page was written by Sylvestre Ledru <sylvestre@debian.org>.
November 18, 2008 Scilab(1)