51 posts tagged with commandline.
Displaying 1 through 50 of 51. Subscribe:

>man grep

I’m trying to write a short shell script for Mac OS X that will disable CoreStorage. To do this I need to capture the first Logical Volume UUID (lvUUID) from the output of "diskutil cs list" and use it in an ensuing command. I am having trouble though and it seems to be a simple issue with grep. Obviously still pretty new to the command line. [more inside]
posted by churl on Feb 18, 2015 - 14 answers

How can I turn a text file into a bunch of images using imagemagick?

Say I have a text file with short lines of text (e.g. License plate numbers or radio call letters). I'd like to use imagemagick to convert this text file to a folder full of images of said text, with each line from the text file being a separate image. Preferably, I'd like the output to be named with the content. What are the magic command-line words to make this happen? [more inside]
posted by brentajones on Jun 17, 2014 - 4 answers

Editing data in a unix/linux pipeline by hand

I am looking for a command line tool that will let me edit data in a shell pipeline by hand before sending it out again on STDOUT. [more inside]
posted by LiteOpera on Apr 12, 2014 - 3 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

Learn me some ImageMagick

I have MAMP on Mac OS Lion. I want to install the ImageMagick extension. I am trying to use these instructions, but am running into problems. [more inside]
posted by oulipian on Jun 15, 2013 - 21 answers

Mac: Mount ejected flash drive without reinserting

I have a nifty little USB thumbdrive that I want to use to make backups of various documents; it will live on the powered hub in my office, as I'll only need to use it in the office. It's something of a pain to unplug and re-insert every day, or every time I need to leave the desk with my laptop. After ejecting, the drive is no loger visible using diskutil on the command line, tho I can see it in the system profiler. Is there a way to have the system recognize the device and mount it whenever the Macbook wakes from sleep? I've got sleepwatcher installed, but I'm not certain how to get the system to recognize the USB device without unplugging it and plugging it back in. Shutting down and restarting the mac every time I want to leave my desk with it is not a viable option, either. I'm running 10.7.5 on a Core i7 15" MBP.
posted by Slap*Happy on May 20, 2013 - 10 answers

Linux CLI Filter: Complete Linux Command Line Book?

Is there a book (or a way to have one made) that would list all available Linux commands with options and what they mean for any shell I'm interested in learning? (Currently bash) [more inside]
posted by InsertNiftyNameHere on Mar 6, 2013 - 14 answers

Clearly too dumb to be doing this, Ubuntu wireless no worky

Wireless no longer working after upgrade to Ubuntu's Precise Pangolin. I've got just enough knowledge to be confused. Please explain what to do like I'm 5 years old. [more inside]
posted by fiercecupcake on Aug 26, 2012 - 9 answers

how to intelligently place a crop box

What command line tool should I be looking at for this slightly-intelligent batch image processing task? [more inside]
posted by brightghost on Jun 27, 2012 - 4 answers

3D texture mapping, or 2D image distortion?

Would learning a bit more about 3D wireframing/texture mapping improve the speed over a complicated ImageMagick distort? [more inside]
posted by rouftop on May 14, 2012 - 4 answers

Having trouble restoring Mac OS X system software

Please help me restore Mac OS on my wife's MacBook! I am pulling my hair out. [more inside]
posted by Dr. Wu on Apr 11, 2012 - 13 answers

The Library of Congress has my cheese sandwich

I'd like all my past, present and future Twitter activity to get saved to a text (csv or xml or whatever) file on Dropbox. I'd like to think about this as little as possible. What's my best bet? [more inside]
posted by These Premises Are Alarmed on Dec 30, 2011 - 6 answers

Command line basics for dummies

Need help auto-deleting folders clogging my SSD... [more inside]
posted by BobbyVan on Jul 3, 2011 - 8 answers

How to access other drive's contents on startup in Ubuntu?

How to access other drive's contents on startup in Ubuntu? [more inside]
posted by quaisi on Apr 10, 2011 - 13 answers

Why can't I delete these folders?

I'm unable to delete (apparently) empty folders from my Mac. Opening them grinds the system to a halt and even looking at them through the terminal nearly crashes the machine. [more inside]
posted by Hactar on Sep 13, 2010 - 11 answers

