Win a free GPS from Gadling!
Posts with tag curl

ssh on iPhone

Over at the #iphone channel at irc.osx86.hu, the thoroughly awesome NerveGas has figured out how to enable ssh on the iPhone without using restore mode. The secret lies in overwriting an existing binary and plist to trick the iPhone into calling chmod on the Dropbear ssh server and making it executable.

At this time, NerveGas has used Nightwatch's compiler to create iPhone-compatible versions of curl and ps as well as a number of other useful Unix utilities. (He's working on grep, as I write).

So what does this mean? Well, once you've got ssh installed on your iPhone and active, you can access your iPhone from a shell on your Mac. You can send and retrieve files using scp or sftp. And you can use the compilation toolchain to build other Unix utils or even your own software. It's just a short matter of time until perl and other command-line utilities are iPhone-ready.

Continue reading ssh on iPhone

Monday man page: curl


Today's man page covers one of my favorite utilities: curl. No, it's not a haircare product -- it's one of the most flexible download tools in the kit bag, with the ability to handle almost any protocol that can be addressed via a URL (hence the name, short for "client for URLs"). If there's a server out there that's reachable via HTTP, HTTPS, FTP, SFTP, SCP, and lots of other alphabet soup, curl can talk to it.

curl http://www.tuaw.com/2007/03/05/monday-man-page-curl/ -- display the source of this very article in Terminal
curl ftp://ftp.panic.com -- list the contents of a remote FTP site, in this case one with a pretty good FTP client
curl -o ~/Desktop/curl-man.html http://curl.haxx.se/docs/manpage.html -- copy the curl manpage to your desktop; if you use capital -O, the local file mirrors the remote filename

curl has an excellent usage manual at its site, detailing examples of use and advanced techniques. While there are zillions of ways to use curl in site testing, analysis and uploading, my favorite way of using it is as a quick file downloader. Read on for the details.

Continue reading Monday man page: curl

TUAW Features

iphone app store tuaw tests
Mac 101 ask-tuaw
Mac News
WWDC (251)
.Mac (64)
Accessories (639)
Airport (75)
Analysis / Opinion (1358)
Apple (1659)
Apple Corporate (561)
Apple Financial (190)
Apple History (48)
Apple Professional (54)
Apple TV (162)
Audio (447)
Bad Apple (120)
Beta Beat (152)
Blogging (85)
Bluetooth (17)
Bugs/Recalls (56)
Cult of Mac (873)
Deals (219)
Desktops (115)
Developer (262)
Education (99)
eMac (10)
Enterprise (139)
Features (403)
Freeware (386)
Gaming (376)
Graphic Design (33)
Hardware (1286)
Holidays (37)
Humor (578)
iBook (65)
iLife (235)
iMac (184)
Internet (334)
Internet Tools (1321)
iTS (977)
iTunes (814)
iWork (22)
Leopard (370)
Mac mini (112)
Mac Pro (53)
MacBook (202)
MacBook Air (79)
Macbook Pro (220)
MobileMe (35)
Multimedia (445)
Odds and ends (1449)
Open Source (279)
OS (915)
Peripherals (210)
Podcasting (182)
Podcasts (91)
Portables (197)
PowerBook (135)
PowerMac G5 (50)
Retail (594)
Retro Mac (48)
Rig of the Week (42)
Rumors (633)
Software (4344)
Software Update (417)
Steve Jobs (252)
Stocking Stuffers (50)
Surveys and Polls (97)
Switchers (112)
The Woz (34)
TUAW Business (242)
Universal Binary (281)
UNIX / BSD (61)
Video (905)
Weekend Review (83)
WIN Business (47)
Wireless (85)
Xserve (39)
iPhone/iPod News
iPhone (1617)
iPod Family (2064)
App Store (80)
SDK (19)
Mac Events
One More Thing (27)
Liveblog (1)
Other Events (226)
Macworld (489)
Mac Learning
AppleScript (3)
Ask TUAW (103)
Blogs (85)
Books (26)
Books and Blogs (62)
Cool tools (445)
Hacks (464)
How-tos (486)
Interviews (44)
Mods (187)
Productivity (590)
Reviews (112)
Security (156)
Terminal Tips (59)
Tips and tricks (567)
Troubleshooting (168)
TUAW Features
iPhone 101 (33)
TUAW Labs (3)
Blast From the Past (17)
TUAW Tips (144)
Flickr Find (36)
Found Footage (86)
Mac 101 (94)
TUAW Interview (31)
Widget Watch (198)
The Daily Best (1)
TUAW Faceoff (5)

RESOURCES

RSS NEWSFEEDS

Powered by Blogsmith

Sponsored Links

The Unofficial Apple Weblog (TUAW) bloggers (30 days)

#BloggerPostsCmts
1Cory Bohon854
2Robert Palmer5939
3Steven Sande5423
4Dave Caolo480
5Mat Lu4211
6Scott McNulty330
7Erica Sadun323
8Mike Schramm221
9Brett Terpstra201
10Michael Rose1329
11Giles Turnbull80
12Christina Warren722
13Chris Ullrich30
14Joshua Ellis23
15Kent Pribbernow10
16Jason Clarke10

Featured Galleries

Macworld 2008 Keynote
Macworld 2008 Build-up
Apple Vanity Plates
DiscPainter
Crash Bandicoot Nitro Kart 3D
Macworld Expo 2007 show floor
Apple Texas Hold 'Em
The Macworld Faithful in Line
iPhone First Look

 

    Most Commented On (7 days)

    Recent Comments

    More Apple Analysis

    More from AOL Money and Finance

    Other Weblogs Inc. Network blogs you might be interested in: