10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I hope I can explain this correctly. I am using Bash-4.2 for my shell.
I have a group of file names held in an array. I want to compare the names in this array against the names of files currently present in a directory. If the file does not exist in the directory, that is not a problem.... (5 Replies)
Discussion started by: BudMan
2. UNIX for Advanced & Expert Users
Hi Guys ,
we have one directory ...in that directory all files will be set on each day..
files must have header ,contents ,footer..
i wants to compare the header,contents,footer ..if its same means display an error message as 'files contents same' (7 Replies)
Discussion started by: Venkatesh1
I moved the /etc/shadow and /etc/shadow files to /tmp and then rebooted my PARC machine running 5.10. I did it to see if I could recover from single user mode.
But, I forgot to enable the abort key-sequence which I earlier disabled.
One of my gurus told I had to... (9 Replies)
Discussion started by: satish51392111
4. Shell Programming and Scripting
I've two files with data like below:
So,the field separator in file1.txt is a comma and in file2.txt,it is |
Now,the output should be... (2 Replies)
Discussion started by: asyed
5. Shell Programming and Scripting
On the server, we have app log files in this location /app/logs/error.log
On the same server, in a real time, we would like to replicate that into /var/ directory.
if someone has already done this, please share the script.
Thanks in advance. (4 Replies)
Discussion started by: lookinginfo
I was trying to create files to be used as discs for asm configuration. I used the following steps
mkdir -p /u02/asmdisks
dd if=/dev/zero of=/u02/asmdisks/disk0 bs=1024k count=1000
dd if=/dev/zero of=/u02/asmdisks/disk1 bs=1024k count=1000
chown -R oracle:dba /u02/asmdisks
chmod... (1 Reply)
Discussion started by: malikshahid85
7. Shell Programming and Scripting
So I have two files:
pictures.txt 1.1 1.3
dance.txt 1.2 1.4
treehouse.txt 1.3 1.5
pictures.txt 1.5 ref2313 1.4 ref2345 1.3 ref5432 1.2 ref4244
dance.txt 1.6 ref2342 1.5 ref2352 1.4 ref0695 1.3 ref5738 1.2 ref4948 1.1
treehouse.txt 1.6 ref8573 1.5 ref3284 1.4 ref5838... (24 Replies)
Discussion started by: linuxkid
8. Shell Programming and Scripting
I am having two files...
the output should be
pls help (2 Replies)
Discussion started by: suryanarayana
9. Shell Programming and Scripting
I am trying to find all files in a directory whose name has a real number larger then the number I am looking for.
I know my database is at 2.2 so I want an... (2 Replies)
Discussion started by: harmonwood
10. UNIX for Dummies Questions & Answers
i have a long script saved in two different folders at a different date...these two savings are nearly identical but i would like to know what are the differences between them without having to print and compare them line by line.
maybe there is a "compare file1 file2" command?
thx (2 Replies)
Discussion started by: tomapam