10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Friends,
Below is the script which writes output to LOGFILE, however I want the entire log written to LOGFILE and also console.
Please suggest me the changes I need to do here.
#!/bin/ksh
x=${0##*/}
LOGFILE="x.log"
echo "CAUTION : Files once deleted cannot be restored"
printf 'Would... (8 Replies)
Discussion started by: fop4658
8 Replies
2. 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
3. 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
4. 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
5. UNIX for Dummies Questions & Answers
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
6. UNIX for Advanced & Expert Users
We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
Discussion started by: sreyes27
3 Replies
7. UNIX and Linux Applications
Hi
Anybody know any good console file manager other than Midnight Commander?
MC development ended in 2005, so i thought may be there is something newer.
I'm interesting only i console. I scrolled through list of file managers in wiki but it seems that all modern are GUI, not console. (1 Reply)
Discussion started by: kukuruku
1 Replies
8. Shell Programming and Scripting
Hi all,
I have a requirement, where I need to do some calculations and based on the results I need to write a message to the user from a shell script.
Is it possible to `write' inside the script? Something like the below one..
#! /bin/ksh
write user12 << EOF
Hello World
<<EOF
For... (2 Replies)
Discussion started by: guruparan18
2 Replies
9. UNIX for Dummies Questions & Answers
welll, the title quite explains what i want to do
thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am fairly new to UNIX. I ran command tty on my shell prompt and it return me /dev/console.
I was reading in the book that normally output of tty command is tty01 , tty02 or so on.
My question is this is the file for my monitor? UNIX called it Terminal or Workstation?
What is this... (4 Replies)
Discussion started by: malikabid
4 Replies