05-24-2016
Guys, I think when a fellow, established member asks "What have you tried so far" it's courteous to wait for a response from the O/P in such regard before offering possible solutions.
My $0.02.
This User Gave Thanks to Scott For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i="1"
while
do
k=`expr $i + 1`
sed -e 's/"$i"/"$k"/' < somefile1.txt >> somefile2.txt
i=`expr $i + 1`
done
ive been trying to :
1 from a file containing numbers in a row divided with correct number of 2 spaces to find the corresponding one
2 change the value
3 and append... (1 Reply)
Discussion started by: trilicno
1 Replies
2. UNIX for Dummies Questions & Answers
i="1"
while
do
k=`expr $i + 1`
sed -e 's/"$i"/"$k"/' < somefile1.txt >> somefile2.txt
i=`expr $i + 1`
done
ive been trying to :
1 from a file containing numbers in a row divided with correct number of spaces to find the corresponding one
2 change the value
3 and append... (3 Replies)
Discussion started by: trilicno
3 Replies
3. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
4. Shell Programming and Scripting
we have 4000 html pages that need an email address changed.
eg) company@yahoo.com to company@hotmail.com
we only want the file modified date to be changed when there has been a change to the file.
Should I be using grep?
I fairly new to UNIX and was told to using something like... (2 Replies)
Discussion started by: mchelle_99
2 Replies
5. Shell Programming and Scripting
Hi All,
I wanted to write a shell script which will change the expired passwd in oracle. Here is below what I am trying,
#!/bin/sh
set -x
ORACLE_HOME="/optware/oracle/9.2.0.2_64"
SQLPLUS="${ORACLE_HOME}/bin/sqlplus"
PASS="xyz"
PATH=$ORACLE_HOME/bin:$PATH... (0 Replies)
Discussion started by: gr8_usk
0 Replies
6. Shell Programming and Scripting
Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies
7. Hardware
I am now on Kernel 2.6.32-26
For me 16x CD write speed is okay.
I have old hardware which was able to write DVDs at 1x, back in previous linux version.
Now, I dont get speed of less than 4x.
Tested on k3b, xfburn, and brasero. But all start at bottom 4x write speed. k3b forced back to... (0 Replies)
Discussion started by: makh
0 Replies
8. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
9. Shell Programming and Scripting
I have file which contains a huge amount of data. I need to search the pattern Message id. When that pattern is matched I need to get abcdeff0-1g6g-91g3-1z2z-2mm605m90000 to another file.
Kindly provide your input.
File is like below
Jan 11 04:05:10 linux100 |NOTICE... (2 Replies)
Discussion started by: Raysf
2 Replies
10. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
LEARN ABOUT REDHAT
vboxputty
VBOXPUTTY(8) System Manager's Manual VBOXPUTTY(8)
NAME
vboxputty - a self-dialing/-calling vboxgetty
SYNOPSIS
vboxputty -d device [-f config-file] [-c phonenumber] [-s ring-timeout] [-w wait] [-t redial] [-r redial-pause]
vboxputty [-hv]
DESCRIPTION
vboxputty is a vboxgetty, not waiting for, but triggering a call. After connect, vboxputty is acting exactly like vboxgetty. vboxputty
exits with 0 if a connection was established, 99 on BUSY.
OPTIONS
-h display a short help
-v display the version information
-f config-file
use config-file instead of the default vboxgetty.conf
-d device
use device (/dev/ttyI*) for dialout
-c phonenumber
the phonenumber to be called
-s ring-timeout
vboxputty will dial the phonenumber and wait ring-timeout seconds for the called party to accept the call, if ring-timeout seconds
are ellapsed before connect, vboxputty will hangup.
-w wait
after the connection is established, vboxputty will wait wait seconds before starting the tcl-script
-t redial
if the called party is BUSY, vboxputty will try redial times to get a connect
-r redial-pause
vboxputty waits redial-pause seconds between BUSY-redials
FILES
/usr/local/vbox/etc/vboxgetty.conf
AUTHOR
Gerrit Pape <pape@innominate.de>
SEE ALSO
the vbox-documentation
4th Berkeley Distribution 13. January 2000 VBOXPUTTY(8)