10-18-2008
For what it's worth here's what I do:
On systems I support but do not control I put then in /usr/scripts/bin.
On systems I own I create a directory off of root and put everything in there, like:
/application_name/bin (scripts go here)
/application_name/etc
/application_name/rc.d
/application_name/log
..etc...
10 More Discussions You Might Find Interesting
1. Solaris
Are GNOME or javadsktop supported of the box on Solaris 10 on Ultra (SUNBlade 1500) ?
I'could switch desktops to KDE at CDE logon. But when I tried to use the JavaDesktop it simply returns me back to the log on screen of CDE.
How do I conigure to the latest GNOME and.or JavaDesktop if... (3 Replies)
Discussion started by: miket
3 Replies
2. Solaris
Probably a silly question but one I dont know the answer to all the same..
I downloaded the following from sun - solaris 9 part 1 of the software
sol-9-u7-sparc-v1.zip
When I unzip it I get an iso file. How do I burn it to a cdrom and be able to insert it to solaris machine so that it will... (3 Replies)
Discussion started by: frustrated1
3 Replies
3. Shell Programming and Scripting
Hello again Gurus,
Can someone please direct me to an online source that specifically explains what characters like mean within if statements? or scripts in general, I have found information about the different letter options you can specify for an if statment, but I get really confused with the... (3 Replies)
Discussion started by: charliemp3
3 Replies
4. UNIX for Dummies Questions & Answers
I know its kinda silly but I've seen the texts consider one side - a thread executes and finishes its task but I was wondering what will happen if the process dies when the thread is still under execution... I somehow think that the thread will continue execution but am backing off from the fact... (10 Replies)
Discussion started by: Legend986
10 Replies
5. UNIX for Dummies Questions & Answers
How do I go about finding the number of unique words in a file. (3 Replies)
Discussion started by: EECSDAVE
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
One silly question. I would like to add statement like below and append to a file. I used the below code; however, it does not work. Can anyone please tell me what mistakes I have made?
awk '
{ for (i=1;i<=563;i++)
print i
}'>>output.txt
Thanks.
-Jason (1 Reply)
Discussion started by: ahjiefreak
1 Replies
7. Solaris
Hi Guys,
I have installed SSH package on server as well as clients.
I think I need to these steps next.
Login as root on the server.
1) ssh-keygen -b 1024 -t rsa -f /etc/ssh_hosts_key.pub -N " "
Login to root as the user.
2)ssh_keygen -b 1024 -t rsa
Enter the phrase
Basically this... (3 Replies)
Discussion started by: nitinkgoud
3 Replies
8. UNIX for Dummies Questions & Answers
hi all
last week i had appeared for an interview where they asked me as u work on windows & unix tell me what are the advantages of UNIX over windows & vice versa ..i gave 2-3 reasons but when i told that unix is more secure than windows he asked me how ? i was speechless. then i googled about... (6 Replies)
Discussion started by: zedex
6 Replies
9. Shell Programming and Scripting
FILENAME is a variable.
Is there really any difference between "$FILENAME.sh" and "$FILENAME".sh ? (5 Replies)
Discussion started by: proactiveaditya
5 Replies
10. Post Here to Contact Site Administrators and Moderators
Hi Team,
In case if i want to delete one of my posting thread.. can i delete that?
Just asking to know.. (5 Replies)
Discussion started by: darling
5 Replies
LEARN ABOUT CENTOS
xtappcreateshell
XtAppCreateShell(3) XT FUNCTIONS XtAppCreateShell(3)
NAME
XtAppCreateShell, XtVaAppCreateShell - create top-level widget instance
SYNTAX
Widget XtAppCreateShell(String application_name, String application_class, WidgetClass widget_class, Display *display, ArgList args, Cardi-
nal num_args);
Widget XtVaAppCreateShell(String application_name, String application_class, WidgetClass widget_class, Display *display, ...);
ARGUMENTS
application_name
Specifies the name of the application instance.
application_class
Specifies the class name of this application, which usually is the generic name for all instances of this application.
widget_class
Specifies the widget class that the application top-level widget should be.
display Specifies the display from which to get the resources.
args Specifies the argument list from which to get the resources.
num_args Specifies the number of arguments in the argument list.
... Specifies the variable argument list from which to get the resources.
DESCRIPTION
The XtAppCreateShell function saves the specified application name and application class for qualifying all widget resource specifiers.
The application name and application class are used as the left-most components in all widget resource names for this application. XtApp-
CreateShell should be used to create a new logical application within a program or to create a shell on another display. In the first
case, it allows the specification of a new root in the resource hierarchy. In the second case, it uses the resource database associated
with the other display.
Note that the widget returned by XtAppCreateShell has the WM_COMMAND property set for session managers (see Chapter 4).
SEE ALSO
XtCreateWidget(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.4 XtAppCreateShell(3)