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.

Comments

  1. #1 jj
    July 7, 2009

    I think I’m in love…

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

  2. #2 Jason Thibeault
    July 7, 2009

    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.

  3. #3 Jafafa Hots
    July 8, 2009

    ok but how do I share an entire external drive?

  4. #4 Jason Thibeault
    July 8, 2009

    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

  5. #5 Greg Laden
    July 8, 2009

    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.

  6. #6 386sx
    July 8, 2009

    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…

  7. #7 Greg Laden
    July 8, 2009

    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.

  8. #8 386sx
    July 8, 2009

    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.)

  9. #9 Jason Thibeault
    July 8, 2009

    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.