04-30-2009
What OS are you using?
What is your background?
What is your position?
Do you have a system admin?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
folks;
i'm trying to write a shell script to do the following:
1. i have a file with 39 fields, i'm trying to add 10 more fields with (!) as a field separator. with the following requirement:
if field number 20 has a value, then field number 40 will show as (!M!), and if the field number 20 does... (2 Replies)
Discussion started by: moe2266
2 Replies
2. Shell Programming and Scripting
Hi guys...
I am a newbie to scripting... I have a small requirement... I dont whether u r clear with my requirement... But plz try to help me...
Like,
tell me some kind of scripts that can help me in retreiving the data from the datasets.
Regards,
Mahesh... (1 Reply)
Discussion started by: mraghunandanan
1 Replies
3. Shell Programming and Scripting
Hi Guys,
I am quite new to Shell Scripting... I need ur help.. This is very urgent.
The thing is like,
I need to match a IP address (ex 192.168.200.56) i.e, xxx.xxx.xxx.xx inside a KSH script,but if we enter in different format other than the specified format (ex jjj.ksj., 1.0...), it should... (3 Replies)
Discussion started by: mraghunandanan
3 Replies
4. Shell Programming and Scripting
Hello,
Guys I am having a sql script file which contains some sql statements including inserting values, One column is of the data type date.
Now i am having a KSH script for inserting values via this script into the database.
The problem I am facing that when I am inserting value in the... (1 Reply)
Discussion started by: mraghunandanan
1 Replies
5. Shell Programming and Scripting
Hello,
I have an ASCII file (many files of the same format, but different dates and numbers) in the format like below:
2008.01.02,08:00,1.46520,1.46520,1.46410,1.46440,70
2008.01.02,08:05,1.46450,1.46560,1.46440,1.46540,79
2008.01.02,08:10,1.46530,1.46540,1.46490,1.46500,46... (8 Replies)
Discussion started by: chief2000
8 Replies
6. Shell Programming and Scripting
I am having an issue with a script that I created today, my first attempt at this, and was wondering if anyone can give me insight to what changes need to be made. Below is a copy of the script that I have written. WEe are trying to monitor whether or not a services is running. I do have a cron... (1 Reply)
Discussion started by: lsudubee
1 Replies
7. Shell Programming and Scripting
needing this script to shut down 1 IceS and start up another, close the 2nd one after 12 seconds and then reboot. here is what i have so far
#!/bin/bash
ShutDown() {
echo "Shutdown in progress."
wall <<ENDOFWALL
CI Shutdown has been intiated!!!!
Shutdown will occur in 30 seconds...... (1 Reply)
Discussion started by: Zaine
1 Replies
8. Shell Programming and Scripting
I am having a problem. which I have described below>>
I have to run a script with the format : <File_name><Start_date><End_date>
abcd.sh 19-JAN-2015 01-May-2014
problem is I need to compare these two dates and throw an error as start date must be less than or equal to end date.
But... (13 Replies)
Discussion started by: Chandan_Bose
13 Replies
9. Shell Programming and Scripting
Hi All,
I am facing a problem when i am trying to run shell script more than 5 times.
I have shell script(.sh file) which ran perfectly fine in the early attempts(1,2,3,4 runs). But if i try to run the script more number of times, i am facing the below error message.
Too many ('s
I do... (3 Replies)
Discussion started by: am24
3 Replies
10. Shell Programming and Scripting
Hi Experts,
I'm stuck with a single liner bash script. Need your help to fix it.
Let me brief you that what is my expectations from this script.
I need the interfaces configured for a list of servers, their respective IP address and FQDN in a output file. The output should be in the same... (3 Replies)
Discussion started by: arun_adm
3 Replies
LEARN ABOUT OPENSOLARIS
shares-admin
shares-admin(1) User Commands shares-admin(1)
NAME
shares-admin - Enables the configuration of shared NFS / SMB directories.
SYNOPSIS
shares-admin [--add-share=PATH] [gnome-std-options]
DESCRIPTION
shares-admin enables a user to configure the sharing of directories / filesystems. These can be shared using either NFS or SAMBA.
This is linked to the ability to right-click on a directory in Nautilus and select "Share folder".
OPTIONS
The following options are supported:
-a, --add-share=PATH Configure a share for the specified PATH.
gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more informa-
tion.
EXAMPLES
Example 1: Running the main application.
example% shares-admin
Example 2: Sharing a specific directory.
example% shares-admin --add-share=/export/home/shared
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/shares-admin Executable for directory sharing configuration.
/var/spool/setup-tool-backends/backup/shares
Backup directory for files that are modified.
/var/run/setup-tool-backends/debug/shares
Debug logs can be found under here.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-system-tools |
+-----------------------------+-----------------------------+
|Interface stability |Uncommitted |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform.
users-admin(1), network-admin(1), services-admin(1), time-admin(1), gnome-std-options(5), attributes(5)
NOTES
Written by Darren Kenny, Sun Microsystems Inc., 2006.
SunOS 5.11 6 Nov 2006 shares-admin(1)