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-cleanup(1) User Commands gnome-cleanup(1)
NAME
gnome-cleanup - cleans GNOME user preferences
SYNOPSIS
gnome-cleanup
DESCRIPTION
gnome-cleanup erases all GNOME user preferences, returning the user to the default look and feel. This can be used to undo an undesired
preference setting, or to correct the desktop if the preferences become corrupt. The GNOME preference files are automatically recreated
the next time the user logs into a GNOME session.
gnome-cleanup displays all preference files that it will delete before erasing any files, and prompts the user to confirm that they would
like to erase these files. Files are deleted only after receiving a positive confirmation from the user.
gnome-cleanup cannot be run while logged into a GNOME session. Users should run this program when logged into another session, for exam-
ple, the Failsafe session. If the user tries to run this program while logged into GNOME, an error message is displayed.
OPTIONS
None.
EXAMPLES
Example 1: Deleting all GNOME user preferences
example% gnome-cleanup
After displaying a list of preference files that will be deleted, the following question is displayed:
Do you wish to remove these files (Y/N)
The files are deleted only if the user provides a positive response.
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/gnome-cleanup Executable for GNOME cleanup.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-panel |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
remove-gnome(1)
NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003.
SunOS 5.10 11 Jan 2003 gnome-cleanup(1)