Beginner Questions.


 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions Beginner Questions.
# 8  
Old 07-09-2010
I was hoping someone could sort of point me in the right direction on how to solve this problem.

What I have to do is compare two sets of numbers. What I need to find is:

The numbers that are the same between both sets
and the numbers that are unique to EACH set.

The two number sets are two different files also.

I've come a little farther than I used to be, so I'm not totally oblivious to UNIX now, but this seriously still the hardest question I've had so I'm clearly not great.

Any help would be greatly appreciated!

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Beginner's questions] Filename Validation & Parsing

Hi !! I'm rather new both to the UNIX and scripting worlds, and I'm learning the ropes of scripting. Having said this, please excuse me if you notice certain basic errors. I'm working on a script that implements .jar and .war files for a WAS environment and I need to perform certain... (4 Replies)
Discussion started by: levaldez
4 Replies

2. Shell Programming and Scripting

beginner scripting questions User variables

If there's anywhere to look this up, it would be just as helpful. I googled and really couldn't find anything relative to this. ok... General Variables 1) When creating a script I made a file "prog1.sh" does it matter if the end is .sh or is this what has to be done like prog.bash or... (4 Replies)
Discussion started by: austing5
4 Replies

3. AIX

Beginner's questions about AIX (6.1)

Hello, For some time I have intellistation 9111-285 and I installed AIX 6.1 on it. As a complete beginner I have 2 questions in general about AIX and two specific: 1. is the SMS (system management services) part of AIX? As I noticed when I had Yellowdog Linux installed they weren't available?... (2 Replies)
Discussion started by: kenashkov
2 Replies

4. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

5. UNIX for Dummies Questions & Answers

Beginner - What Should I Do First?

Hi people.... I have just started to learn unix.I want to know which version of Unix to install plus how to install it.I need to practise and make myself aware of how unix works.My thread is from an educational point of view.Also please feel free to give your suggestions as I am... (3 Replies)
Discussion started by: amit.kanade1983
3 Replies

6. Linux

Beginner questions about versions and installing

1. I have never used or dealt with unix, linux, or any variation thereof, and want to. My biggest problem is that all the versions I've looked at want you to install from a CD or DVD, but I'm wanting to put it onto an Asus eeepc, which has no such drive. How would I go about installing on it? ... (4 Replies)
Discussion started by: lemming
4 Replies

7. UNIX for Dummies Questions & Answers

Absolute Beginner Questions

... before you role your eyes, I picked up my first Unix book 3 days ago! As such, I have a few quick questions that I'm sure are super easy for everyone out there but me! Forgive me if the terminology I use is wrong ... I'm accessing a remote Unix server, I can make my way around directories... (2 Replies)
Discussion started by: joey_tomatoes
2 Replies

8. UNIX for Dummies Questions & Answers

Beginner Questions

Hi everyone. I guess I am the new guy, and also new to Unix. I purchased a box of computer supplies at an auction, and found an unopened box of Compaq Smartstart. So here is what I have... Smartstart 2.5, Netware, Windows NT, OS2 & Lan Server, SCO Open Server release, SCO Unixware 2, Oracle 7 for... (3 Replies)
Discussion started by: Darin
3 Replies

9. Programming

Beginner C

Anyone know where I can get started in C++ programming in unix? Any good free tutorials or websites to start at? I am okay in unix scripting but have never done c programming of any sort... What are the main advantages of using C++ ? (2 Replies)
Discussion started by: frustrated1
2 Replies
Login or Register to Ask a Question
WATCH(8)						    BSD System Manager's Manual 						  WATCH(8)

NAME
watch -- snoop on another tty line SYNOPSIS
watch [-cinotW] [-f snpdev] [tty] DESCRIPTION
The watch utility allows the user to examine all data coming through a specified tty using the snp(4) device. If the snp(4) device is not available, watch will attempt to load the module (snp). The watch utility writes to standard output. The options are as follows: -c Reconnect on close. If the tty observed by watch is closed, automatically reattach to the same tty. If this option is not speci- fied, watch will request a new tty if running in interactive mode or exit if running without a controlling tty. -f snpdev If this option is specified, watch will use snpdev as the snp(4) device. Without this option, watch will attempt to find the next available snp(4) device. -i Force interactive mode. Interactive mode is a default if watch is started from a tty. If output is redirected to a file, interac- tive mode can still be requested by specifying this option. -n Disable the ability to switch the watched tty interactively. This disables both change requests made with <control-X> as well as automatic prompting when the current tty is closed or overflows. In all cases where a prompt would be displayed, watch will exit. The reconnect flags are unaffected by this option. When this flag is used, <control-X> is passed through to the terminal. -o Reconnect on overflow. The behavior of watch if the observed tty overflows is similar to the behavior if the observed tty is closed. For more info see snp(4). -t Print the date and time when observation of a given tty is started. -W Allow write access to observed tty. tty Tty may be specified as a tty-style device, such as a pseudo tty device, a virtual console, or a serial line, etc. Names may be pre- ceded by /dev/. OPERATION
While running in interactive mode, all user input is discarded except for: <control-G> Exit watch. <control-W> Clear screen. <control-X> Change attached tty, unless this feature is disabled, in which case control-X is passed to the terminal as with other control charac- ters. SEE ALSO
pty(4), sio(4), snp(4), kldload(8) HISTORY
The watch utility first appeared in FreeBSD 2.1. AUTHORS
Ugen J.S. Antsilevich <ugen@NetVision.net.il> BUGS
No terminal emulation is performed. All user output is reproduced as-is. BSD
November 24, 2001 BSD