General :: Easy Way To Find Out Like Which Items Don't Match Between 2 Files Regardless Of Order
Mar 15, 2011
I have following 2 files
File1
10.1.1.1
10.1.2.1
10.1.3.1
File2
10.1.3.1
10.1.2.1
10.1.1.1
Both are reverse of each other. Now, basically if you see, the contents are same, but in different order. Is there any easy way in which i can find out like which items dont match between 2 files, regardless of order. Lets say i add 10.1.4.1 to File1. Now the result of such comparison should be only '10.1.4.1'. Currently if i am comparing both files using diff, it gives me all the lines.
View 2 Replies
ADVERTISEMENT
Jan 28, 2010
I just started using the Ubuntu Netbook Remix (9.10 Karmic) a couple weeks ago. I've added my own and removed a few of the default icons in the simplified, menu-driven desktop interface. However, the icons are in the order in which they were added (particularly in the "Favourites" tab. How can I rearrange or sort these icons?
I've tried right-clicking the tab and desktop, but no sort option appears. I've tried dragging the icons to the desired spot in the window, but that doesn't work either. Is there a control panel in the "System" tab that will let me sort the icons, or is this not possible in the netbook remix?
View 1 Replies
View Related
May 19, 2010
I have been trying to configure a cyber cafe timer and I have so far tried Mkahawa and CCL. However the problem is following the instructions since most of them require you to be conversant with the Gnome commands..
View 1 Replies
View Related
Jun 9, 2010
I want to traverse a directory and get a list of files that contain a set of patterns. I assumed I could use grep for this, but I having trouble getting grep to only return files that match ALL patterns. Here's what I've come up with so far:
Code:
grep --recursive --file=searchpatterns.txt --files-with-matches somedirectory/*
However, this gives me a list of files that match ANY of the patterns in the searchpatterns.txt file. I want to match ALL of the patterns. I've looked through the man page, but can't find anything that allows me to change the "OR" to "AND" for multiple patterns.
View 5 Replies
View Related
Nov 20, 2010
I am having a heck of a time trying to find directions on networking my two computers together in order to share files. I have two machines running Ubuntu 10.10 Desktop & Netbook remix.
They are both connected to my wireless router to connect to the internet.
View 9 Replies
View Related
Mar 27, 2010
a friend created an IP address for me.where do I find the Host in Linux in order to put the IP address.
View 2 Replies
View Related
Jun 26, 2011
If I execute the following command:
cp -R /myfiles /mydestination
If myfiles contains several sub-directories and files, in what order will they be copied? For example, directories might be named 0123a, 9993c, myfolder, xfolder.
They are not copied in alphabetical order OR in date order OR in the order they appear when using a standard ls command as far as I can tell, so what actually does determine the order?
Edit:
I am trying to determine the order that the cp command uses in order to determine how far along my copy command made it before it stopped. For example, I was hoping to be able to determine it copied 3 of the 4 directories successfully.
View 1 Replies
View Related
Sep 25, 2010
If transfer all files under a directory by rsync, what is the order that rsync determines to transfer the files one by one?At first it looked like rsync transfers files in alphabetical order, but later I found rsync skipped some files in the first sweep through the alphabetic order, and then went back to transfer files that were skipped in the first time and this time still in alphabetic order.
View 1 Replies
View Related
Oct 29, 2010
Our organization uses OpenSuSE servers (NFS/LDAP/SAMBA/more...) and are in the works migrating all the workstations for users to SuSE from Windows as well.
I like how in windows the mapped network drives are all listed in My Computer. OpenSuSE has a similar "My Computer" that lists current drives, and general PC info (in KDE, which is what we use in the office). Is there a way to list mounted drives in here, so that users can easily find the network drives? I'm open to alternatives to listing it in SuSE's sysinfo page, as long as it doesn't mean telling my old school windows users, "oh yeah, all your network drives are in /mnt/shares/...they wont have a CLUE what that means. It HAS to be easy for them to navigate to.
My attached image is just a screen shot of SuSE's "My Computer" so you can see where I would ideally like to put the shares.
View 1 Replies
View Related
Aug 26, 2010
I have a china phone which has mp3 player and unfortunately it reads the file names in its memory card in sequential order according where the file is saved. The file system is NTFS. cod
**Note: DDD song was last because I saved AAA to EEE songs then later added DDD song
Then suddenly i deleted BBB song and replaced it with FFF song code...
This is kinda lame. but the OS of the phone has no capability sorting the file according to filename in its built in mp3 player.
my question is how can I sort the files sector by sector(is my term right?) so the lame mp3 player would read the files finally in alphabetically sorted order. I Will plug my phone on my PC
I am using ubuntu 10.4
View 1 Replies
View Related
Nov 11, 2010
I'm trying to find exact matches of some users in the /etc/passwd file using "grep -w", but it doesn't always work. For example, I have the following users:[URl].. So, let's say, I want to search for the user "stewart" (which doesn't exist)
[Code]...
View 13 Replies
View Related
Dec 20, 2010
Are there any quick and easy ways to find all of the dependencies required for a package to be installed, so that we dont have to spent a lot of time searching for each package or downloading them individually?
View 5 Replies
View Related
Aug 18, 2010
in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.
Is the same can be use for the date format YYYYMMDD ?
View 3 Replies
View Related
Nov 10, 2010
am trying to find a proper regex to match the two numbers in the following log entry.
Code:
15:08:16.142 INF Found 64468
15:08:16.142 ERR [Uniform test code=64469]
Basically the pattern I'm looking for will match the two different numbers spanned across two lines.Thought I need to use multi-line mode as follow but this doesn't match on [URL]...
Code:
/^($[0-9]{5}
[0-9]{5})$/m;
View 6 Replies
View Related
Aug 7, 2010
So I've downloaded a few random things using the software center but I cant seem to find them? The main one I want to access is installed but cant I find/access it. I downloaded a application finder but that hasn't helped at all? So how / where can I find them? Do I use the Terminal?
View 4 Replies
View Related
Mar 21, 2011
This solution works but is slow with large files. I am looking for a faster solution.
The 2 files contain filenames, one of them has associated data I want to append to the other file's matching filenames
file1:
file2:
I append file2 by matching the unique_filenames and appending them with the tag data and some formatting
appended file2:
Here is the SLOW code
while read inputline.
View 9 Replies
View Related
Apr 1, 2011
I need to install g77 in this distribution, but an apt-cache search won't find any match.
View 1 Replies
View Related
Sep 11, 2009
I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:
wc `find . ( -name "*.as" -o -name "*.mxml" ) -exec grep -H HeightResizableList {}` ;
View 10 Replies
View Related
Jul 15, 2011
Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.
View 2 Replies
View Related
May 23, 2010
I was playing around with the default panel that has the power icon (wrong lingo maybe) and the network/sound icons, etc.I deleted some items including the power icon and now for the life of me can't find it in the panel applets list in lubuntu.Is there a way to restore the default panel with the settings as when I first installed lubuntu.I also played with some spacings and other settings so would rather just get it back to normal/restore it vs add all the items back on and then play with the spacings again.
View 9 Replies
View Related
Jan 2, 2010
the VBO file that i want to burn into a dvd is around 7.9 gb. i want to know if it's possible to split them in order to burn the files into two diferent dvds.
View 5 Replies
View Related
Jan 25, 2009
I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"
View 1 Replies
View Related
Aug 22, 2010
This might not be the right place to ask this question, but it's software so I'll try this before going to Audio-specific boards. I have a bunch of MP3s (some ogg) with crazy names in crazy directories. I would like to make sure the tags are correct (possibly by hand) and then rename them/move them so that they are in places like
<artist>/<directory>/<songname>.mp3.
So I imagine a magic program where I can edit tags and then push a magic button that makes directories and copies the files as above. Any ideas?
View 3 Replies
View Related
Oct 21, 2010
I have the following query:
Code:
$sql="SELECT table1.datetime, table1.user_id, table2.ip, FROM table1,table2 WHERE id='$id' AND (table1.id = table2.id AND table1.datetime = table2.datetime)";
In table2 the datetime fields are about 1 to 2 seconds off due to the source of the data, which I cannot change.
Is it possible via a query match table1.datetime & table2.datetime by HH:MM (ie. to the minute instead of to the second)?
View 1 Replies
View Related
Jan 13, 2011
I need to install some module which needs to be interated into OS's.
It asks me: "What is the location of the directory of C header files that match your running kernel? "
I know that I need kernel-devel package and I installed this yum install kernel-devel after that I have this /usr/src/kernels/2.6.32.26-175.fc12.i686/include/
Now when I run configuration it does not work
Does it mean that I need to update the kernel so that it matches to the kernel-devel module available in the net?
View 4 Replies
View Related
Jul 10, 2011
Where can I get a good copy of Ubuntu desktop edition. I have a cd of Ubuntu 10.04 but it will not load on my machine. This same cd did load at one time on the same computer.Every time I download ubuntu and check the MD5 files they do not match.
View 2 Replies
View Related
Oct 5, 2010
I know I can do find . -type f, but that includes binary file and I couldn't find a way to exclude them with find
View 4 Replies
View Related
Dec 6, 2009
What is the best/easiest way to get ALL multimedia codecs both free nd non free so i can play all types of audio an video files? Like xvid quicktime, avi windows video files etc etc
View 2 Replies
View Related
Nov 5, 2010
I would like to compare two md5sum outputs to see if the files match. in my script I have
Code:
ORG_FILE="/path/to/org/file.zip"
NEW_FILE="path/to/new/file.zip"
MD5_ORIG=$(md5sum -b "$ORG_FILE")
[code]....
How do I get just the MD5 hash and not the */.... stuff so I can compare them. i tried Code: JUST_HASH=${$MD5_ORIG:0:32} but All I get is
dir_mon_notify.sh: line 79: ${$MD5_ORIG:0:32}: bad substitution
View 1 Replies
View Related
Jul 16, 2009
I'm writing a script using ksh that diffs two dirs that contain about 30 files, and writing the results on a logfile. When files differ, it writes the difference with no problem, but I also need the script to write a message if no differences are found.
View 3 Replies
View Related