10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
I need to find the difference between two files ,
File_1 contained 4 columns, and File_2 contained 4 columns,
I need to find the difference using 1st column,
Or need to find the difference using 3st column, (6 Replies)
Discussion started by: Shenbaga.d
6 Replies
2. Shell Programming and Scripting
Hi All,
Please find my problem below:
I have a file at two different nodes dev and test
1st find> find /u/dev/local/abc -name ab.dat
--Since this file can be in several sub directories
2nd find> find /u/test/local/abc -name ab.dat
I find my 1st find result and do compare with 2nd... (5 Replies)
Discussion started by: varun_bharadwaj
5 Replies
3. Shell Programming and Scripting
I have a file wich contains time formats and i need to get the time difference
TIME1 TIME2
==================================
20120624192555.6Z 20120624204006.5Z
which means first date 2012/6/24 19:25:55,second date 2012/6/24 20:40:06 so when i get the time... (1 Reply)
Discussion started by: wnaguib
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
What is the difference between these two?
find /some_dir -type f -exec chmod 070 {} \;
and
chmod 070 `find /some_dir -type f`
Thanks (5 Replies)
Discussion started by: lamont
5 Replies
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
List all files in ~c12100 directory beginning with "BOZO" that end with either "123" or "456"
2. Relevant... (3 Replies)
Discussion started by: ScarletRavin
3 Replies
6. UNIX for Dummies Questions & Answers
Hola,
Tengo un texto texto1.txt con el siguiente contenido:
Malaga
Cadiz
Sevilla
Hola
Y otro .txt texto2.txt con:
Malaga
Cadiz
Sevilla
Cordoba
Huelva
quiero obtener en otro .txt la diferencia entre estos dos archivos: (14 Replies)
Discussion started by: danietepa
14 Replies
7. Homework & Coursework Questions
Use and complete the template provided. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write a C Shell Script called "hunt" that takes a filename as it's single parameter and displays the full pathname of every file name that matches,... (1 Reply)
Discussion started by: new2C
1 Replies
8. Shell Programming and Scripting
I am digging for certain types of files in the current directory and all its sub-directories and archiving them with the following code:
#! /usr/bin/ksh
Archive=`date +%Y_%m_%d_%T`
find . -type f \( -name \*\.ksh -o -name \*\.sql -o -name \*\.ini \) -print|xargs tar -cf... (4 Replies)
Discussion started by: manthasirisha
4 Replies
9. UNIX for Dummies Questions & Answers
I was wondering what the difference was between the two commands, I understand that locate won't search for files with certain permissions set. Are there any others?
Thanks (1 Reply)
Discussion started by: camerja1
1 Replies
10. UNIX for Dummies Questions & Answers
When I execute the following:
<pre>
$ whereis ls
ls: /usr/bin/ls /usr/ucb/ls
$ pwd
/bin
$ ls -la ls
-r-xr-xr-x 1 bin bin 18120 Oct 6 1998 ls
</pre>
....but as you can see the 'ls' command is in the /bin directory AS WELL. Why doesn't show up on 'whereis'???
Thanks (3 Replies)
Discussion started by: guest100
3 Replies