7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Below script is used to search numeric data from around 400 files in a folder. I have 300 such folders. Need help in performance improvement in the script.
Below Script searches 20 such folders ( 300 files in each folder) simultaneously. This increases cpu utilization upto 90% What changes... (3 Replies)
Discussion started by: vegasluxor
3 Replies
2. UNIX for Dummies Questions & Answers
Hi This is my Following code:
#!/bin/sh
echo "TOTAL_NO_OF_MAILS"
read TOTAL_NO_OF_MAILS
echo "TOTAL_NO_OF_TICKETS "
read TOTAL_NO_OF_TICKETS
echo "TICKETS_IN_QUEUE"
read TICKETS_IN_QUEUE
rm -rf `pwd`/Focus
echo "Hi Team\nSTATS IN CLRS MAIL BOX\n\n==============================" >> Focus... (11 Replies)
Discussion started by: wasim999
11 Replies
3. Shell Programming and Scripting
Hi All,
Here is my script
#! /bin/sh
var1=some email id
var2=some email id
grep -i "FAILED FILE FORMAT VALIDATION" /opt >tmp2
diff tmp1 tmp2 | grep ">" >tmp3
if
then
cat tmp3 | mailx -s " Error Monitoring" $var2
else
echo "Pattern NOt Found" | mailx -s " Error Monitoring" $var1... (1 Reply)
Discussion started by: Gopalak
1 Replies
4. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
5. UNIX for Advanced & Expert Users
can anyone help to share the knowledge on linux os improvement?
1) os account
- use window AD authentication, such as ldap, but how to set /etc/passwd, where to put user home?
2) user account activity
- how to log os user activity
share the idea and what tools can do that...thx (5 Replies)
Discussion started by: goodbid
5 Replies
6. Shell Programming and Scripting
Hi!
Thank you for the help yesterday
This is the finished product
There is one more thing I would like to do to it but I’m not to certain
On how to proceed I would like to log all output to a log in order to
Be able to roll back
This script is meant to be used in repairing a... (4 Replies)
Discussion started by: Ex-Capsa
4 Replies
7. Shell Programming and Scripting
Hi All,
I have written a script which does some editing in the files, based on user input.This might not be the most elegant way of doing it and there would be many improvements needed.
Please go through it and let me know how it could be improved.
Suggestions are welcome!!
Thanks!... (2 Replies)
Discussion started by: nua7
2 Replies
GNOME(1) General Commands Manual GNOME(1)
gnome-wm - Launches the user selected window manager for the GNOME session
SYNOPSIS
gnome-wm [--default-wm windowmanager] [--sm-client-id id]
DESCRIPTION
The gnome-wm script invokes the user selected window manager. If the user has not chosen a window manager it will try to launch a GNOME
compliant window manager.
The user can overwrite the selection of a window manager by setting the WINDOW_MANAGER environment variable. If a --default-wm option is
given the script uses that window manager in case WINDOW_MANAGER is not set. If gnome-wm is given as the argument to --default-wm then it
is the same as if no default was given.
The script takes the --sm-client-id argument and translates the id to an appropriate option depending on which window manager was selected.
ENVIRONMENT
The gnome-wm program uses the value of the WINDOW_MANAGER environment variable to let the user override the configured window manager.
PERSISTENT SETTINGS
The program stores the current selection of a window manager in the gconf key /desktop/gnome/applications/window_manager/default
SEE ALSO
gnome-session(1),default.session(5)
BUGS
If you find bugs in the gnome-wm program, please report these using bug-buddy or the gnome-bug script included with the GNOME libraries
distribution.
GNOME 1.0 GNOME(1)