Ubuntu :: Get Difference Between Two Files
Oct 25, 2010
i am using diff command... to get difference between two file. but the thing is its giving both file difference and i need only the difference of 1st file comparing to 2nd file for that it shoud not show anything abt 2nd file.
View 1 Replies
ADVERTISEMENT
Aug 22, 2011
What is the difference between "bin" and "netinstall" ISO files for Linux?I need a full OS, not just a Live CD. On the mirrors there are two kind of files.Which one is the full OS?
View 1 Replies
View Related
Nov 29, 2008
What is the difference below these files?
1)Say an application is written and is having source files.
2)A file called source rpm package
3)A rpm package
In case of (1) we need to compile using either the make or if we know using appropriate compiler with proper libs included. Can I know what's the difference between (2) and (3)?
View 3 Replies
View Related
Jan 20, 2010
There is .profile under my directory and I found another one under /etc/ . I know the first one is the one we edit for path and alias and stuff. but how does it differ from the one in /etc?
View 2 Replies
View Related
Nov 7, 2009
I'm new to linux,so i'm confused with MOUNTING files. give differences and unique functions of the FSTAB, MTAB, /PROC/MTAB files.
View 2 Replies
View Related
Jul 14, 2010
I want the difference of two text files(a.txt & b.txt) into a third text file(c.txt). i.e. New or Differert rows of a.txt compared to b.txt
a.txt>
10128|10153|999999
10343|10153|000
10345|10153|3846
10351|10153|3846
b.txt>
10128|10153|999999
10343|10153|3853
10345|10153|3853
10349|10153|3853
c.txt should be like>
10343|10153|000
10351|10153|3846
I tried comm,but man says that the files have to be sorted in order to use comm. I dont want to sort the files.
View 3 Replies
View Related
Apr 4, 2011
I just upgraded my kernel to version 2.6.38 & I seem to have missed a few modules. I tried using diff to get a list of the differences between the files lsmod-2.6.35 & lsmod-2.5.38, which I created for this. Unfortunatly I can't seem to figure out the right syntax to do what I want which is to just show me whats missing. For example, I want to subtract the lines from file1 & file2 which are the same, leaving me with the difference in file3. i.e. file3 = file1 - file2 Is this possible or am I just using the wrong program.
View 3 Replies
View Related
Apr 29, 2010
How can I recover My deleted files in ubuntu? What's the difference between "foremost" and "scalpel"? And is there any other program(or package?) For this purpose in ubuntu? I am running ubuntu 9.10
View 1 Replies
View Related
Apr 22, 2011
I'm messing with my samba config file. For line comments, some use a number sign/pound sign/hash symbol, while other lines use a semicolon:
Code:
############ Misc ############
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
[Code]....
View 5 Replies
View Related
Mar 18, 2010
I want to find the difference between two files in different servers , which have trust enabled to ssh without password.
Am using the following command , which shows no output. But i am able to see some difference there in the files manually.
Code:
serv1$diff .profile `ssh serv2 ls .profile`
View 1 Replies
View Related
Jul 3, 2009
I usually custom compile my kernel and generate the header files with the following command:
Code:
fakeroot make-kpkg --initrd --append-to-version=generic-ide kenrel_image kernel_headers
However, I noticed that there are some difference in the headers files that get generated with the above command as compared to the header files that are available from Debian repo. For example, the header files for 2.6.24 kernel have files like:
Code:
debian:/usr/src/linux-headers-2.6.24-etchnhalf.1-686/arch/x86# ls Kconfig Kconfig.cpu Kconfig.debug kernel Makefile Makefile_32 Makefile_32.cpu Makefile_64 However, if I custom compile the above kernel from Debian sources (2.6.24), the headers files does not have the above files:
Code:
debain:/usr/src/linux-headers-2.6.24-generic-ide/arch/x86# ls
boot ia32 Kconfig.cpu kernel lib mach-es7000 mach-visws Makefile mm pci vdso xen
crypto Kconfig Kconfig.debug lguest mach-default mach-generic mach-voyager math-emu oprofile power video
As you can see from above output, files like Makefile_32, Makefile_32.cpu are not present, if I generate kernel headers files using the make-kpkg command as mentioned in the beginning of the post. I happened to notice the above issue, while I was trying to compile a out-of-tree kernel module and the "make" command for those sources (some graphics card drm module) worked with the default header files (linux-headers-2.6.24-etchnhalf.1-686) but did not work with (linux-headers-2.6.24-generic-ide) because it did not find the Makefile_32. Although I was able to fix the problem by copying the Makefile_32 from linux-headers-2.6.24-etchnhalf.1-686 but I would like to know why there is a difference. This is bit of a concern because it unnecessarily breaks the out-of-tree module compilation process because of trivial reasons.
View 4 Replies
View Related
Jun 20, 2011
I noticed something a little odd I'm hoping someone can enlighten me on. I noticed in a couple of cases that a package has the proper version, but differs in two regards.
1. The package ends up with a .el4 on the end of the version for Red Hat 4.
2. The actual MD5Sum of the files the package provides differ.
An example below:
Code:
[root@RH4ES32-MCE bin]# for i in `rpm -ql GConf2`;do md5sum $i;done;
md5sum: /etc/gconf/2: Is a directory
9f90335546f7c57ae6fb552cc2b919c5 /etc/gconf/2/path
md5sum: /etc/gconf/gconf.xml.defaults: Is a directory
[code].....
So my package changed slightly to now show .el4 versus just 2-2.8.1-1 I've indicated in the first output above that the first couple of lines differ. I stopped my comparison at that point as they truly are different.
View 8 Replies
View Related
Aug 3, 2010
What is the difference between kernel-source.x.x.x.x.rpm and kernel.x.x.x.src.rpm?
View 2 Replies
View Related
May 17, 2011
i am using red hat linux 2.4 . I have 3 folders dir1 dir2 dir3 I have tarred them like this.
1.tar cvfz tarball_1.tgz dir1 dir2 dir3
2.tar cvfz tarball_2.tgz dir1 dir2 dir3 2>& /dev/null (So that it does not display any error message or operation details to the user)
[usr@machine]$ ls -lrt
-rw-r--r-- 1 usr grp 199843988 May 17 13:39 tarball_1.tgz
-rw-r--r-- 1 usr grp 199837488 May 17 13:53 tarball_2.tgz
But can any one explain the size difference as seen in list output...
View 4 Replies
View Related
Nov 25, 2010
I have a Centos 5.5 server and I had a problem with its time because it was 1 one hour ahead of my local time. I installed and activated NTP and I created a link for /etc/localtime:
Code:
ln -sf /usr/share/zoneinfo/America/Mexico_City /etc/localtime
I reboot the server and waited for 1 hour but the time wasnt correct. The server's BIOS clock has UTC time so I edited /etc/sysconfig/clock file replacing:
Code:
UTC=false for
UTC=true
I reboot the server and waited for 1 hour but the time wasnt correct. After breaking my head for about 1 hour, I realized that there is a directory /usr/share/zoneinfo/Mexico and changed my link for /etc/localtime
Code:
ln -sf /usr/share/zoneinfo/Mexico/General /etc/localtime
And It worked. What is the difference between America/Mexico_City and Mexico/General files in /usr/share/timezones, they should be identical but of course they are not?
View 1 Replies
View Related
Jul 27, 2010
I have setup a postfix mailserver and it seems to be working ok, we are only using this to relay mail to our forum users. Its not being used to recieve any email only send them out to the internet.
What is the difference between the mail.log and mail.info files? Can I turn one or both off? I see alot of messages like...
Just wondering what this string of log entries means? Also I am getting duplicates in the syslog file as well.
View 2 Replies
View Related
Feb 16, 2011
1. What is the difference between files (xorg.conf and xorg.conf-vesa)
2. No matter how hard I try I can't change keyboard layout in xorg.conf-vesa (I change it in file ) but there is no actually anything changing, it starts to get annoying - for example - below goes my xorg.conf-vesa, if I uncomment and set line from
[Code]...
View 3 Replies
View Related
Jan 8, 2010
I'm planning to download ubuntu, but I don't know if I should download the 64-bit one or the 32-bit one? My computer can handle 64-bit, has 4 gb, 320 gb harddrive. What;s the difference between 64-bit and 32-bit?
View 2 Replies
View Related
Sep 18, 2010
I've typed 'l' instead of 'ls' in the terminal by mistake a couple of times, and it seems to do pretty much - but not exactly - the same as 'ls' ('l' appends *, @ etc at the end of filenames which seem to indicate permissions and/or links).
I can't find any documentation on 'l'. 'l --help' gives exactly the same output as 'ls --help'. 'which l' gives nothing. There are no files in my filesystem called only 'l' either - just a couple of unrelated folders.
So what's the difference between l and ls?
View 2 Replies
View Related
Jun 13, 2011
I have two interfaces, Gnome and KDE. So sometimes I am asked to chose between the 2 display manager gdm (Gnome) or kdm (KDE). I've never noticed any difference. When I have problems with one I have problems with the other, and usually they both seem to function equally well. If you have ever been in a situation where one was better than the other could you please tell me about it? My question is related to troubleshooting a dual-monitor setting but this is another thread, here I'm just asking because I wish to learn a bit more about displays in general.
View 1 Replies
View Related
Jul 24, 2011
I know Ubuntu is based on solid foundation of deb. How about rpm?
Currently ubuntu supports installation using deb. Who supports rpm? red hat?
View 1 Replies
View Related
Jun 10, 2011
I get a SD card. Put in the SD reader. It's empty. I go to my super-important-pictures-to-a-monthly-relatory folder and select all files. Select them for MOVE. Paste them on the SD card. When the move/paste process is finished, i click on the "Eject" button on top of the SD card name. Card's ejected. I can't access the card anymore. I take out the card and put on my other computer. From 300 pictures, there are only 10 available, the remaining ones are there, but with 0bytes and unrecoveable. I panic. I go back to my main computer, my pictures are not there anymore. The pictures were on the Home folder. I panic again. I reset the computer and boot on the LiveCD. I install foremost, scalpel, photorec and about everything till my USB drive complains about being filled up. I run everything and I can't recover my files. I'm in the danger of getting fired. Things like that makes Windows sounds more appealing. When you securely remove a pendrive, things get REALLY pasted there before screwing everything up with a removal.
View 8 Replies
View Related
Jan 30, 2010
[URL] I am running Ubuntu 8.04.3 if I upgrade anytime the upgrade application asks me to what is the difference between 8.04.3 and 8.04.4?
View 3 Replies
View Related
Feb 19, 2010
At a Linux distribution web site there are two offerings for download
1. img.iso
2. iso
What is the difference between the two?
View 2 Replies
View Related
Jun 7, 2010
What is the difference between 0750 and 750? Not the specific numbers but the format of them. I know the difference between 750, 755, 777, 600, etc, but is there a functional difference between using a preceding zero and not using one?
View 4 Replies
View Related
Aug 11, 2010
Difference between GNOME and KDE?
View 2 Replies
View Related
Aug 13, 2010
How on Earth can you tell the difference between a packaging bug and a bug in the software? I ask because Kubuntu.org says - on it's page for upgrading to KDE 4.5:
Quote:
Bugs in packaging should be reported to kubuntu-ppa on Launchpad. Bugs in the software to KDE.
Now I don't know where to file *any* bug!
View 2 Replies
View Related
Aug 20, 2010
what is difference in file in /usr/bin and /bin
View 3 Replies
View Related
Sep 25, 2010
What's the difference between apt-get and aptitude? Could I use either to effectively update my system? (ie. do "apt-get update" and "aptitude update" do the same thing?)
View 4 Replies
View Related
Oct 17, 2010
i recently upgraded from 10.04 to 10.10.
After I upgraded from 10.04 to 10.10 I can choose between the following OS's when turning on my computer (see picture):
What is the difference between linux 2.6.35-22 and 2.6.32-25? The 2.6.35-22 option froze once on login, I have never experienced any trouble with the 2.6.32-25 option.
So what is the difference between the two? Do i need both? If not, which one should I remove and how?
View 6 Replies
View Related