10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello folks,
I have two files, which have usernames, I want to see the contents of file1.txt which is missing in file2.txt and another comparison file2.txt contents which is missing in file1.txt. please suggest.
file1.txt
user
u2
u8
a9
p9
p3
u4
z8
aaa
ahe
oktlo (7 Replies)
Discussion started by: learnbash
7 Replies
2. UNIX for Dummies Questions & Answers
hi guys
i need a program that can compare a value read from a com-port and one from the terminal.
can somebody help me???
using linux kernel 2.6.14-M5
can only use standard function in sh and bash... (5 Replies)
Discussion started by: metal005
5 Replies
3. Shell Programming and Scripting
Does $((mathematical expression)) and $ mean the same? (7 Replies)
Discussion started by: proactiveaditya
7 Replies
4. UNIX for Dummies Questions & Answers
Hello,
this is not exactly a unix specific question however i am sure someone out there may answer my question. The problem is that i write shellscripts and now i want to convert all these shellscripts to .txt. Is it possible?
or if someone knows how to copy the content of shellscript then also... (3 Replies)
Discussion started by: salman4u
3 Replies
5. Shell Programming and Scripting
Hi Everybody,
I am in urgent need of a solution.
I need to carry out SFTP activities through a shell script.
I have generated public and private keys as shown below:
Shell-Prompt$> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key... (2 Replies)
Discussion started by: $antaclau$
2 Replies
6. Shell Programming and Scripting
I need some help which would probably be for most of you a simple script.
I need to read in the data from a .dat file and then compare avg to see who is the highest avg. Here is my script so far.
#!/bin/ksh
#reading in the data from lab3.dat
filename=$1
while read name o1 o2 o3 o4 o5 o6... (0 Replies)
Discussion started by: bluesilo
0 Replies
7. Shell Programming and Scripting
Hello experts,
(tcsh shell)
Quite new to shell scripting...
I have got a file with a single word on each line. Want to be able to make a comparison such that i can read pairs of words that are ROT13 to each other. Also, i would like to print the pairs to another file.
Any help... (5 Replies)
Discussion started by: Jatsui
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm new in Unix an ShellScripting and I need a programm that create a sequence diagramm graphically from a shell script.
I am just working for 2 weeks in Unix and the Shell. And it would help to understand the whole shellsscripts.
Is there a freeware tool, that can create such a thing?... (1 Reply)
Discussion started by: roessrob
1 Replies
9. Shell Programming and Scripting
Hi all,
Hope that we are all familiar with the "script" command, which helps us to record the session into any file, until we give "exit".
Can anyone help me, how to do this process from a shell script!? I face problem while ending the script using "exit" which comes out of the program. This... (3 Replies)
Discussion started by: mohanprabu
3 Replies
10. Filesystems, Disks and Memory
can anyone point me to a comparison of *nix file systems ?
i think i prefer a journalling fs
but i would like to see a comparison between several fs's before i make up my mind (2 Replies)
Discussion started by: cnf
2 Replies