Computers

NetRecon 1.78 Released

LXer - Tue, 2010-09-07 13:02
Netrecon 1.78 has been released. New in this version is experimental passive scanning, arpsniff and now a integrated front end to all of netrecons programs. A lot of the syntax has been changed up. This should be the last of the major changes as 1.80 (the hopefully gold) release is approached. I also dropped the second n on the name. Lets see how long it takes before the lawyers call....
Categories: Computers

Finding Files with locate

Devnet's Blog - Tue, 2010-09-07 12:52

Many Linux users use the ‘find’ utility when searching for files using the command line on their system. They’ll do a simple:

find / -name 'pattern'

Really though, the power of find isn’t just in finding names of files but rather specific details about those files. For example, if you wanted to find files which are writable by both their owner and their group:

find / -perm -444 -perm /222 ! -perm /111

or perhaps find any file that’s been altered in your Download directory in the past 24 hours:

find /home/user/Downloads/ -mtime 0

As you can see, the find command is very versatile and can be used to find an array of different attributes of files.  There are times though where I’m just looking for something and I don’t want to have to wait for the command to scan the entire directory tree in order to track it down.  That’s where locate comes in with quick and simple results.

Using the Locate Command

Using the locate command can only be accomplished if you install the mlocate package.  Most major distributions have this available.  If not, head over to the mlocate homepage and install manually.  Once that is accomplished, you’ll need to manually run a command to index your filesystem with it…otherwise, you’ll have to wait for the command to run automatically as it registers with cron to do so on a system level.  Open an terminal and change to your root user, then execute the following:

updatedb &

This updates the mlocate database that indexes your files and forks it to the background (the ‘&’ forks it to the background).  You can now logout of the terminal as root and the process will quietly work in the background.

After the command completes, using mlocate is as easy as using the locate command:

locate firefox | less

The command above will look for all files with firefox in the name and pipe the command through less so you can use the spacebar or enter key to scroll the file buffer.  Of course, the reason we pipe it through less is because any file that resides in the ‘firefox’ directory will be reported in the output.  While this tool isn’t as granular as the find command, it is a quick way to track down paths, directories, and files you know should exist.  Since the data is indexed using the updatedb command (by cron) the results are very quick and the command does not have to scan through the filesystem to return the results.

There are plenty more advanced options via flags (such as following symbolic links, making search term case sensitive, and even using regexp).  See the man page for details on how each of these options work.  Play around with locate and see what you can do!  It’s a powerful and quick search command!

Related posts:

  1. Backup Directories and Subdirectories Preserving File Structure I needed a quick way to backup my small music...
  2. Convert PNG to GIF via Command Line I installed a bare bones Arch Linux system today and...
  3. Installing Openbox on Foresight Linux My friend Og Maciel originally introduced me to Openbox a...

Related posts brought to you by Yet Another Related Posts Plugin.

Finding Files with locate originally appeared on Yet Another Linux Blog on September 7, 2010.


Categories: Computers

Ubuntu 10.10 beta review

LXer - Tue, 2010-09-07 12:05
Judged on its own merits, the Ubuntu 10.10 beta is a solid and consumer-friendly release. Looking at it in the light of the 10.04 Long Term Service (LTS) release from the Spring, it seems a very modest update…
Categories: Computers

How To Set Up Apache2 With mod_fcgid And PHP5 On Ubuntu 10.04

LXer - Tue, 2010-09-07 11:01
This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on Ubuntu 10.04. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user.
Categories: Computers

Four ways to get the most from your 802.11n Wi-Fi

Steven J Vaugn - Tue, 2010-09-07 09:46
In theory, 802.11n can zip by your 100Mbps Fast Ethernet at a real-world 160Mbps, but the practice it’s usually much slower. No, the Wi-FI vendors aren’t lying; the problem is that you have to set 802.11n up just right to really get fast performance. First, you need to make sure that you’re using up-to-date 802.11n [...]


Categories: Computers

Wine 1.3.2 Released

LXer - Tue, 2010-09-07 06:26
The Wine development release 1.3.2 is now available. The source is available now, Binary packages are in the process of being built, and will appear soon at their respective download locations.
Categories: Computers

Could Oracle fracture open source community?

LXer - Tue, 2010-09-07 05:29
An Oracle was a person or agency considered to be a source of wise counsel or prophetic opinion. How can that particular definition be applied to Oracle the company? It can't. In fact I would claim that Oracle, the company, is quite the opposite of "wise" or "prophetic".
Categories: Computers

