Debian :: Use The Find Command To Search For Devices Files?

Mar 23, 2010

I've got 2 problems:1. How can I use the find command to search for devices files?2. I need to find all files thaare 6 months (or more) old and that have a size of 2 Mo or more. What would the code look like?Oh and also, how can I use the cat command to insert text in a file?

View 2 Replies


ADVERTISEMENT

General :: Case Insensitive Search From Find Command?

Apr 29, 2011

I am not able to figure out how can I do case-insensitive search using the find command.

I tried

find . -name -i pattern

And it does not work.

View 2 Replies View Related

General :: Find Command \ Search File Excluding The NFS?

Jan 20, 2010

I want to search file excluding the NFS ...find / -mount -name 'filename' restricts the search only in the root disc partition,but the file can be in other partitions alsoIs there any way to exclude the NFS only.

View 2 Replies View Related

General :: Find Command To Search Wildcard In Path?

Dec 8, 2009

I need a command to search for any file in a directory like so:

/home/*/upload/* and then change permissions any file in that directory.

Find doesn't seem to match what I need.

View 12 Replies View Related

General :: Using Find Command To Search For All Pictures, Or All Music?

May 17, 2010

Trying to find a way to have the find command perform a search using multiple file extensions such as "find all pics" i.e. .jpg, .png, .gif, .raw etc. I would have thought something like the following would have worked, but apparently I'm doing something wrong:

sudo find / -type f -iname "*.jpg" "*.png" "*.gif" -printf

I'm guessing find simply doesn't support more than one "-name/-iname" at a time? Or perhaps I'm going about this the wrong way? I realize most times there's several different ways to skin a cat when a task is requested in linux/unix.

View 5 Replies View Related

Programming :: Find Command To Search For All The File In The Particular Folder?

Aug 2, 2011

how to use find command to search for all the file in the particular folder?my script as below

find . -name "*" > $BASE/file
if [ `more file | wc -l` -gt 0 ]; then
echo "dp"
fi

output of my results will always include a . (dot)which I dunwan it include the dot.

View 11 Replies View Related

Ubuntu :: How To Find Mountable Devices And Their Device Files

Nov 22, 2010

I want to know How to find mountable devices and their device files in Linux.

View 4 Replies View Related

General :: Command Line - Find External And Internal Devices Attached To A System?

Feb 24, 2010

How can i find through terminal that which devices are external and which are internal.

By external i mean devices attached to USB port. For Example, USB Drive, Portable USB HardDrive etc.

By internal i mean devices attached internally. For Example, SATA Harddisk etc.

View 2 Replies View Related

General :: Find Command When Loggin As A Normal User And Search For A File Passwd Under?

Dec 25, 2010

when loggin as a normal user and search for a file passwd under /etc. i get few errors with permission denied.how to ignore this permission denied errors.

csh hostname 109 % find . -name passwd
find: ./lvm/backup: Permission denied
find: ./lvm/archive: Permission denied

[code]....

View 4 Replies View Related

Ubuntu :: Search Files Containing A String / Grep Command?

Sep 1, 2011

how to search for those files which contain word "AM_COLLECTION=22". I need to know all the files with this string. ( I know the grep command can do it but either

View 4 Replies View Related

General :: Search Word In Group Of Files Using Command?

Oct 10, 2009

i am using openSUSE 10.3 & like to use power of terminal to do tasks.I want to search all files containing word 'echo' in given folder.What should be command.

View 14 Replies View Related

Programming :: Web Development - Command To Search String Through Files On A Server?

Apr 8, 2009

I am web developer I have this command find . -exec grep "Improve your score" '{}' ; -print for searching through files . I found this command but now i would like to tweak it to gain more out of it.

View 2 Replies View Related

Debian :: Gnome 3 Search Doesn't Find DropBox

Mar 6, 2016

The searchfunction in Gnome 3 does not find the files in my DropBox. When searching it does find the DropBox folder, but not the files contained in them.

Dropbox folder is placed in /home/myusr/

All other subcontent folders in the home directory does show up in gnome search,

Went through Google and DuckDuckGo but was unble to find out how to manually change the places that the searchfunction indexes.

View 0 Replies View Related

Debian :: Why Apt-file Search Wx-config Not Find - Lenny

Dec 31, 2008

How apt-file works.

Background: I (like somebody else) needed to figure out which package wx-config is in.

Code:

Question: Which package makes a link?

Also why wx-common NOT depends on libwxgtk2.6-dev.

View 4 Replies View Related

General :: Find/grep/wc Command To Find Matching Files - Print Filename And Word Count?

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

General :: Command Line - Use Find To Find Text Files?

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

Debian :: How To Find Out Mounted Devices Loaded At Boot Time

Apr 20, 2010

I am trying to find out the command to list all the devices mounted at boot-time.

View 5 Replies View Related

Debian :: Apt-cache Search Won't Find Any Match - Install G77 In Squeeze / Sid?

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

General :: Find Setuid Files Using FIND Command?

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

Debian Configuration :: Built In Bluetooth Adapter Doesn't Find Devices

Oct 12, 2015

I've followed the guide at URL.... but my computer is unable to find any Bluetooth devices. Whether I'm using the command line or gnome-bluetooth, I don't get any results. If I plug in a cheap USB adapter, I'm able to connect and use the devices.My computer is a HP ProBook 4330s running Debian Jessie. And as far as I can tell the Bluetooth adapter is a Ralink rt3592 combination Wi-Fi and Bluetooth PCI card. The Wi-Fi works fine, but when i try to connect to a Bluetooth device, I get no search results.

View 9 Replies View Related

Debian Hardware :: No Sound In Squeeze / Volume Control Cant Find Devices

Jun 20, 2011

In my last installation of debian (Squezee unstable), i dont have problems with the sound.But with my new installation of squezee, when i tried to activate the volume control (With the gnome applet), the system told me this (Aprox):Volume control cant find devices to control. You dont have the correct addons of Gstreamer or sound device configurated

View 14 Replies View Related

Ubuntu :: Find Command Does Not Find All Files?

Aug 9, 2011

The find command does not seem to find all files in my directory hierarchy. My home directory is automounted from a server. The command to illustrate this is:find | sed -e 's/^.///' | sed -e 's//.*//' | sort -uThe result misses several directories. Likewise, a find of a particular file, like:find . -iname *sample* -printwhere sample_file.txt resides in one of the directories that is missing in the first find command, finds nothing

