Hello,
I have a directory that holds all of my matlab codes. I am trying to run a searh on all of the matlab files that have the word "while" written inside the sytax of the code.
Looking for all of the times that I did a while loop.
Can someone help me do this?
Thanks in advance.
... (1 Reply)
Hi,
I am writing a shell (after 6-7 months)that has to receive text from another shell, check if the first line in the text has a key word and then execute different shell.I could come up with the below program structure, please suggest me if there is a better way to do it or please help me with... (14 Replies)
Hello:
I need help adding a key word search to my bash script. I have the following script. My boss whats the user to be able to add a search word e.g. unknown failures for the script to search the logs through and find the instances. I had originally done it so it grepped for unknown... (8 Replies)
cat shell_script.ksh
x=$A
y=$B
export x
export y
echo $x
echo $y
when i am running this with a command
ksh shell_script.ksh -A 10 -B 20
its not showing anything ....
could you let me know how i can use key word type paramter (2 Replies)
Hi,
Now i work in a code that
1-get data stored in the database in the form of hash table with a key
field which is the " Name"
2-in the same time i open a txt file and loop through it word by word
3- which i have a problem in is that :
I need to loop word by word and check if it is a... (0 Replies)
i have a file containing over 1 million records,and i want to print about 300,000 line containing a some specific words.
file has content.
eg
1,rrt,234
3,fgt,678
4,crf,456
5,cde,drt
6,cfg,123
and i want to print the line with the word fgt,crf
this is just an example,my file is so... (2 Replies)
Hi Everyone,
I am looking for a simple way for replacing all the files under a directory that use the server "xsgd1234dap" with "xsdr3423pap".
For Example:
In the Directory,
$pwd
/home/nick
$ grep -l "xsgd1234dap" *.sh | wc -l
119
I have "119" files that are still using... (5 Replies)
I am new to shell scripting and trying to do the below
Stan:Smith:Detroit:MI
Jim:Jones:Farmington Hills:MI
Jack:Frost:Denver:CO
Sue:Apple:New York:NY
Cindy:Thompson:Battle Creek:MI
John:Smith:Denver:CO
George:Jones:New York:NY
Need to create a shell script This script will display the... (1 Reply)
I have a multicolumn text file with header in the first row like this
The headers are stored in an array called . which contains I want to search for each elements of this array from that multicolumn text file. And I am using this awk approach
for ii in ${hdr}
do
gawk -vcol="$ii" -F... (1 Reply)
Discussion started by: Atta
1 Replies
LEARN ABOUT SUNOS
asadmin-reconfig
asadmin-reconfig(1AS) User Commands asadmin-reconfig(1AS)NAME
asadmin-reconfig, reconfig - applies the changes you have made for a server instance
SYNOPSIS
reconfig --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename] [--discard-
manualchanges=false] [--keepmanualchanges=false] instance_name
This command is deprecated. It allows you to apply changes you have made for a server instance. Use the reconfig command after you've used
the set command to change server properties. Any changes you make to the configuration files of the server do not take affect until you
apply the changes by running the reconfig command. When --discardmanualchanges is set to true, manual changes made to the server.xml file
are discarded. When --keepmanualchanges is set to true, manual changes made to the server.xml file take affect. However if both options are
false (both options are not specified), an error message is displayed if manual changes and/or changes have been applied using the Adminis-
trator Interface. Use this command with discretion since there is no undo, and the changes applied are made directly to your con-
fig/backup/server.xmlfile.
OPTIONS --user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
--discardmanualchanges defaults to false. When set to true, discards the changes made manually to the server.xml file.
--keepmanualchanges defaults to false. When set to true, allows the manual changes made to the server.xml file to take affect.
OPERANDS
instance_name name of the instance..
Example 1: Using reconfig
asadmin> reconfig --user admin
--passwordfile passwords.txt --host localhost --port 4848 server1
Successfully reconfigured
Example 2: Using reconfig with the --discardmanualchanges option
asadmin> reconfig --user admin --passwordfile passwords.txt --host localhost --port 4848 --discardmanualchanges server1
Instance restart is required
Successfully reconfigured
Example 3: Using reconfig with the --keepmanualchanges option
asadmin> reconfig --user admin --passwordfile passwords.txt --host localhost --port 4848 --keepmanualchanges server1
Instance restart is required
Successfully reconfigured
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-get(1AS), asadmin-set(1AS), asadmin-list(1AS)J2EE 1.4 SDK March 2004 asadmin-reconfig(1AS)