Previewing and tweaking Ubuntu 10.10

LXer - Tue, 2010-09-07 04:32
If a quick test of the beta by LinuxTrends is any indication, this new Ubuntu version could be the most user-friendly, full-featured desktop Linux distribution ever.
Categories: Computers

PCI DSS Standards 2.0 Means Good News For Linux Xen VPS

LXer - Tue, 2010-09-07 03:35
Of the 12 new changes to the standards, the best part of the new PCI DSS rules is a change to rule 2.2.1, which specifically allows for virtualization. Such as using a VPS running Linux with Xen.
Categories: Computers

This week at LWN: Systemd and Fedora 14

LXer - Tue, 2010-09-07 01:56
Systemd, an alternative to Upstart or System V init, has made big strides since it was announced at the end of April. It has been packaged for Fedora and openSUSE, and for users of Fedora Rawhide, it gets installed as the default. There are still bugs to be shaken out, of course, and that work is proceeding, especially in the context of Rawhide. The big question is whether Fedora makes the leap to use systemd as the init system for Fedora 14.
Categories: Computers

Why our Internet2.0 is broken

LXer - Tue, 2010-09-07 01:01
This artcile provides insight on how and why our current Internet-2.0 and cloud based applications are a worse compting platform than even the worse tyrants of the closed source software vendors. The article then suggests a model that promotes open data access and cloud services co-operation instead of today's status where the biggest cloud vendors are in a "lockin competition"
Categories: Computers

Wave open source next steps: "Wave in a Box"

LXer - Tue, 2010-09-07 00:02
Since the announcement that we will discontinue development of Google Wave as a standalone product, many people have asked us about the future of the open source code and Wave federation protocol. After spending some time on figuring out our next steps, we'd like to share the plan for our contributions over the coming months.
Categories: Computers

Fair, Reasonable And Non-Discriminatory...Ain't

LXer - Mon, 2010-09-06 23:11
One of the inescapable facts of free software is that it involves a lot of law - far more than innocent hackers might expect when they settle down for a light bit of coding. That's in part because it is built on the foundation of licences like the GNU GPL, which depend upon copyright for their efficacy (although that doesn't mean that free software couldn't survive without copyright - see my earlier discussion of this point with Richard Stallman.) Unfortunately, it's also because software is impacted by the surreal world of patent law, which seems to spend most of its time considering how many angels can dance on the head of a pin, and what exact rhythms they are tapping out with their angelic plates of meat.
Categories: Computers

More GPL enforcement work again.. and a very surreal but important case

LXer - Mon, 2010-09-06 22:13
Right now I'm facing what I'd consider the most outrageous case that I've been involved so far: A manufacturer of Linux-based embedded devices (no, I will not name the company) really has the guts to go in front of court and sue another company for modifying the firmware on those devices. More specifically, the only modifications to program code are on the GPL licensed parts of the software. None of the proprietary userspace programs are touched! None of the proprietary programs are ever distributed either.
Categories: Computers

HeliOS Store Opens to Fund The HeliOS Project

LXer - Mon, 2010-09-06 21:07
On top of the busiest time we've ever encountered, we need to move from our current digs. On September 18th, we are having a recycle day out at our shop in Lakeway. We tentatively have a Boy Scout troop coming out to help but that is not yet nailed down. If you have some time to come out and help us sort through the mountain of stuff to get recycled, I would appreciate your participation. So, as you all know, this is going to cost us some money. Instead of just posting our current needs, we've decided to open a store of sorts to raise the money we need. We have some cool and useful stuff and more will be added in the next two weeks.
Categories: Computers

Backports now an official Debian repository

LXer - Mon, 2010-09-06 19:45
Every Linux distribution has to strike a balance between being up to date and being stable, between including the latest versions of software packages and retaining better tested, more mature versions. Fedora, for example, is known for having the very latest software, whilst Debian GNU/Linux has a reputation for being a particularly stable distribution, with the software included in each new release already well cured.
Categories: Computers

Linux DWG - Bricscad v10

LXer - Mon, 2010-09-06 18:47
It happened today... Bricsys released the official version of bricscad V10. No long in beta stage is now commercial with version 10.6.3-2 (windows version is 10.4.18-1). So now Linux users have a CAD software capable of handling DWG file format. Now there is no excuse to stay with windows just because you need Autocad. Bricscad is a very capable software and in many case can do better.
Categories: Computers