View 4 Replies View Related

Programming :: Command For Find/Replace In Text Files (inc. Files In Sub-folders)?

Oct 11, 2010

I found this command that works great finding and replacing a simple string to another in files located in that folder and all sub-folders.

Code: find . -name '*.php' | xargs perl -pi -e 's/OldText/NewText/g'

The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.

View 1 Replies View Related

Debian Configuration :: Finding A Command That Can Search For New Usb Hardware Without The Described Procedure?

Mar 15, 2011

I am using NetworkManager Applet in Gnome to connect to the internet with a 3G modem. After last update few days back it changed the way it was recognizing the modem. I used to click on the NetworkManager Applet icon on the notification area and choose my configured mobile connection from the list. Because, as I said, I am using mobile broadband connection and I have to check via SMS my usage in order not to overcome the GB I am supposed to use (to avoid overpriced charge). In order to use Wammu to send/receive SMS I have to close the internet connection by right clicking on the NetworkManager Applet and uncheck "Enable Mobile Broadband" otherwise Wammu can't use the usb dongle because it's locked by the internet connection. Up to this point all is working exactly the same. Except when I uncheck the "Enable Mobile Broadband" the NetworkManager Applet disappears and I can only get it back with a reboot. Also I tried clicking on the applet and choosing "Disconnect" from the menu. The applet stays there but there are no more options for mobile connection. Only wired connections and VPN (whatever that is). In this case if I disconnect and reconnect the usb dongle it recognise it again. So my question is: Is there a way to make NetworkManager Applet to always stay aware of the usb modem without disconnecting or rebooting? Or at least is there a command that can search for new usb hardware without the described procedure?

View 6 Replies View Related

Ubuntu :: Desktop Search Dead \ Trying To Find A Good Desktop Search Tool?

Jun 16, 2011

I'm trying to find a good desktop search tool. Beagle is dead, Recoll and Strigi are KDE, and Tracker is not many features (can't even search Thunderbird 3). Do I miss something? Is desktop search on Linux dead? Should I use Google Desktop Search instead

View 2 Replies View Related

Programming :: Way To Find Core Files In System With Out Using "Find" Command

Jul 30, 2010

Is there any way to find the core files with out using the FIND command?

View 1 Replies View Related

OpenSUSE :: Find Files In 11.2 Without Using The Command Line

May 25, 2010

How do I find files in opensuse 11.2 without using the command line. I see in dolphin "nepomuksearch", but it doesn't work. Even in the command line you cannot whereis a file like Monday, Monday.mp3. whereis also seems to be case sensitive.

View 5 Replies View Related

General :: Find Command In Locate Pdf Files?

May 25, 2010

My 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 Related

Ubuntu :: Find Multiple Files In The Command Line?

Mar 2, 2010

command line, I have a server for work that I ssh into and I need to be able to find multiple files (they have the leading text just the date identifier changes) and then zip the files (with bzip) them and then finally scp(Secure copy) them to another server.

These files are always in the same directory and this is a daily task and just want to make into a script that I run once I am logged into the remote server.

View 4 Replies View Related

Ubuntu :: Command Used By Admin To Find Hidden Files?

Aug 15, 2010

What linux command would an administrator use to find all hidden files on a Unix/Linux server that were generated during the last week?

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved