Ubuntu :: Where To Find A Specific File
May 14, 2011I want to know where to find a specific file in Ubuntu. I have the file name but I don't know where to place it to bring up the file.
View 9 RepliesI want to know where to find a specific file in Ubuntu. I have the file name but I don't know where to place it to bring up the file.
View 9 RepliesMany folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
View 5 Replies View RelatedI know that every .desktop file comes into the Applications section but how can I find the .desktop file for a specific application?
View 5 Replies View RelatedI'm using bash under Ubuntu.Currently this works well for the current directory:catdoc *.doc | grep "specificword" But I have lots of subdirectories with .doc files.How can I search for, let's say, "specificword" recursively?
View 2 Replies View RelatedI have the tar file of glibc-2.12.1, but now I want to edit the SPEC file. I can't find it. For those that want a "why", I'm trying to make it smaller. So simply, where is the SPEC file for glibc? (rpmbuild cannot find it in the *.tar.gz file).
View 4 Replies View RelatedIs there any way i can find a file with specific word inside it.For example if i want to find a file which has some text written inside it.How would i form a command to search them?
View 5 Replies View RelatedI have a file with tens of thousands of lines. I need to remove specific letters eg eggs, from every line that has the letters in it. Is there a command which can help me do that easily?
View 4 Replies View RelatedRunning 9.10 - What brand and model of webcam would you suggest, also, what software? Just about everything I find in the catalogs is a MS specific.
View 3 Replies View RelatedIs it possible to find programs that were installed on a specific date or within a specific date range? If so, how?
View 6 Replies View Relatedhow can i find on a linux system the processes that are using 8080 port (ex a web server)
View 2 Replies View Relatedhow the "-prune" option works. I've searched quite a bit on line, and as far as I can tell, "-prune" works exactly the opposite as it says.
I'm using Apt-proxy, and I want to scan through the folders, and find files that end with "*.bz2" The problem is that the search takes a while because of all the "*.deb" files. Fortunately, they're stored in their own folder:
/var/cache/apt-proxy/ubuntu
/var/cache/apt-proxy/ubuntu-security
/var/cache/apt-proxy/partner
each have two folders:
[Code]....
I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.
View 4 Replies View RelatedI used a script that renamed my file eg 'echo webutil.olb | tr [A-Z] [a-z]' i wanted to rename it back to webutil.olb. How do i do this for many other files that i have
View 3 Replies View RelatedI'm trying to write a bash script which will find files then move them to a specific directory.
So far I have:
Code:
#!/bin/bash
#script to find and move files
src_dir="/path/to/source/directory"
des_dir_mov="/path/to/destination/directory/for/movies"
des_dir_img="/path/to/destination/directory/for/images"
find $src_dir -iname '*.avi' -type f -exec mv '{}' $des_dir_mov ';'
I'd like to have all the possible movie file types then the image file types checked in a loop.
Every time I try to include an array in this script it breaks
Elsewhere is my question about 11.3. I have had to abandon that and 11.3 as my RAM is too small. Now, for the first time in many years, I find it necessary to extract specific data from received .pdf files. According to OpenOffice, editing of these files is only possible from version 3.2. My concern is whether this later vesion will be compatible with 11.2.OpenOffice installed is 3.1.1.4-1.1.4-i586. The same question has been directed to their Forum.
View 9 Replies View Relatedtell me the command used to find a specific word in directories and sub-directories in linux?
View 4 Replies View RelatedI need little help. I want to find all files with extension "*.tar" "*.gz" and "*.zip" and move all those files into "/opt/old" directory. I've tried this command:
Quote:
find . -type f -name "*.tar" "*.gz" "*.zip" -print0 | xargs -0 -r mv /opt/test
It's not working, something wrong after "mv" i guess.
How do you find a file modified March 17, 2010, between 3:30 pm and 4:05 pm? I know that I must be missing something somewhere.How do you search for info like this? I goggled "search files time Linux" and got about 38,300,000 results. I looked through the first four pages and did not see what I was looking for.Do I need to calculate how many minutes ago that is and give that to find.I really want to do this in the GUI so that I can operate on the files found without typing in so much stuff.
View 1 Replies View RelatedI have this problem, that I want a specific .exe file to open in Mono, but all other .exe files to open in Wine.
However, the only option there is, are 'Select an application to open XXXX.exe and other files of type "DOS/Windows executable"'
but I just want to open THIS .exe file in mono, and the rest in WINE.
I have been in similar situations before, in that I opened a folder containing music with VLC, and it worked fine, but after that, it assumed that I wanted to open all folders in VLC.
I assume that there must be an option for this, and I can not see why it ain't an option by default.
(I'm using Ubuntu 10.10)
I am using Ubuntu 11.04 - the Natty Narwhal with GNOME 2.32.1. I want to change icon of specific file type (like all files having .py or .pl extension). I Google it and have tried all the possible methods but nothing works
View 1 Replies View Related3) Open a terminal emulator (xterm, konsole, whatever) and cd to the folder you downloaded the PyLotRO source code to.
Anyone know what exactly that means? I can understand all of the rest of the download instructions, but it appears cding to a folder draws me a blank. I cannot find "cd" listed as a specific command either 8(
am new to linux and trying to find a file in sub directories using find command as:find .-name *.jpg -type fBut I am unable to get the result as find command is not permitted by the server administrator.Is there any way to find files without using find command.
View 14 Replies View RelatedI want a list of all my mp3 files (or any other kind of file, actually) telling me HOW MANY OF THEM I have in my computer.I tried with both find and locate commands in terminal, but they don't tell me how many files I have.
View 2 Replies View Relatedwant to know if Ubuntu provides a command to search for a command having a specific word.e.g.If I know a command contains editor as a substring but don't know exactly what the command is,then is there a way to find that command or the list of commands having editor as a substring.
View 1 Replies View RelatedHow do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies View RelatedIs it possible to write ksh script in the spec file? The target is after I perform
rpm -i my_rpm.rpm
According to the spec file, ksh script will do some installation & configuration. For example run other script and edit some files.
I need to copy a file into a Flash memory which is connected to my computer via USB. The file must start at a specific sector.
Can anyone guide me how to do this? (it can be through a C program, a line command, or any other way)
i have created a file (by root user) called test.txt. Then i created a user bob. Now i want only bob to read/write/execute this file and no other user shall have any permission on it.
View 3 Replies View RelatedI have a dir (pub_html) with 45 sub dirsand in each there is a file with name file123.html) what command can I use to rename all files with this name in all sub dirs to file456.html ? I'm on opensuse 11.3
View 14 Replies View RelatedI want to monitor all messages of a specific log file using Zenoss Core. How can I do this?
System :
Centos 5.5 (x86)
Zenoss Stack 3.0.2