03-08-2013
thanks for reply. I have used Notepad++ editor. It does support shell scripting.
Which is the best editor for Shell Scripting?
Both of you are right , there are carriage returns in my scripts. I have removed them and it worked. Thanks for help.
Last edited by sandy162; 03-08-2013 at 03:02 PM..
9 More Discussions You Might Find Interesting
1. Red Hat
Hello all,
If anyone has time, I have a few questions:
How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too.
1. How to lock the account after a few (like 3) invalid password attempts?
2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies
2. Shell Programming and Scripting
Hi,
I'm trying to use sed within a shell script (bash, running ubuntu). The command works fine from the command line, but when I use it within the script, rather than creating a file with the name I've specified, it creates one that ends with a question mark '?' when you use ls, e.g.... (3 Replies)
Discussion started by: jennykay
3 Replies
3. Shell Programming and Scripting
I have a script that runs ditto for me, and occasionally (if I exit the script while ditto is running in the background) it will leave an empty file named 0 in the script's directory. The next time I run the script, it generates incorrect data because of this file. I know I can easily insert a... (1 Reply)
Discussion started by: reid
1 Replies
4. Shell Programming and Scripting
I have a script that runs ditto for me, and occasionally (if I exit the script while ditto is running in the background) it will leave an empty file named 0 in the script's directory. The next time I run the script, it generates incorrect data because of this file. I know I can easily insert a... (1 Reply)
Discussion started by: reid
1 Replies
5. UNIX for Advanced & Expert Users
Hi all,
I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...).
I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message.
Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies
6. UNIX for Dummies Questions & Answers
I'm using a script that does some modifications to data on disc and updates the database. The script (perl) uses STDOUT so the results are printed to the screen. I don't have permissions to modify the script. I want to capture the results in a file so I can see if errors occurred and also keep... (3 Replies)
Discussion started by: surib
3 Replies
7. Shell Programming and Scripting
I am new to Linux. Using latest version of Ubuntu.
I want to make a script that creates a 1GB file filled with zeros using dd and then formats the file as vfat with a label of "MYFILE".
If anyone can help me it would be appreciated. (9 Replies)
Discussion started by: paviter619
9 Replies
8. Red Hat
Hi,
I have created a test script like this :
# cat script1.sh
DAY=$(date +%d)
MONTH=$(date +%b)
YEAR=$(date +%Y)
BC01="Blast_BC01"
BC15="Blast_BC15"
DIR1="$MONTH$YEAR_$BC01"
DIR2="$MONTH$YEAR_$BC07"
DIR3="$MONTH$YEAR_$BC15"
if ;then
mkdir -p "$YEAR/$DIR3"
fi
#
When I... (5 Replies)
Discussion started by: anaigini45
5 Replies
9. Shell Programming and Scripting
I am new to Linux. Using latest version of Ubuntu.
I want to make a script that creates a 1GB file filled with zeros using dd and then formats the file as vfat with a label of "MYFILE".
If anyone can help me it would be appreciated. (1 Reply)
Discussion started by: amandasaza08
1 Replies
LEARN ABOUT OPENSOLARIS
gconf-editor
gconf-editor(1) User Commands gconf-editor(1)
NAME
gconf-editor - view and edit personal desktop configuration preferences
SYNOPSIS
gconf-editor
DESCRIPTION
The GConf Editor application enables you to view and edit all of your current personal desktop preferences. The GConf Editor window pro-
vides a tree view to navigate through the hierarchy of preferences, an edit pane to make changes to individual preferences, and a descrip-
tion pane to highlight the documentation associated with the currently selected preference.
OPTIONS
None.
OPERANDS
None.
EXAMPLES
Example 1: Launching GConf Editor
example% gconf-editor
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/gconf-editor Executable for GConf Editor.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability | |
+-----------------------------+-----------------------------+
|Interface stability | |
+-----------------------------+-----------------------------+
SEE ALSO
Latest version of the GNOME Desktop System Administration Guide for your platform.
NOTES
Written by Stephen Browne, Sun Microsystems Inc., 2003.
SunOS 5.10 1 Oct 2003 gconf-editor(1)