10 posts tagged with unix and shell. (View popular tags)
Displaying 1 through 10.

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

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

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

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

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

Calling all shell script gurus! Help me write a command that performs an action on items in a list in parallel (as opposed to sequentially). [more inside]
posted by pmbuko on Dec 12, 2006 - 7 answers

*nix shell "best practices" anyone? [more inside]
posted by furtive on May 31, 2006 - 9 answers

Calling *NIX shell wizards. [more inside]
posted by ori on Dec 11, 2005 - 33 answers

Korn Shell Filter: I have a list of time ordered files, with Julian day of year as part of the filename. There is not a file for every Julian day. If I grep on a directory listing for file *{DOY}*, and that file does not exist, I would like my script to be smart enough to use the file immediately preceding it in the listing, even if the preceding file is not *{DOY-1}*. My Google-Fu has failed me. Any suggestions?
posted by Fat Guy on Nov 22, 2005 - 9 answers

datascrubbing: I'm using rm -R */*.gif (for example) to get rid of unnecessary files in a directory. There is stuff that's nested about five directories deep that I can't get to using the above command. I'm using the Bash terminal in OS X. specifically, there is a redundant file called "popup" nested in there that I want to get rid of, among others.

Second related problem: is there a way to recursively delete (full) directories, say ones that end in .blob using wildcards? And would I use rmdir or rm -R to do this?

I'm working on a copy of the original, so its ok to experiment a little
posted by mecran01 on Jul 16, 2004 - 18 answers