04-16-2009
how to write a script contain list of questions
thanks for your reply...
the problem is i dont no how to do..means where to start.. and clearly i have mentioned in my thread i need only hints to do..means that i want to know how to do...some steps(hints)...
i heard that we need to connect to database..etc...i am beginner to shell script..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know how to use shell scripts to write the following
if input is
a
b
c
d
I wnat output as
d
c
b
a
Thanks (2 Replies)
Discussion started by: james94538
2 Replies
2. SCO
I had a query with regard to the posting of questions on the forum, it is that how do we see the questions that we have posted separately. It should not be that we have to go inside the forum list and search for the question that we had posted.
I hope, my question is clear.
Please, help in... (1 Reply)
Discussion started by: ran_sush
1 Replies
3. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
4. UNIX for Advanced & Expert Users
My issue is I want an NFS share where I can write to the directory, but not list any of the files in there. (doesn't matter if someone knows the name can open the file).
Have an NFS export for example:
drwxrwxrw- 2 cranes staff 256 18 May 12:48 cranes
The export will only... (1 Reply)
Discussion started by: Cranie
1 Replies
5. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
6. UNIX for Dummies Questions & Answers
I have a list of numbers in the format:
5
4
15
65
32
I want to write code to manipulate the list and give me 100 - x such that the list looks like:
95
96
85
35
68
How do I go about doing that? Thanks! (9 Replies)
Discussion started by: evelibertine
9 Replies
7. Shell Programming and Scripting
Hi all,
I have 2 files:
second file
I want if entries in one file will match in other file. It shuld wite approve before it
so output shuld be (1 Reply)
Discussion started by: manigrover
1 Replies
8. Shell Programming and Scripting
Hi, guys,
With some guys' help, I made a shellscript used to create new users(attached at the bottom).
I have some questions:
a). I need to prompt users to enter their password in my script, but when users type in their password, it's visible on screen. Is there any ways to hide the STDIN or... (4 Replies)
Discussion started by: franksunnn
4 Replies
9. Shell Programming and Scripting
Scripting language: Shell script
I want to Scan IP's from IPlist.txt through Nessus using shell scripting language. Give the Input (IPlist) to nessus and generate Nessus report in xml or PDF form which is saved automatically on computer .
Please help if any one has idea about how to write... (2 Replies)
Discussion started by: sk151993
2 Replies
10. UNIX for Beginners Questions & Answers
Full title: How to write a script to match a searched name to a given list, and then returns other names with the same properties
Anyway, first time here, hi! So I'm taking an introductory course at uni and there's a question in our lab that asks us to write a script where a user can search a... (4 Replies)
Discussion started by: aheyhey
4 Replies
LEARN ABOUT ULTRIX
xsetnormalhints
XSetNormalHints(3X11) XSetNormalHints(3X11)
Name
XSetNormalHints, XGetNormalHints - set or get normal state hints
Syntax
XSetNormalHints(display, w, hints)
Display *display;
Window w;
XSizeHints *hints;
Status XGetNormalHints(display, w, hints_return)
Display *display;
Window w;
XSizeHints *hints_return;
Arguments
display Specifies the connection to the X server.
hints Specifies a pointer to the size hints for the window in its normal state.
hints_return
Returns the size hints for the window in its normal state.
w Specifies the window.
Description
The function sets the size hints structure for the specified window. Applications use to inform the window manager of the size or position
desirable for that window. In addition, an application that wants to move or resize itself should call and specify its new desired loca-
tion and size as well as making direct Xlib calls to move or resize. This is because window managers may ignore redirected configure
requests, but they pay attention to property changes.
To set size hints, an application not only must assign values to the appropriate members in the hints structure but also must set the flags
member of the structure to indicate which information is present and where it came from. A call to is meaningless, unless the flags member
is set to indicate which members of the structure have been assigned values.
can generate and errors.
The function returns the size hints for a window in its normal state. It returns a nonzero status if it succeeds or zero if the applica-
tion specified no normal size hints for this window.
can generate a error.
Property
WM_NORMAL_HINTS
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Window argument does not name a defined Window.
See Also
XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetSizeHints(3X11), XSetStandardProperties(3X11), XSetWMHints(3X11), XSet-
ZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetNormalHints(3X11)