10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to take out the Z1 value from the lscfg outpu and use the below command to get it
lscfg -vl hdisk0 | grep "Device Specific.(Z1)" | awk -F. '{print $NF}'
# lscfg -vpl hdisk0
.
.
Device Specific.(Z0)........0000063268181002
Device Specific.(Z1)........020064a
.
And it works,... (2 Replies)
Discussion started by: moorthikv
2 Replies
2. Shell Programming and Scripting
Hi,
I have trouble building the logic for the following, could anyone please help me out with this:
Im working on a wrapper script to check for input files (in a specific directory) and pass
the input files along with the options as parameters to the main script.The options vary depending ... (2 Replies)
Discussion started by: stunnerz_84
2 Replies
3. UNIX for Dummies Questions & Answers
Hi I want a script which should basically do
1. If the size of the file is 0kb,
send email to some list od ppl
2. if the size of the file is other than 0kb
send email to someother list...
Pls help (2 Replies)
Discussion started by: win4luv
2 Replies
4. Shell Programming and Scripting
#!/bin/sh
#Displaying every argument
while ;
do
echo Moving file $0;
shift;
done
exit 0;
For the above script i get the below o/p when 2 arguments are passed when invoking the script
dmlFileCopy.sh: line 3:
Can you let me know how to rectify the error? (2 Replies)
Discussion started by: Anand86
2 Replies
5. Shell Programming and Scripting
Hi all,
I need to modify the below highlighted piece to perform the below task. Please let me know as i am not able to figure out a way to do this.
|| FILENAME=$(date +"$FILENAME")
if ; then
do_log FATAL "FILENAME needs to be set if SWITCH2=0"
exit 1
fi... (3 Replies)
Discussion started by: stunnerz_84
3 Replies
6. Shell Programming and Scripting
i am trying to read an existing xml file and find an element in the xml file of following format
<home.dir value="/local/mnt/homes/docs"/>
I am trying to take a command line argument to my shell script whose value should replace /local/mnt/homes/docs in xml document.
Can you please point me how... (3 Replies)
Discussion started by: viswas
3 Replies
7. Shell Programming and Scripting
Hi all,
I'm a newbie. I'm thinking of making a shell script which will list a directory for *.csv files and merge all the files into a single file called data.csv.
However, i have no idea how to. What i do currently is to manually issue the following command to merge multiple CSV files into... (1 Reply)
Discussion started by: infinity2030
1 Replies
8. Shell Programming and Scripting
i need to search the starting line
example we have
-sh
shl-js-gd
i need to search only starting -sh not the other
i have used cmd
cat filename | grep '-'
but it will check for complete - in the file
please help me to search only starting -
thank u
revenna (0 Replies)
Discussion started by: revenna
0 Replies
9. Shell Programming and Scripting
Hello Friends,
Can you pls advice me on the following requirement:
What we'd like to achieve is the following:
- having a password.properties file which contains some passwords, e.g. BOT_PASSWORD=dog.name
- in the configuration file, insert as the password value something like... (0 Replies)
Discussion started by: pulkit
0 Replies
10. Shell Programming and Scripting
Hi
I have the following columns in my input file which is sorted on ColA
colA colB colC colD colE
The data is such that for a single colA it can have multiple values of other columns, for eg the data can be
colA colB colC ... (1 Reply)
Discussion started by: nvuradi
1 Replies
Scilab(1) General Commands Manual Scilab(1)
NAME
scilab-adv-cli - Scientific software package - Advanced 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-adv-cli provides Scilab as a computing engine with many features. It is
similar to call scilab -nw. All options of Scilab are available in this mode.
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)