Now on ScienceBlogs: HeartlandGate: Anti-Science Institute's Insider Reveals Secrets

ScienceBlogs Book Club: Inside the Outbreaks

Greg Laden's Blog

Evolution, Life Sciences, Science Education, Human Evolution, and Stuff

Darwing_Face.jpg Learn more about Charles Darwin and his work.

Hornbill170.jpg Looking for stuff about birds?

Lion_mane170.jpg Lean more about lions

Congo_sidebar.jpg An archaeological expedition to the Congo


The Skeptical Search Engine


Nature Blog Network
Climate Defense Fund


The contents of Greg Laden's Blog are copyrighted by Greg Laden.

Recent Comments

Search

Profile


Click on "About" for the big picture, and "Archives" for the details.


Recent Posts

Blogroll

If you don't see yourself on my blogroll, just drop me a line and let me know. I'll add you.*
*Assuming that I'm on your blogroll, of course!

Archives

« The loudness of coffee shops | Main | Newsflash: World Accepts Darwinism »

File sharing between Windows, Linux and Macs (Samba)

Category: Linux
Posted on: July 7, 2009 5:26 PM, by Greg Laden

This is indeed very easy to do.

Notice how "sudo gedit" lets you edit special secret powerful files that you should not be messing with.

Remember, Linux is not for everyone.

Share on Facebook
Share on StumbleUpon
Share on Facebook
Find more posts in: Technology

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/113660

Comments

1

I think I'm in love...

Only, who uses workgroups in a windows environment? Domain! (Samba does work with Domains though)

Posted by: jj | July 7, 2009 7:59 PM

2

I dunno, nerdy pickup lines work great with me.

Sigh. So smart, yet she doesn't know about tab completion. (Or isn't using it in her videos.)

While you're typing in the terminal, if there's only one possible "completion" to what you're typing, hit tab. For example, say you want to edit a file named doodlyboppers.txt in Nano, and in the same folder as you're currently in. You'd type:

nano doodl
then hit .

It would complete it to:
nano doodlyboppers.txt

Or, say, you had other files like doodles.jpg, you could hit tab twice, and it would display all the files that start with "doodl" in that folder. Keep typing until it's unique, then hit tab. It will also auto-type up until where it doesn't know which file you're typing -- say those are the only two D files in your folder, and you type:

nano d
It'll complete to:
nano doodl

She could have typed:
sudo gedit /esams
and would have gotten:
sudo gedit /etc/samba/smb.conf

Though, the terminal isn't for everyone. Being that most people are weened on GUIs.

Posted by: Jason Thibeault | July 7, 2009 8:17 PM

3

ok but how do I share an entire external drive?

Posted by: Jafafa Hots | July 8, 2009 1:26 AM

4

Jafafa: just make sure in /etc/samba/smb.conf that there's an entry that points to the mounted path to your drive. Say it automounts to /media/usbdrive:

[sharename]
comment = External USB Drive
path = /media/usbdrive
guest ok = yes


Previous tab completion post:
Oops. All my [tab] keys were stripped as HTML as I stupidly used pointys.

nano doodl
then hit [tab].

It would complete it to:
nano doodlyboppers.txt

Or, say, you had other files like doodles.jpg, you could hit tab twice, and it would display all the files that start with "doodl" in that folder. Keep typing until it's unique, then hit tab. It will also auto-type up until where it doesn't know which file you're typing -- say those are the only two D files in your folder, and you type:

nano d[tab]
It'll complete to:
nano doodl

She could have typed:
sudo gedit /e[tab]sam[tab]s[tab]
and would have gotten:
sudo gedit /etc/samba/smb.conf

Posted by: Jason Thibeault | July 8, 2009 6:28 AM

5

Jason: Wouldn't it be cool if the tab key could be activated with an eye movement? Then you could just glare at the screen and stuff would happen.

Posted by: Greg Laden | July 8, 2009 10:17 AM

6

http://www.bloomberg.com/apps/news?pid=20601087&sid=aTd2k.YdQZ.Y

"Microsoft has stepped up its efforts in the netbook market. It said in May it plans to remove a restriction of running three applications at a time on its forthcoming Windows 7 Starter Edition, which is designed for netbooks."

Oh how very kind of them! Wonderful...

Posted by: 386sx | July 8, 2009 11:40 AM

7

A three app limit? HTF does that work? What is an app under those circumstances? Is a file browser an app? A virus checker? A network interface thingie? A windowing system? A keyboard translation utility? A hardware abstraction system? A viceo rendering system? Drivers? The system would shut down during bootup.

But seriously, even with some way (that can't really work all the time) of sorting out "apps" from "whatever" ... you are using a spreadsheet, and writing a report in a word processer. You are borrowing soe images from a power point presentation you've got open. And suddenly you realize you have to check your email, or you want to stick a post-it note on your screen, or the iTunes watcher realized that there may be an upgrade for your iPod so it opens up iTunes.

How do ou get punished when one of these things happen? The paper clip pops out of your computer and beats you up?

Unbelievable.

Posted by: Greg Laden | July 8, 2009 11:47 AM

8

I guess they're becoming the "crippleware" oriented operating system. Next up: Windows OS expiration dates. (Just kidding, but it wouldn't surprise anyone though.)

Posted by: 386sx | July 8, 2009 12:01 PM

9

386sx @8: they already have the technology for that, what with betas of their previous Windows'. And they're lustful over the profits of subscription services like WoW, and would love to get in on a "cloud OS" ASAP.

Greg @5: Doesn't Hawking have something like that? I ought to add it to my "must buy" geek toys list.

Posted by: Jason Thibeault | July 8, 2009 1:22 PM

Post a Comment

(Email is required for authentication purposes only. On some blogs, comments are moderated for spam, so your comment may not appear immediately.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.