67 posts tagged with shell.
Displaying 1 through 50 of 67. Subscribe:

Remove empty folder in bash script?

I need help with a bash script removing empty folders after it completes. I have no idea what I'm doing! Details within. [more inside]
posted by bluecore on Nov 3, 2016 - 9 answers

What is this shooty thing?

What is this old artillery-shell-type thing that I bought at a flea market? Side view; underside view. [more inside]
posted by escape from the potato planet on Sep 13, 2015 - 11 answers

Shirts for wearing with cardigans/blazers?

Fall closet turnover has uncovered a bunch of cardigans and blazers I rarely wear because I don't know what to put under them. Can you please show me specific examples of what to pair with them, and (bonus) how to incorporate scarves? [more inside]
posted by MonkeyToes on Sep 12, 2015 - 16 answers

Can you help me find this shell script?

Several years ago, I created a shell script (or Bash or I don't know what) that establishes a secure shell proxy connection to my home router when I type a short command into Mac OS X's Terminal. Now, I need to edit that script, but I can't find it for the life of me. I've tried searching on likely names looking at both visible and invisible files. I've tried searching for content that I know must be part of the script, but nothing comes up. Rather that executing a command, is there a way to open it in a text editor or display the actual script if I don't know the location of the file on my computer? Is there any other way I could go about finding this? Is there a location that whatever guide I was following would have suggested I save this script? I tried looking in usr/bin but nothing in there seems likely.
posted by willnot on May 5, 2014 - 6 answers

Make My New Smart Phone Stylish AND Durable

Good news, everybody! I got a new Moto X smart phone, and now I want to make it as stylish and durable as possible. What's the best compromise between keeping it protected and making it look good? [more inside]
posted by brisquette on Jan 31, 2014 - 4 answers

DIY DSL shell?

I'd like to build a domain specific language for analyzing fantasy football data. Preferably, with a shell like interface. Something analogous to Jira's JQL or python. Or maybe something like the visualization scripting in Graphite? [more inside]
posted by butterstick on Oct 20, 2013 - 6 answers

Hollow Earth Physics

Until last night I was unaware that the hollow earth conspiracy was a thing. Since then, I've been driven crazy by trying to imagine the physics of it. What would gravity be like on a shell planet? Details about the exact setup within. [more inside]
posted by odinsdream on Aug 17, 2013 - 25 answers

How can I script changes to a few hundred files

I have a few hundred text files, all in the same directory , each of which contain a single line of text that looks like so: string OR string OR string ... OR string OR I need to add "EID(" to the beginning of each file, and replace the last "OR " with a ")" I am on a Mac and am fine with Terminal- it is how I got this far. At this point though, I am totally failing at getting the right awk or sed to make this happen. Hope me? [more inside]
posted by rockindata on Aug 15, 2013 - 6 answers

David Letterman's tortoise shell frames

Helllp - wtf are these frames? I can't find them anywhere. Any help is appreciated. There are a few similar styles but I can't find the exact make/model.
posted by tgov27 on Mar 18, 2013 - 3 answers

gimme shellter

Is eating peanut shells on a regular basis a bad idea? [more inside]
posted by threeants on Jan 25, 2013 - 8 answers

Stinky turtle bits

How do I preserve this stinky turtle carapace? [more inside]
posted by txmon on Nov 27, 2012 - 6 answers

Wet dog smell, bad. Dewy oriental rose, good.

Can you recommend a ladies' raincoat that won't make me sweat? [more inside]
posted by halogen on Oct 31, 2012 - 18 answers

Help me not stick out in my rain jacket.

Men's outdoor clothing: respectable-looking rain shell? Help me find something that doesn't look so "technical," in a subdued color, and still works as a layer. [more inside]
posted by wnissen on Feb 5, 2012 - 11 answers

Dead MacBook = Minecraft server? Robot brain?

What fun things could I do with my old 15" MacBook Pro whose graphics chip just kicked the bucket? [more inside]
posted by Bengston on Jan 21, 2012 - 7 answers

Scripting exercises and tech interview theory?

Help me prep as an applicant in an imaginary interview for a junior programming position centered around Linux shell scripts, PHP, and Python, with an emphasis on processing text and URLs (availability, routing, etc). [more inside]
posted by jsturgill on Oct 17, 2011 - 10 answers

Shell script filename pattern matching help

Another shell script help needed post [more inside]
posted by dukes909 on Sep 26, 2011 - 8 answers

xterm / bash weirdness?

Weird Unix terminal issue where yer trying to up arrow through bash history and it looks messed up, right? [more inside]
posted by xmutex on Sep 21, 2011 - 11 answers

Need a shell script to filter out directories

Shell gurus needed! I need a line/script that will create a list of all sub-folders within a folder that do not contain files with a certain filename pattern. There is an additional requirement...(more inside) [more inside]
posted by dukes909 on Aug 10, 2011 - 12 answers

Scripts for enforcing naming conventions?

I'm trying to find scripts to help my studio follow naming conventions. [more inside]
posted by jragon on May 1, 2011 - 12 answers

Snap-on shell case for MSI U230?

Snap-on shell case for MSI U230? [more inside]
posted by jiawen on Apr 2, 2011 - 2 answers

How do I use awk inside my Automator workflow?

The Mac OS X Automator tool lets me run a perl script as well shell scripts, but I'd like to use awk instead. How can I fit this into my workflow? Perl appears in the popup menu of possible shells for the script, but awk does not. [more inside]
posted by maniabug on Jan 9, 2011 - 4 answers

Is there a tool to help me consolidate all these image files?

MacFilter: Looking for a program or shell script that will allow me to quickly and easily scan my computer (Mac) for duplicates of images and consolidate them so that aren't redundant copies taking up space everywhere. [more inside]
posted by Bengston on Oct 26, 2010 - 3 answers

Should I pay extra for Shell gasoline?

How much to gasoline detergents matter? [more inside]
posted by Roman Graves on Jul 28, 2010 - 13 answers

Help Me Automatically Shorten Status Updates for Facebook/Twitter Updates ...

I'm seeking to write a shell script (probably using sed) that will be given some text and will abbreviate it for me. I've no need to reinvent the wheel, if such a shell script already exists. More inside. [more inside]
posted by WCityMike on Jul 26, 2010 - 6 answers

Who's got the focus?

On MacOS, I can say osascript -e 'set myapp to name of (info for (path to frontmost application))' to print the name of the program that currently has focus, in a way that's useful for shell scripting. How can I get the same information in a graphical session on Linux?
posted by fantabulous timewaster on May 12, 2010 - 21 answers

how to professionally cover up my unprofessional stickers

Are there any shell cases for (older) Macbook Pros that aren't translucent? [more inside]
posted by sarahj on Apr 30, 2010 - 6 answers

How do I merge two lists with different sort methods?

How can I merge two directory trees, one arranged "Last, First", the other arranged "First Last"? [more inside]
posted by nomisxid on Apr 22, 2010 - 5 answers

Mobi, the golden calf

How can I use ruby/shell scripts to edit a .mobi file for my Kindle? [more inside]
posted by jacob on Mar 3, 2010 - 2 answers

I want to incorporate...So what's the deal with holding and shell companies?

I want to incorporate...So what's the deal with holding and shell companies? [more inside]
posted by emjay on Sep 21, 2009 - 12 answers

Severe mac/python question

So I was fiddling with commands in the python interpreter via the Terminal. I ran this basically, and was messing with the help system. fileHandle = open ( 'test.txt', 'w' ) ; fileHandle.write (' asdasd^3 '); fileHandle.close(); And all of a sudden this application opened. Python shell is it's name, it has no icon. WTF is going on?
posted by emptyinside on Sep 18, 2009 - 3 answers

Great movie, awesome sunglasses

Where can I find Ryan Gosling's sunglasses in Half Nelson? [more inside]
posted by Groovytimes on Aug 14, 2009 - 5 answers

Shell script handling CSV columns

I'm using a shell script to handle some excel docs by converting to csv and reformatting it a little bit. I'm having some difficulty going on with the next part of the script. Some help would be great. :) [more inside]
posted by fightoplankton on Jun 10, 2009 - 11 answers

