10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Below is the script that i'm using but i'm getting an error,
echo -n "Read the letter >(enter a or b or c) "
read letter
if || || ;
then
echo "unacceptable character"
else
echo "Character Accepted"
fi
if the character entered is not equal to a or b or c, the script should... (6 Replies)
Discussion started by: web2moha
6 Replies
2. Shell Programming and Scripting
What would cause a script to work under one user account and not another? Here's an example of what I'm referring to.
Here's a simple script. Let's put it in a file called “thescript”.
#! /bin/bash
alias a='echo hello world'
a
Here are the results when this script is executed logged in... (3 Replies)
Discussion started by: sszd
3 Replies
3. Shell Programming and Scripting
I am working on AIX 6.1 issuing #!/bin/sh at the beginning of the script.
I don't understand why $1 is not working as expected. I expect it to hold the value for the first argument coming from the command line consistently - and it is not.
At the beginning of the script starting I do this:... (4 Replies)
Discussion started by: Feliz
4 Replies
4. Shell Programming and Scripting
Hey I have a problem with my script.
I writing a script which can depend whether you want to make a file or a directory.
I only give the code where you can find the problem.
My loop doesn't stop and I don't know why and
when i echo my second parameter , he echoes nothing :s
Thnx
... (1 Reply)
Discussion started by: Eclecticaa
1 Replies
5. Shell Programming and Scripting
I have the below script in file read_file.ksh if ] || ]
then
echo "Required one input file"
echo "Enter a file to get char count:"
read $FILE_NAME
if ]
then
echo "valid file"
else
echo "Not a valid file."
fi
When run as read_file.ksh detail.csv or... (9 Replies)
Discussion started by: michaelrozar17
9 Replies
6. Linux
I installed PCI Card HP SC44Ge - SAS1068E
on my linux CentOS 5.4
is there a way to find out if the PCI is properly installed and recognized by linux.
lspci is enough?
just to add that PCI card is connected to a tape...
also how can I find out driver and firmware version?
thanks a... (1 Reply)
Discussion started by: karlochacon
1 Replies
7. Solaris
Good evening,
I am fairly (re)new to Solaris 10. In fact I was even quite good at it, but that was about 10 years ago, so now I am back to beginner status :)
I installed a new machine with an internal 16port RAID attached to an Areca 1260 controller. Also attached is an external SCSI-Raid. ... (7 Replies)
Discussion started by: PatrickBaer
7 Replies
8. UNIX for Dummies Questions & Answers
I'm trying to install Solaris 10 along with Ubuntu (dual-boot system)
The problem is, GParted partition manager (Ubuntu) didn't recognize the FAT file system used to install the Solaris. It said that the block size is unknown file system..
What's the correct file system to install Solaris so... (6 Replies)
Discussion started by: frankoko
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I'm trying to extract a war file via the jar command; however, when I issue:
jar -xvf MyWarFile.war
I'm recieving "jar: not found"
I added
/usr/bin to the path ...didn't work
also tried
/usr/bin/jar to the path...still doesn't work
My JAVA_HOME/bin is also in the path.
... (1 Reply)
Discussion started by: orahi001
1 Replies
10. Shell Programming and Scripting
I need to accept a number of arguments at command line and print it in reverse order
i use eval `echo x=$1` to capture the argument
#! /bin/sh
counter=0
while
do
eval `echo x=$1`
arg$counter=$x
counter=`expr $counter + 1`
shift
done
but the error keeps... (1 Reply)
Discussion started by: scmay
1 Replies
gmail-notify(1) General Commands Manual gmail-notify(1)
NAME
gmail-notify - A Gmail Notifier
SYNOPSIS
gmail-notify
DESCRIPTION
gmail-notify Gmail Notifier is a Linux alternative for the notifier program released by Google, it is written in Python and provides an
attractive and simple way to check for new mail messages.
Open the notifier.conf file in your favourite text editor and edit the configuration options to match your system. Below is an explanation
of each option: (See notifier.conf.sample located in the /usr/share/doc/gmail-notify directory for a helpful example)
gmailusername - fairly self explanatory, must be without the @gmail.com at the end
gmailpassword - obvious
browserpath - this is the full path to the browser that you want Gmail Notifier to open when you click the popup to goto your Gmail inbox
voffset - this is the amount (in pixels) the popup will be displaced from the bottom of the screen, it will almost definitely need changing
to suit your system, ideally, you want it to look like it came out of the bar along the bottom of the screen the best way to adjust it is
to run it initially with the default value and then add/remove from it then test again. Higher values result in the popup appearing higher
up the screen.
hoffset - same as above only this is the amount the popup will be displaced from the side of the screen. Higher values will displace it
more to the left of the screen.
checkinterval - this is how often Gmail Notifier will check for new mail (in ms), do NOT set it lower than 20000 (20 seconds), or the libg-
mail library will not keep up, causing many strange side effects. If you need to check your mail more than once every 20 seconds, then
chances are your famous and don't have time to read your mail anyway.
animationdelay - this is the amount of time (in ms) that Gmail Notifier will wait before moving the popup up one step, when the popup is
popping up, to high values will cause the animation to be jerky, to low values will cause tearing at the bottom of the popup. 15ms seems
about right. Only small adjustments are necessary, best thing is to leave it alone.
popuptimespan - this is the amount of time before the popup will disappear again after popping up you can set this to whatever you want
Web Page
http://gmail-notify.sourceforge.net/
AUTHOR
John Winter <wintersoft@gmail.com>
May 31, 2006 gmail-notify(1)