General :: Find The Location Of The Files Listed Using Rpm -qa?
Feb 24, 2011
does any one have any idea how can I find the location of the files I listed using rpm -qa?
eg, 1 of the result returned from rpm -qa is yum-3.2.22-20.el5 how can I find the location of this program?
View 4 Replies
ADVERTISEMENT
May 18, 2011
just downloaded Ubuntu 11.4 and would like to know how to get rid of unity. I don't like the way unity works. it wont find files and some programs are not all listed and I hate the way it looks.is there a way to go back to the old Gnome desktop?
View 7 Replies
View Related
Dec 21, 2010
Since I see on my Centos 5 system, when using the Gnome Terminal, there is no 'Find' feature, do I use grep to search the output on Gnome Terminal?
I see grep syntax is:grep search-term file
But what do I use as the 'file' when what I want to search is the contents of the gnome terminal screen?If there is a good terminal program that does have a 'find' feature, let me know.
View 2 Replies
View Related
Feb 10, 2011
when a script in /etc/cron.d directory will be executed?. I know that scripts in cron.daily will be executed daily [ set in /etc/crontab file]? Cant able to find this directory listed in /etc/crontab file?
View 2 Replies
View Related
Jul 10, 2011
I am not an advanced Linux user. I have a VPS with 768MB of RAM running CentOS.I executed the lsof command as root and I see that there is a list of 3000 files. Usually, how many files should be there? My system is getting very slow, so is this list too long?How do I know which files to keep and which to close?I have seen that there are multiple copies of the same files with different PIDs. There are many log files in the list that I have not opened. Is this normal?total used free shared buffers cachedMem: 104287 492 103794 0 0 0
View 2 Replies
View Related
Feb 4, 2011
I have a file that is a list of other files, lets say FilesIWantToTar.dat. I want to say something along the lines of tar -c input-file=FilesIWantToTar.dat archive.tar or similar. Does the tar utility provide this functionality, or do I need to write a simple script?
View 1 Replies
View Related
Jan 20, 2011
I am using Cron for nightly backups to a usb device. I was just wondering in my script for the backup, how do I find the location of my usb device.
View 2 Replies
View Related
Mar 4, 2011
I am trying to find the location of a package on my linux machine. There are several commands that i have tried like 'rpm -ql kernel-headers-2.6.32-71.18.1.el6.x86_64' but this is no good.
I also tried the following command 'rpm2cpio kernel-headers-2.6.32-71.18.1.el6.x86_64 | cpio --list! But I get a msg saying "kernel-headers-2.6.32-71.18.1.el6.x86_64: No such file or directory"So I decided to download the rpm and when I tried to install it I get "package kernel-headers-2.6.32-71.18.1.el6.x86_64 is already installed"Is there any way I can find out the location of this file??? It is not in any of the /usr folders (bin, lib, lib64, include etc...)
View 14 Replies
View Related
Mar 7, 2010
How can I find the lynx location path on my server via SSH
View 2 Replies
View Related
Mar 26, 2010
Using rpm -qa | grep -i <pkgname> gives if a package is installed or not.
But, I would like to find out where a package is already installed i.e the location where a particular package is installed say /opt/<pkg>
View 2 Replies
View Related
Jun 29, 2010
We are on a vps with godaddy and i was just curious that where are all the .MYI files saved
View 1 Replies
View Related
Jan 30, 2011
I'm trying to install vmware tools in mint.
All goes well until I get to this -
What is the location of the directory of C header files that match your running kernel? [usr/src/linux/include]
When installing the vmware tools it says to just hit enter and the default will be used.
Hitting enter just keeps giving me the error message- The path "usr/src/linux/include" is not an existing directory.
View 14 Replies
View Related
May 11, 2011
I would like to delete the MySQL ib_logfile but do not know where the files are located on my machine. I am running the latest version of Ubuntu.
View 1 Replies
View Related
Jun 17, 2010
I'd like to move a selection of files from all the sub-directories within an overall directory to a single destination. I don't want any of the directory structure, just the files themselves. This is what I tried so far:
mv /dir1/*/igs*.sp3.Z /dir2
There are other .sp3.Z files in the * directories within /dir1 but I just need the ones that start with igs..
View 4 Replies
View Related
Feb 1, 2010
I need help to write a script to commit files to SVN from a defined location to a SVN folder (ideally with new folder).
View 1 Replies
View Related
Nov 22, 2010
#the file temp contain a path to a directory int the first line
a= `head -1 temp`
bash: /home/ram/linuxTraining/scripting/testDir/test1Dir/test2Dir: is a directory
View 4 Replies
View Related
Dec 5, 2010
I have managed to write a bash script that moves files to the recylce bin instead of being deleted. Then (with a bit of assistance) wrote another bash script that deletes the files from the recycle bin. Now I need to write one that will restore the files preferably to their original location? I am very new to linux and stuggling with where to even begin...any ideas? There seems to be some advice about creating a cloning tree, but I've never heard of them?
View 8 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
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 24, 2010
I am using redhat linux enterprise linux 5, how to find out the linux kernal version and kernal configuration file location .
View 2 Replies
View Related
Jul 26, 2010
i just upgraded to ubuntu 10.04 the netbook distro. at the desktop view there is a list of about 10 buttons/menus listed on the left hand side, is there anyway to control what buttons/menus are listed and which icons are listed under each of them? having a netbook i would like to remove and unclutter the desktop view as much as possible but i dont want to remove those apps i still want to be able to open those apps if i want to even if by removing those icons and menus/buttons makes it a pain.
View 1 Replies
View Related
Feb 20, 2011
Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.
Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.
View 5 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
Nov 2, 2010
Using a terminal shell and entering ls -l, all the files in the user /home/user1 appear with a green block background. The files in /home/user2 have standard Linux colors. What does the green block mean?
View 1 Replies
View Related
May 26, 2010
Through various Windows reinstalls and switches within Linux distros, I have a massive amount of duplication within my music archive (on the order of 7+ dupes of each file). Now, I found a lovely program called "fdupes" and was able to build a list of all the duplicate files, and I'm trying to use "xargs" to remove then. However, when I try and run the command "xargs -0 --arg-file="dupes.txt" rm" or "xargs -0 rm < "dupes.txt"" it give me the following error: "xargs: argument line too long".
how perhaps a different way of accomplishing the same thing?
View 9 Replies
View Related
Jun 14, 2010
I've got a text file listing 1823 files that need to be copied from their current locations, i.e.To another folder, any idea how I should do this?
View 4 Replies
View Related
May 5, 2011
I use Apache 2.0.55 (Ubuntu) as a document server for a business association. When the document files expire, I change the permissions so that only the owner can open them but I like to leave them on the server so that they are all in one place.
Here is my trouble--when visitors come to the site and get the directory listing, all the document files show up, whether the visitor can access them or not.
Is there some way to configure the server to not show the inaccessible files?
I guess a few technical details might help. During their useful lives, the files permissions are set to 644. Once they expire, I change them to 600. After the change, the files are still visible. Setting them to 000 doesn't help either.
It might be of note, but directories behave differently than files. If I set a directory to 600, it disappears from the listing.
View 2 Replies
View Related
Apr 15, 2010
I've got a text file with a list of .gz files, these .gz files are in various sub directories of one parent directory and I've hacked this little script together to copy them from their current location to a new one and spit out any it can't find to "/home/user/not_found" but for the life of me can't get it to run properly!
The shell script as it currently looks:
Code:
View 4 Replies
View Related
Feb 23, 2011
I just installed the xubuntu-desktop package on my netbook (running UNR), and I've got one major complaint about xfce.
I can't right-click on icons in the Applications menu and add them to the launcher!Instead I have to know the location of the executable for the application, so that I can right-click the panel, add a launcher, and then type the location of the executable in and manually select an icon for it...Of course it probably wouldn't be a pain if I could find everything. In Windows, if I want to know the location of a program that's running, I just open Task Manager, right-click the application, and select Properties.
Is there some equivalent or command-line way of finding the location of a running application in Linux?
A few I'd like to know the location of are:
1) Gnome System Monitor
2) Terminal
3) Swiftfox
... and I'll probably think of others.
Even though I'm using XFCE, I figured this fell under the "all variants" category since my main question is just how to find the locations of executables...
View 7 Replies
View Related