10 More Discussions You Might Find Interesting
1. Red Hat
Hi issue with red hat and san.
I had a LUN shared to me from an oracle storage
I am able to see it and the size.
~]# multipath -ll
mpathe (3600144f0e984617b00005b466bd70014) dm-3 SUN,ZFS Storage 7430
size=10T features='0' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1... (0 Replies)
Discussion started by: goya
0 Replies
2. Shell Programming and Scripting
Hello all,
I've been out of programming for awhile so sorry about the stupid, elementary question.
I'm trying to read two inputs and compare them to a list entered as a parameter via the terminal. The script is
#!/bin/bash
read -p "Enter the numbers" NUM1 NUM2
for VALUE in $@; do
... (6 Replies)
Discussion started by: EnduranceMan
6 Replies
3. Shell Programming and Scripting
This was taken down recently because it appeared to be homework, but it isn't. It's for a script I am working on at work. Thanks for the help.
How do you check that user inputs (arguments 1 and 2) are both numbers and are at least 5 digits in length? (2 Replies)
Discussion started by: thibodc
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
I have a new hdd installed ,and sometimes if i start a session or ftp download while downloading sometimes it creates a ./filename.type Input/output errorso in that case i can-not overwrite ,rename ,remove ,or place a file with the same name on that dir.
How to prevent this and is there... (3 Replies)
Discussion started by: brain!ac
3 Replies
5. Shell Programming and Scripting
Dears,
I need your assistance, I'm creating a shell script to read the IP address of a server and i would like to display an error message in red if the entered value is not an IP. any ideas how can i do it?:confused:
#!/bin/sh
echo "Please enter the server IP address: \c"
read IPadd... (3 Replies)
Discussion started by: Dendany83
3 Replies
6. Shell Programming and Scripting
Hello,
I would like to know if there is a shell in which operations such as 2| (redirect standard error of one process to the standard input of another one) exist?
I know it is possible to do it in bash with things like:
(process 2>&1) | other_process
but I find it a bit intricate when... (3 Replies)
Discussion started by: chlorine
3 Replies
7. Shell Programming and Scripting
Hi,
I created the following shell script to lookup multiple name servers for a domain.
#!/bin/bash
echo -n "Enter the domain name and press : "
read domain
result1=`dig +short $domain @4.2.2.1`
revresult1=`host $result1 | cut -f5 -d " "`
echo "test1"
result2=`dig +short... (3 Replies)
Discussion started by: mohitmoudgil
3 Replies
8. Programming
Hi,
I am getting a strange error as "Syntax error at the end of input" but I dont find any error in the file.
Can anyone please let me know what it is?
Thanks (2 Replies)
Discussion started by: naan
2 Replies
9. AIX
Hello,
I encountered a never-seen-before error message soon after the extension of a file system on an AIX 5.2:
$ sudo chfs -a size=+1G /filesystemtest
v3fshelper: /dev/lvfilesystemtest: There is an input or output error.
No error reported by errpt, file system correctly extended.
Can... (2 Replies)
Discussion started by: padawan75
2 Replies
10. UNIX for Dummies Questions & Answers
I've been successfully running a daily cron script to backup certain things on my server but just recently I started getting input/output errors for everything. For each directory the script tries to backup I now get this:
cp: accessing `/mnt/backup/**dir**/': Input/output error (8 Replies)
Discussion started by: JPigford
8 Replies