Red Hat / Fedora :: How To Find / Locate It
Apr 9, 2010I would like to know if I want to vi /proc/sys/net/ipv4/ip_forward, but assume that I don't know the path of ip_forward, is there a way to tell where is it?
View 3 RepliesI would like to know if I want to vi /proc/sys/net/ipv4/ip_forward, but assume that I don't know the path of ip_forward, is there a way to tell where is it?
View 3 RepliesWhy there are two so similar command in Linux? and normally what are the circumstances to use each of them?
View 2 Replies View RelatedI was trying to find and run the program from command line like calculaterbut i was unable to do these two thing togethet.i can find the path seperetly or i can find and run the program without seeing the pathI want to find and see the path and run it at the same time?
View 6 Replies View RelatedMy goal is to find all pdf files on a remote machine, so I resort to the useful command find. So I type find .pdf or find .pdf" and I get nothing. I do the same on my machine and I get nothing. I do a regular search from the menu on my machine and I find quite a few pdf files. Would somebody please tell me what am I doing wrong?
View 5 Replies View RelatedKernel 2.6.21.5, Slackware 12.0
Just after the booting process is finished, running ps I get this:
Code:
As you can see, there are a lot of names beginning with the letter 'k'. Are these processes needed for the GUI to be fully functional when it is run (X Window System + WM + Xfce4)? And can I setup the system such that they're never run?
The reason for this question is that I am testing some programs and need the CPU to have as little time stolen as possible.
I have a ton of files that are timestamped directories. These all look like2011-06-24_13.53.36 // a directory name for june 24th, 1:53:36 pmI have thousands of these directories. I want to do operations on some of the older ones. Let's say I give it a string for date time that matches that exact format, like i'll give it2011-06-25_00.00.00 // june 25th, 12amI want to find all the directories BEFORE my time. So if i give the string for 12am on june 25th, i want to find all the directories before then.If not i can find EVERY directory i have like this and then filter after wards. The created/modified dates are not tied to the actual timestamp im looking for (that would make this easier)
View 2 Replies View RelatedI tried to tag late onto a question similar to mine on stackoverflow (Find Non-UTF8 Filenames on Linux File System) to elicit further replies, with no luck so far, so here goes again... I have the same problem as the OP in the link above and convmv is a great tool to fix one's own filesystem. My question is therefore academic, but I find it unsatisfactory (in fact I can't believe) that 'find' is not able to find non standard ascii characters.
Is there anyone out there that would know what combination of options to use to find filenames that contain non standard characters on what seems to be a unicode FS, in my case the characters seem to be 8bits extended ascii rather than unicode, the files come from a Windows machine (iso-8859-1) and I regularly need to fetch them. I'd love to see how find and/or grep can do the same as convmv.
[Code]....
Forever I've been able to use "locate" to find files, but now it finds NOTHING at all and I have no clue why.. I tried apt-get install locate and it installed it, but it's not working in bash.
View 5 Replies View RelatedI am running a version of Fedora 10 on my PC for development puposes. The strange problem I have encountered is that I cannot locate the C compiler being used. I have looked for G++ GCC, etc but cannot find it. Does anyone know the compiler being used or the command to find it through command line.
View 5 Replies View RelatedOS: Fedora 11, x86_64.Are there means to nice the 'locate' processes setroubleshootd spawns?I am using Fedora 11 on a server with large number of files, SELinux is currently in permissive mode, and setroubleshootd periodically spawns processes running 'locate', it gobbles up CPU time.I haven't found any clues in setroubleshootd config file.Nothing in its logs, either.Is there a way to shut setroubleshootd in Fedora 11? There is no such service any more, and the way 'locate' works makes everything quite slow.
View 1 Replies View RelatedAm looking to visit a site that requires shockwave player. Firefox cant seem to locate a plugin neither does yum.
View 8 Replies View RelatedI usually upgrade using the network install CD image. However, I cannot locate one for F14. Is there one? If so where? If not, should I just wait for it? I recall that the F13 network install came out awhile after the F13 release.
View 2 Replies View RelatedI am using Oracle Enterprise Linux version 4 update 7.
Sometimes I have to access large files with thousands of lines in them and I would like to locate a particultar word. e.g.
vi /etc/passwd.
The contents of file passwd are displayed.I want to find a username of joe assuming the passwd file is 2000 lines long.
I would like to use a linux command that will locate joe and highlight in the passwd file as to where word joe is.
Is there a linux command that can do this?
I was trying to install Lingua-EN-Fathom when I got the error:
Can't locate ExtUtils/MakeMaker.pm
Then I try to install ExtUtils-MakeMaker. The Makefile.PL works fine but when I do "make", I got the error:
make: *** No rule to make target `/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/config.h', needed by `Makefile'. Stop.
I know there is a command that will show what rpms are installed on a machine that are no longer available in a yum repository, but I can't remember what it is! It is useful to identify packages left over after an upgrade that are no longer needed, or to identify third party software.
View 2 Replies View RelatedAfter installing Fedora 14, following error messages appear at boot:
Code:
shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash
for files in /home/user/*
do
[code]....
I did recently install aria2 and everything installed smoothly. but i am not able to locate it. I know it will be in the applications->internet but its not there.
View 7 Replies View RelatedPurchased Toshiba Satellite laptop L505D-S5983 November 30, 2009. Separated partitions and inserted Fedora 11 disk. Computer responded and asked question regarding what I wanted to do and I selected install. Answered question regarding English, US, then response given "Cannot locate drive" --> now need to manually select drive among myriad of drives listed.
The CD-ROM component in my computer is the HL-DT-ST DVDRAM GT20F ATA Device.
Manufacturer value states "(Standard CD-ROM drives.
I've got a vmware install of Fedora 12 running as a server. This install has the /etc/sysconfig/network-scripts/ifcfg-eth0 file configured with the proper info and the service has been restarted. When I run ifconfig I only get the loopback interface, when I run ifconfig -a I can get the eth0, but without the pre-configured ip address. When I enter ifconfig eth0 up I can activate the interface, but without the afore mentioned ip address. I need to be able to yum ssh, install it, and run it with rsa keys. Can do none of this without an interface obviously.
View 3 Replies View RelatedI installed acroread on my 64-bit Fedora 11 and when I try to run it, I receice the message,
Quote:
HTML Code:
Quote:
I have a Dell Inspiron 1420 laptop running on Windows 7, I just download the iso file for Fedora 14 desktop edition, the live media download, and burned it to a new CD-RW, I can't seem to locate the file I need to boot it.
View 11 Replies View RelatedNew Toshiba satellite model L505D-S5983 used for Fedora 11 install. Install dvd and computer responds with what do you want to do...I enter "install"begins uery.. English-->US---then "unable to locate driver"/select driver...."What driver do I need to select or obtain?
View 1 Replies View RelatedCode:
Missing components:
Is there a package that I can install that will satisfy this dependency? I am unable to locate anything other than the source here and here, but I'm also unsure if this is even the right package or if source this old is what gopdder is asking for. I'm looking for a package.
I did check the manpath and the files located there.just seems that some pages are missing.
View 8 Replies View RelatedI was trying to install vmware player 3.0 and it prompt that it require the kernel kernel-2.6.35.6-45.fc14.i686 to be compile before it start.
Quote:
Kernel headers for version 2.6.35.6-45.fc14.i686 were not found. If you
I try following but unable to find.
Code:
Nothing to do
Code:
Code:
Then I try to map to the file, but not working.
# mlocate
bash: mlocate: command not found
and
[code]....
I downloaded the iso file from fedora's official site and copied the iso to my pendrive to be able to install Fedora through pen drive i downloaded Universal-USB-Installer-1.8.1.5 and used it locate the iso file in my pen drive after Universal-USB-Installer-1.8.1.5 did its job, i booted my pc and proceeded to the installation there was a 'install on hard disk option' and chose it it asked me for a new password, my location etc. but when i chose the install option it prompted me an error saying that i dun have enough space to install fedora.how do i locate my drive during installation , so that i cud install it on my desired drive.it shows me two options, one is the pendrive while the other is "AMD something."(dun remember the exact name") whenever i select on the AMd.it gives me an error saying that i dun have enough space..
View 3 Replies View RelatedI am working on perl and I am stuck on tk.pm on fedora 12. It work fine on window 7. here is my code.
#!/usr/bin/perl -w
#
use Tk;
I did search on google and try diff ways, but still get the same result
Anyway, the issue that I am having is that when running GDB, the program will execute perfectly fine if I allow it to run without breakpoints if I skip stepping through the function using the 'n' command, but it will provide me with the following error if I try to step through it:
35 srand( time(NULL));
(gdb) s
time () at ../sysdeps/unix/sysv/linux/x86_64/time.S:32
32 ../sysdeps/unix/sysv/linux/x86_64/time.S: No such file or directory.
in ../sysdeps/unix/sysv/linux/x86_64/time.S
This happens not just for time() but for every function that would be found in the included libraries.
I included stdlib in the code, and in fact this code works perfectly fine on another system using Ubuntu 10.04 and GDB. The source paths are identical between these two machines as well ( $cdir:$cwd ).