7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
2. Solaris
Hi,
I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8
With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8".
Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies
3. Shell Programming and Scripting
SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
5. UNIX for Dummies Questions & Answers
hi, I am new in Expect
I wanna write something into a file, but it didn't recognize \n in my string.
for example, a simple script like this:
#!/usr/local/bin/expect --
set logfile
puts $logfile "===========================\n hello,allen\n===========================\n"
it shown... (1 Reply)
Discussion started by: allenxiao7
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
We're stuck after the Unix admin left without prior notice.
We have a web application running on mySQL.
it seems that the \tmpdir for mySQL is mount to
var\tmp directory which has only 60 MB of available disk space
running any big query fails due to the size limitation
I don't have... (13 Replies)
Discussion started by: ray
13 Replies
7. UNIX for Dummies Questions & Answers
HI
I'm using red hat 7.0 and i've tried to find my network card, because it wasn't recognised at install time.
I issued this commands "modprobe ne" and "modprobe 3c59x"
and i got the message
/lib/modules/2.2.16-22/net/ne.0: insmod failed.
At this point i suppose to get this... (2 Replies)
Discussion started by: IMOTEB
2 Replies