How to prepare snail shells for DIY jewellery?

How to prepare some snail shells that I got from the mountain so I can make some kind of basic jewellery from them? [more inside]
posted by tseo on May 25, 2009 - 2 answers

Windows kiosk for kids

I want to disable everything in Windows -- start menu, explorer, task bar, etc. etc., except for certain apps of my choosing, for a kiosk-style experience for my kids. [more inside]
posted by greensweater on Mar 3, 2009 - 14 answers

Stop Bash from getting ahead of itself...

Shell scripting quandry: running apt-get and then running a command that requires a apt-get installed package fails because bash doesn't wait for apt-get to finish... [more inside]
posted by tmcw on Dec 6, 2008 - 4 answers

Backspace doesn't go back under screen.

Can I make backspace work the same in a screen session as in a normal shell? [more inside]
posted by pompomtom on Oct 16, 2008 - 2 answers

How do I tell my Mac that I'm me?

Question about changing my terminal prompt (and other matters) in an OS X Bash shell. [more inside]
posted by grumblebee on Oct 15, 2008 - 3 answers

Best keyboard skin for Mac Air? Best shell?

Best keyboard skin for Macbook Air? Best shell case (not for carrying)? [more inside]
posted by jeffmacintyre on Aug 19, 2008 - 1 answer