Help me OWN this shiny box.

I want to become a little more badass at using my computer and dip my toes into the command line and eventually a little programming. I've identified some benchmarks / goals. Any advice on how to start? [more inside]
posted by jlowen on May 2, 2010 - 13 answers

Where's my networking batches at?

Windows networking and batch scripting help. Paging all windows command line gurus! [more inside]
posted by gergtreble on Apr 24, 2010 - 5 answers

Adding commands to the command line

How do I create a shortcut to a command prompt window that will start a programme, with specific variables within the command prompt window? [more inside]
posted by Solomon on Apr 24, 2010 - 7 answers

What pitfalls should I keep in mind when adapting PHP scripts to run on the command line?

I'm trying to run some PHP scripts via the CLI instead of over HTTP. How do I make them play nice? [more inside]
posted by goodnewsfortheinsane on Mar 24, 2010 - 4 answers

Possibly the most specific -filter in recent memory

GUIDPartitionTableFilter: How can I non-destructively change a partition's filesystem type ID in OS X? [more inside]
posted by The Lurkers Support Me in Email on Dec 14, 2009 - 6 answers

Bash my files into shape.

My command line/scripting-fu is weak. Help me clean up and copy a lot of files without having to do it by hand? [more inside]
posted by sinfony on Nov 21, 2009 - 3 answers

How do I use the command line?

I am a soon-to-be high school senior interested in Java programming. I bought the Core Java Volume 1 book authored by Sun engineers. I believe I have unzipped, or decompressed, however it's said, the Library Source Code and Documentation using the command line. However, when I look at the folders using the GUI, the folder says it's still zipped. I'm a complete newbie at this who just recently learned about the existence of the command and read a little about how to use it on the internet. Can somebody help me?
posted by bookman117 on Aug 14, 2009 - 23 answers

Make me an IT hero!

I am wanting to automate a SFTP daily download. [more inside]
posted by cjorgensen on Apr 6, 2009 - 11 answers

Fixed-width Arabic fonts.

There are a couple fixed-width Unicode Arabic fonts out there. The ones I've seen are pretty hard on the eyes, though, especially at small sizes. Any suggestions for a really readable one? [more inside]
posted by nebulawindphone on Mar 21, 2009 - 5 answers

How to paste or pipe input to a Java command line program?

I have written a simple little Java program which runs on the command line, displays a text menu, and takes user input. I would like to feed it a very large amount of test input--as though an actual user were sitting there typing in commands all day. I am using Windows, but have access to the basic *nix utilities such as cat. "cat file.txt | java Program" doesn't work, nor does starting the program and using the context menu to paste in several lines of data. [more inside]
posted by anaelith on Mar 10, 2009 - 9 answers

Command-line video quandry

I have two synchronized 720x480 miniDV files. I have OS X 10.5.5. I want to render them side-by-side into a single webcast-resolution widescreen video (eventual target: Vimeo), preferably in a way that can be scripted/automated (so a command-line tool would be great). [more inside]
posted by Alterscape on Oct 14, 2008 - 4 answers

Uniq New York, Uniq New York

Why isn't GNU uniq 6.12 working as I expect? [more inside]
posted by Blazecock Pileon on Jul 17, 2008 - 3 answers

How best to take discreet private notes on a not so private computer?

I want software which will allow me to capture text thoughts at work, to a remote web location - quickly, discreetly and privately. [more inside]
posted by therubettes on Apr 24, 2008 - 41 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

OS X Command-Line Vieo Capture

I need to capture full-size/framerate DV + audio from a firewire source on OS X. That's the easy part. Controlling it from a script is the hard part. If this were Linux I'd use ffmpeg, but it isn't... [more inside]
posted by Alterscape on Sep 5, 2007 - 4 answers

MySQL Command Line Client: editing lines of a multiple line statement?

Very very very stupid MySQL command line client question: how do I edit an earlier line of a multiple line statement? [more inside]
posted by Lentrohamsanin on Jul 27, 2007 - 8 answers

Where is the "Command Line"

