General :: How To Find All Files Not Part Of Installed Distro
May 19, 2011
I loaded a distro (which does not seem relevant) onto my laptop and used it for a while. Applications did whatever they do creating and saving files. I know that I have images and documents and videos and music and such on the laptop among other non-distro data files. Is there a simple (straightforward) way to identify which files on disk are NOT part of the installed distro? I know how to use find. I know that find lets me locate files based on some date-time-stamp. I know, too, that I can use any selected file as a benchmark date-time instead of some specific command line string.
For example:
Code:
Find files whose modification date is before (or after) the date(s) associated with the file /path/foo.bar.
Is there any one file that I could use to peg the distro install date? Can I get that date from somewhere else like a file system details?
So I start up a Server and it ends at the console.I enter the username/password. How can I find out what Linux distro this is version etc from the command line.
I have two distros and windows installed. I only want one distro (I have decided on Ubuntu) and windows. But, the other distro, the one that I want to eradicate is the last one installed and it is its GRUB in the MBR.
I know what happens from experience if I just delete that partition with a liveCD - GRUB won't boot anything on reboot.
What do I need to do from within Ubuntu or the other Linux before deleting the partition of the second distro so that I have a working GRUB when I reboot ?
I have been using Linux for quite a while and have gotten pretty good at it, but recently I started using Backtrack in a VM and realized I have no idea what it is based on. Then I got to thinking I have no idea what that even means. For example, OSX is based on Darwin right, but what does that mean? Ubuntu is another that is based on Debian, but I don't know what that means.
The reason I'm asking is because in order to get my screen resolution and networking right in Backtrack I need to know what it is based on so I can download the proper packages to install the VirtualBox guest additions, and I have no idea. Is there a way to get this information from the operating system? Maybe uname -a is giving me the info and I just don't know where to look in the output?
From this directory, I want to know how I could use grep to display files based on part of their filename - for example those starting with "Account" or those ending in ".sh".
I am trying to uninstall the packages that were installed as part of kubuntu desktop. I have gotten ~3 quarters of them, but didn't know if there was a better way than trying to pore over synaptic.
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:
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.
I didn't delete the whole panel, but just the bit where it shows icons of currently running programs. So now when Ktorrent, Kalarm or Desktop Drapes are running I can't see their icons on the panel and I can't find how to add the thing I've deleted from the "Add to Panel" menu. Anyone know how to get it back?
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"
Is there a way to update my distro with a newer version and not disturb saved media files? Music and pictures etc. Can I move them to another partition. Its there a better way than to save it to disk?
I am trying to compile an android project, which requires GCC-4.3(mandatory, GCC-4.4 doesn't work). So I downgraded the gcc-4.4 on my ubuntu 10.04 to gcc-4.3.
But then the compiling process doesn't work. It says: cc: command not found make: *** [...] error 127
It's weird that the shell can't find 'cc' while I do have gcc-4.3 installed. I've tried type the following command: export CC="/usr/bin/gcc-4.3" but I don't know what's it for.
Fedora 14 xfceI have installed a package using yum install package-name.However, I can't seen to find out where it has been installed to.Is there any command that will tell me what directory the files have been installed to?
I just ordered a new desktop computer online, with an i3 processor and a nVidia GeForece graphic card. Its going to take a few days to ship so I thought I would research and find the best distro to install on that hardware. I've been using fedora for years on my laptop and I've never had a problem but now with the i3 I dont know which distro would be best to install.
I'm using Core 2 Duo. So, from Intel website I found that it is 64-bit architecture CPU.
Long back I've installed Ubuntu OS on this machine. But I'm not sure if I installed x86-32 or x86-64 version of Linux. I want to know which version of Linux I'm using. How to know that?
I'm installing LoL using Wine and I can't find where setup has put the files. When I type "wine lol.launcher" it says "wine: cannot find L"c:\windows\system32\lol.launcher". For that matter I can't find where the setup program has installed any of the LoL components
I'm trying to extract .part files. These are mac extensions similar to .rar or .zip. I need to extract a whole bunch of them simultaneously. Theyre probably registered in sequence just like .rar files. What program can I yum install or where should I look to extract these to what will probably be an ISO.
Is there a way to find out with what options a library was configured with when it was installed? I am trying to install a library on my system that depends on gasnet and it requires me to configure it with the very same options that gasnet was configured with. Gasnet was not originally installed by me, so I cannot tell. I can see bin/, include/, lib/ and share/ directories in the gasnet folder and no other information in it. To be specific, I need to use the same CFLAGS that were used during installation of gasnet. For example, if it was installed using '-g -O2', I have to make sure I use the same CFLAGS here.
I am using Slackware 13.1 with the uname -a output:
Quote:
Linux darkstar 2.6.33.4 #2 Thu May 13 00:27:45 CDT 2010 i686 Intel(R) Atom(TM) CPU N450 @ 1.66GHz GenuineIntel GNU/Linux
When the binary smbpasswd is executed it gives the following output
Quote:
smbpasswd: error while loading shared libraries: libwbclient.so.0: cannot open shared object file: no such file or directory ldd /usr/local/samba/bin/smbpasswd has this output
-how do i find out what the sound application is used to play sound files? -how do i find out what sound player is installed? -sound application use to play the sound files.
....right its installed on my pc but im also goin to install kismet(ubuntu9.10) on my laptop. will it be the same?
For every program I've installed, I can see an icon in the applications menu. But, I'd like to be able to find the actual icon so I can use it on panels and such in gnome.
Is there a standard place where icons from the applications menu are found?
I just used dd to clone a linux partition to a new hard drive, it had 800mb left on the old hard drive, after dd, new hard drive lists 1.29/1.3 terabytes full. Is this what happens by default in dd? How can I fix this?