10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have following codes which looks ok:
$ string1="123456789 abc2"
$ string2="abc"
$ position_of_string2=`expr index "$string1" "$string2"`
$ echo $position_of_string2
$
11however, when string2="abc2", it gives me the following result:
$ string1="123456789 abc2"
$... (5 Replies)
Discussion started by: littlewenwen
5 Replies
2. UNIX for Dummies Questions & Answers
I am receiving an error when i type the command dmesg
sudo: sysmon : pam_authenticate: Conversation failure ; TTY=unknown ; PWD=/export/home/sysmon ; USER=root ; COMMAND=/opt/scripts/cronmgmt/synch_crontab.ksh
Whats it about and how can I remove it ? (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
3. Red Hat
I try to install red hat linux and I connect the PC with serial port .
I use hyper terminal as terminal.
when the machine boot from DVD/CD , there is no text mode(simply graphic) screen come out..
just a strange/rubblish text come out ??
What is the problem ??
Pleae advice .
I also find it... (2 Replies)
Discussion started by: chuikingman
2 Replies
4. UNIX for Dummies Questions & Answers
I am using th following to get the percentage and have never used bc before:
percent=$(echo "scale=4;(34117/384000)*100" | bc)
8.884600
percent=$(echo "scale=2;(34117/384000)*100" | bc)
8.00
Why do I get the results of 8.00 instead of 8.88 when using a scale of 2. I only want 2 decimal... (2 Replies)
Discussion started by: mariaa33
2 Replies
5. UNIX for Dummies Questions & Answers
I have created a server monitor program in Java that connects to servers via SSH and constantly refreshes the new server load every 3 mins. The problem is that even though it is a Java app running shell commands to get the load info, the commands still appear in 'history'.
The question is.. is... (1 Reply)
Discussion started by: AndrewSH
1 Replies
6. Shell Programming and Scripting
Can some-one give me a view to this :
I have a directory in an unix server, having permissions r-xr-xr-x .This directory is basically a source directory.
Now there is another directory basically the destination directory which has all the permissions.
Note:I log in as not the owner,but user... (5 Replies)
Discussion started by: navojit dutta
5 Replies
7. Solaris
Hi all,
Thanks for any replies and for reading in advance.
We have upgraded one of our database instances to 10g on a Solaris 8 box, anyhow the other day it started trying to ping loads of weird IP addresses that we don't use, since our systems all run on pretty similar IP's. It all behind... (0 Replies)
Discussion started by: B14speedfreak
0 Replies
8. Linux
I have installed Fedora Core on a Toshiba Satellite Pro4600 laptop recently I have experienced a rather mysterious problem if I touch anything specially the keyboard or mouse I see this stuff “67yujhnmyyy” straight away some time it won't stop for while like this... (5 Replies)
Discussion started by: kemobyte
5 Replies
9. Post Here to Contact Site Administrators and Moderators
Whenever I see I post, I keep on seeing "IP: Logged" on the lower left-hand corner of the post (I do not click the logged link). And when I preview a user, I get "Administrative Options" on the bottom of the page.
It is just strange that all of a sudden, I get these uneeded features. (1 Reply)
Discussion started by: Danny_10
1 Replies
10. UNIX for Dummies Questions & Answers
Hi All
I am doing a locate <file_name> on my Redhat 7 System. I am unable to get the output. All the keep getting is:
locate: this is not a vlaid slocate database: /var/lib/locate/slocate.db
What des this mean? Is my system compromised?
Thanks in advance.
KS (13 Replies)
Discussion started by: skotapal
13 Replies