I'm not so good with the computer. The info on a program I want to run says: "Run from the Command Line." What is a command line, and how do I find this mythical place? [more inside]
posted by wtfwjd? on Jun 11, 2007 - 14 answers

Integrating the output of 2+ programs?

I am trying to find a way to generate a CSV table based on output from two or more command line programs (DOS on Windows XP). [more inside]
posted by nasreddin on May 23, 2007 - 7 answers

Keychain access via OS X cli

Is there any way to access one's OS X Keychain via the command line? [more inside]
posted by action man bow-tie on Oct 17, 2006 - 4 answers

Emacs and OSX should play nicer

How can I make my Mac Emacs experience approximate my Linux one? [more inside]
posted by ChrisR on Oct 1, 2006 - 12 answers

Help Enabling 'mail' in the Mac OS X command line ...

In need of "The Complete Idiot's Guide to Enabling/Getting the 'Mail' Unix Command to E-Mail You Stuff, for Complete and Utter Dummies." [more inside]
posted by WCityMike on Sep 20, 2006 - 3 answers

Opening pages in IE from the command line

I'm writing a (perl) script that opens up files in IE. I'm having problems getting them to open in the current IE window and not a new window. [more inside]
posted by inkyz on May 25, 2006 - 5 answers

Consolidating several files in folders to one folder?

How do I consolidate files in several folders into one folder? [more inside]
posted by jasmeet on Mar 24, 2006 - 7 answers

How to capture audio streams?

Does anyone know a command line program that will dump real media and/or windows media audio streams to a file (on a windows PC)? [more inside]
posted by ascullion on Feb 18, 2006 - 15 answers

Monitoring disk usage on a BSD box

Is there something like Spacemonger for FreeBSD? [more inside]
posted by blag on Feb 12, 2006 - 9 answers

Command Line Video Editing?

I'm looking for a tool which will allow me to cut MPEG2's from the command line (or programmatically otherwise). Either Windows or Linux/BSD. I've looked through a bunch of programs found via Google, but none seem to work without their GUI's. Bonus if the MPEG2 streams are cut at the GOP marker or if it re-encodes the GOP's at the cuts. Otherwise it'll get messy. Free is preferred, but pay would be fine too as long as it works.
posted by voidcontext on Feb 11, 2006 - 10 answers

Programmatic iTunes library mods

I'm looking for some kind of library for reading and writing from the iTunes database. [more inside]
posted by ChrisR on Feb 4, 2006 - 7 answers

Screenshots. Video. Linux. Commandline.

Screengrabs from video from the command line? [more inside]
posted by soma lkzx on Jan 10, 2006 - 4 answers

Notify my OS X computer's screen when jobs are done!

How can I use scripting/OS X hacks to notify me in a sweet manner when jobs on remote machines complete? [more inside]
posted by onalark on Oct 15, 2005 - 17 answers

Directory listing in OSX output to text file.

How to list the contents of an OSX directory, and output to text file? [more inside]
posted by Jack Karaoke on Aug 20, 2005 - 15 answers

Command line colors

Color in the Linux command line. My slackware 10 system uses contextual color for directory browsing, my RedHat 9 system uses it for vi. Both uses of color make life easier for me, but the difference between the two systems does not. Is there an easy way I can get both computers to use these colors? [more inside]
posted by caution live frogs on Feb 28, 2005 - 15 answers

Is there any easy command or application that will randomise lines in a text file?

Is there any easy command or application that will randomise lines in a text file? [more inside]
posted by humuhumu on Nov 12, 2004 - 11 answers

Linux Command Line

I'm looking for a command line program for linux, that will take screenshots / screengrabs of webpages automatically ... [more inside]
posted by ajbattrick on Oct 15, 2004 - 12 answers

Looking for a one-line command (or a batch file) that uploads a specific file to a specific ftp server.

I'm looking for a one-line command (or a batch file) that uploads a specific file to a specific ftp server.
posted by Tlogmer on Aug 25, 2004 - 14 answers

Can a network connection be killed from the XP command line?

Can a network connection be killed from the command line in Windows XP?
posted by plexi on Aug 19, 2004 - 12 answers

Page: 1 2