Diaspora coming

LXer - Mon, 2010-09-06 17:50
It's probably not true to say that everybody hates Facebook. But there are many millions (of the hundreds of millions that use the site) that claim to hate Facebook's cavalier approach to privacy and founder Mark Zuckerberg's equally vague approach to the future of our privacy. There are even groups dedicated to encouraging users to leave Facebook (some on Facebook itself, ironically).
Categories: Computers

Google Talk #1 – All about App Engine with Google’s Fred Sauer

LXer - Mon, 2010-09-06 16:53
In the first of a series of three exclusive interviews about Google’s latest and greatest developer tools, Linux User & Developer talks App Engine with Google’s Fred Sauer…
Categories: Computers

HeliOS Store opens to fund the HeliOS Project

Helios Blog - Mon, 2010-09-06 16:17
I don't know why it took me so long to get this rolling...part of it was the logistics, the other part was just being slammed with work.  Some recent and significant publicity gained us a ton of great equipment donations.

It also caused a huge influx of requests for computers.  But we have that handled, at least for now.

On top of the busiest time we've ever encountered, we need to move from our current digs.  On September 18th, we are having a recycle day out at our shop in Lakeway.  We tentatively have a Boy Scout troop coming out to help but that is not yet nailed down.  If you have some time to come out and help us sort through the mountain of stuff to get recycled, I would appreciate your participation.

So, as you all know, this is going to cost us some money.

Instead of just posting our current needs, we've decided to open a store of sorts to raise the money we need.  We have some cool and useful stuff and more will be added in the next two weeks.

We recently received a huge donation from Dell.  It wasn't computers or monitors but boxes and boxes of stuff we probably will never use.  But that's not to say that it isn't valuable to someone else.  With that in mind, The HeliOS Project has established a presence on Amazon and Ebay.  Since Ebay and Paypal are joined at the hip, our preferred way of doing business is through Amazon.

I despise Paypal and their horrible business practices but they are a necessary evil for many so I held my nose and had Diane set up a store on Ebay.  However, I will only talk about the Amazon store and let you know what we have.  Some of it is pretty cool stuff.  You can click the appropriate links to see about each of the items.  Make sure the one you click is being offered by The HeliOS Project.





Belkin Surge Protectors:  When we got the 9 pallets of the Dell donation into our warehouse, we found boxes and boxes of these.  Most are 9 or 10 outlet protectors.  These have the phone/cable/LAN protectors included in the build.  They were all used for Dell kiosk openings but you know how long those lasted...about as long as it takes to order a cup of coffee at Starbucks.





Dell 2216 PowerConnect 10/100 Switches.  We have a few of these as well.  Some have minor surface scratches but are all tested and work.  We're offering a pretty good price on these but we only have about 20 of them so it's first come first served.


Aten 4 port DVI Video Splitter:  This is probably a special-use item but we have 7 more of them and Aten makes the top-of-the-line model.  These allow you to show what you have on your computer or projector on 4 other monitors or screens.  They sell new for 300-400 dollars but because they are used, we are letting them go for a fraction of that.

Dell Multimedia Keyboard:  We took enough to last us the next three years, based on the past two years numbers and are offering the rest for sale.  What surprised me most about these keyboards was that the function keys actually open what they are supposed to open in Linux.  The home button opens Nautilus or Konqueror, the mail opens whatever client you have installed, (tested on Evolution, T-bird and Claws) and the sound knob works to adjust your system volume.  We've cleaned these inside and out and they all test to work perfectly.


 Laptop RAM - DDR2 PC5300  When we did our bi-weekly pickup at I-Tech Electronics, we found half a shoe box full of donated DDR2 PC5300 laptop RAM.  This is great RAM but honestly, we've only just begun getting laptop donations that take this DDR2.  Most of the laptops we get still demand DDR PC2100, 2700 and 3200.  I don't think you'll find a better deal on used RAM.  We will test each piece as we get the shipment order.



We still have several HeliOS Project t-shirts available for sale at 12.00 per shirt.  Contact Skip Guenter at skip at skipsjunk dottt net to make sure he has your size and color. 


At any rate, thanks for looking at what we have.  If you rather deal with Ebay, email me as stated below and I will send you the links.  If you want to be updated on new items, email me via the contact us page at http://www.heliosinitiative.org and let me know.

And as always...thanks for helping us do what we do.

All-Righty Then

Categories: Computers
Syndicate content