Quicksilver-style completion in bash shell?

How can I get Quicksilver-style completion in the bash shell? [more inside]
posted by dmd on Jul 11, 2008 - 11 answers

looking for a decent windows terminal

I'm looking for an alternative to windows' CMD window/terminal. It isn't the shell itself that has me annoyed (although it stinks and monad is an improvement), but the terminal window. I'd love to have something like xterm or rxvt running- just the ability to resize the width of the window would be huge. [more inside]
posted by jenkinsEar on Jul 10, 2008 - 13 answers

How to delete long path names with bash shell script?

BASHFilter! I've got a simple bash script that I've written to clean out a frequently used NAS. I run it every 30 days, it sets proper permissions, removes extraneous files and directories, but it frequently hangs on paths longer than 255 characters. [more inside]
posted by jackofsaxons on Jun 2, 2008 - 13 answers

Whats the best hard case for a Macbook?

I'm about to go backpacking for a while and need to take my MacBook 13". Can anyone recommend the best hard shell case you can get for it? [more inside]
posted by 6am on Feb 24, 2008 - 14 answers

how split a string in bash?

using bash, i need to split a variable in two, on whitespace, but with just the first word in one variable, and the rest in the second variable. this is a one liner with perl. how in bash? [more inside]
posted by jimjam on Jan 12, 2008 - 19 answers

which unix shell is best?

I have been using tcsh for a number of years now ( at least 12), and it seems that most OSes and most users have moved on to something better. Is there a reason for me to change, and if so, what is the best shell out there? ( main os is OSX 10.5, but use all sorts of linux/unix OSs ). [more inside]
posted by brent_h on Dec 25, 2007 - 25 answers

Bash, I command thee to always...

How do I get bash to automagically execute a line or two of code at login? [more inside]
posted by nakedcodemonkey on Oct 22, 2007 - 25 answers

What's the best way to shell ginkgo seeds?

What's the best way to shell ginkgo seeds? [more inside]
posted by NattyBumppo on Oct 14, 2007 - 4 answers

Help Me Morbidly Count Down the Remaining Days of My Life!

I would basically like to rip off, wholesale, some command-line script which will provide me a countdown -- only in days. No years, months, minutes, or seconds. Unfortunately, adapting an existing script is beyond my ken. [more inside]
posted by WCityMike on Sep 27, 2007 - 5 answers

Help improve my scripting skills

I wrote a shell script for an acquaintance that renames Macs (OS 10.4) based on their existing names. It works well, but I'm convinced my code could be more efficient. Where can I make improvements? [more inside]
posted by pmbuko on Aug 29, 2007 - 11 answers

System Wide Hotkey reporting tool for Windows?

Lots of programs allow you to create system wide hotkeys, or identify hotkeys in shortcuts, but what about a utility that reports what's already taken and what program owns it? [more inside]
posted by lasitter on Jul 4, 2007 - 1 answer

bourne shell == line noise

Please help me understand what this OS X shell script is doing. [more inside]
posted by Armitage Shanks on Mar 22, 2007 - 19 answers

Page: 1 2